ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06716
[Bug 1590953] [NEW] Creating an Audio {} component is slow because of AalMediaPlayerService::newMediaPlayer
Public bug reported:
I've traced down the creating of Audio items on the phone being slow
~200 ms for first creation
~50 ms for subsequent creations
to AalMediaPlayerService::newMediaPlayer
This is a bit too much if an animation in QML ends up creating an Audio
component the animation will be very slow.
Also it's added startup time for apps that use Audio components.
One way to debug how much time takes to create an Audio component by
running http://paste.ubuntu.com/17155068/ with
qmlprofiler -fromStart qmlscene -I . ~/main.qml --desktop_file_hint
=webbrowser-app
let it run for a while and then enter "q"+Enter
that will save a qtd file that you can load later with qtcreator in
Analize->QML Profiler Options->Load QML Profile
** Affects: qtubuntu-media (Ubuntu)
Importance: Undecided
Status: Confirmed
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtubuntu-media in Ubuntu.
https://bugs.launchpad.net/bugs/1590953
Title:
Creating an Audio {} component is slow because of
AalMediaPlayerService::newMediaPlayer
Status in qtubuntu-media package in Ubuntu:
Confirmed
Bug description:
I've traced down the creating of Audio items on the phone being slow
~200 ms for first creation
~50 ms for subsequent creations
to AalMediaPlayerService::newMediaPlayer
This is a bit too much if an animation in QML ends up creating an
Audio component the animation will be very slow.
Also it's added startup time for apps that use Audio components.
One way to debug how much time takes to create an Audio component by
running http://paste.ubuntu.com/17155068/ with
qmlprofiler -fromStart qmlscene -I . ~/main.qml --desktop_file_hint
=webbrowser-app
let it run for a while and then enter "q"+Enter
that will save a qtd file that you can load later with qtcreator in
Analize->QML Profiler Options->Load QML Profile
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1590953/+subscriptions