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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1590953 Title: Creating an Audio {} component is slow because of AalMediaPlayerService::newMediaPlayer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1590953/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
