Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.8.1
-
None
-
-
39eec848ceb57b4d1caa6ab3086f1c2d48f9cd9a (qt-creator/qt-creator/master)
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-69340 Second run of an application regenerates some qmlc files
- Closed
For Gerrit Dashboard: QTCREATORBUG-21894 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
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 |