When launching Qt Creator with the QML profiler plugin active (which it is by default). The Qt Quick based trace timeline viewer is initialized. Since it is Qt Quick and even Qt Quick Controls 1 based, the Profiler plugin(s) belong therefore to the slowest plugins during startup.
The timeline view should ideally only be loaded and instantiated when the respective analyzer is activated. And if at that moment it cannot be instantiated e.g. because OpenGL does not work, there should simply be a place holder instead of the timeline, stating that timeline could not be generated, with link to some trouble shooting website.
Of course one could argue that Qt Quick Instantiation is now fast due to the qml caching (which in Qt Creator builds does not happen ahead of time), and only the first run requires some extra time. But then there is
QTBUG-69340 which causes regeneration of the cache on the second run.
|For Gerrit Dashboard: QTCREATORBUG-21894|
|251088,3||QmlProfiler: Delay creation of views until activation||master||qt-creator/qt-creator||Status: MERGED||+2||0|
|251113,2||PerfProfiler: create views on demand||master||qt-creator/qt-creator||Status: MERGED||+2||0|