Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11, 5.12.1
-
-
06ec6340d0eff763e52135afabc13662b3892c43 (qt/qtdeclarative/5.12)
Description
Qt Creator's QML Profiler has a QML-based UI which is loaded when Qt Creator starts.
The first time the application launches, 22 .qmlc files are generated in the cache directory. On the second launch, 13 .qmlc files get regenerated/modified. The first and second versions have the same file name and file size, only a small difference...
The third and further launches of Qt Creator do not write/modify any qmlc files.
The first and second launches were done with clean settings pathes:
bin\qtcreator.exe -noload all -load QmlProfiler -settingspath c:\temp\cleanpath1 bin\qtcreator.exe -noload all -load QmlProfiler -settingspath c:\temp\cleanpath2
These are the concrete files which get written
First run: qrc:/tracing/TimelineText.qml qrc:/tracing/Detail.qml qrc:/tracing/ImageToolButton.qml qrc:/tracing/RangeDetails.qml qrc:/tracing/TimeDisplay.qml qrc:/tracing/RangeMover.qml qrc:/tracing/SelectionRange.qml qrc:/tracing/TimelineRulers.qml qrc:/tracing/RowLabel.qml qrc:/tracing/CategoryLabel.qml qrc:/tracing/TimeMarks.qml qrc:/tracing/TimelineLabels.qml qrc:/tracing/ButtonsBar.qml qrc:/tracing/TimelineContent.qml qrc:/tracing/SelectionRangeDetails.qml qrc:/tracing/Overview.qml qrc:/tracing/MainView.qml qrc:/tracing/ImageToolButton.qml qrc:/tracing/RangeDetails.qml qrc:/tracing/FlameGraphDelegate.qml qrc:/tracing/FlameGraphView.qml qrc:/qmlprofiler/QmlProfilerFlameGraphView.qml Second runs: qrc:/tracing/ButtonsBar.qml qrc:/tracing/TimelineContent.qml qrc:/tracing/SelectionRangeDetails.qml qrc:/tracing/TimeDisplay.qml qrc:/tracing/Overview.qml qrc:/tracing/TimelineRulers.qml qrc:/tracing/TimeMarks.qml qrc:/tracing/RowLabel.qml qrc:/tracing/CategoryLabel.qml qrc:/tracing/TimelineLabels.qml qrc:/tracing/MainView.qml qrc:/tracing/FlameGraphView.qml qrc:/qmlprofiler/QmlProfilerFlameGraphView.qml
I attached the two versions of the cache directory as qmlc_caches.zip.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-21894 Qt Quick based trace timeline viewer instantiated on IDE launch
- Closed
For Gerrit Dashboard: QTBUG-69340 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
253603,7 | Avoid unnecessary re-generation qml cache files in some circumstances | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |