Creating an Audio {} component is slow because of AalMediaPlayerService::newMediaPlayer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtubuntu-media (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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 AalMediaPlayerS
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://
qmlprofiler -fromStart qmlscene -I . ~/main.qml --desktop_
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
Changed in qtubuntu-media (Ubuntu): | |
status: | New → Confirmed |
tags: | added: performance |
tags: | added: kpi |