Details
-
Epic
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
None
-
qml_compile_speed
-
69254dfc9 (dev), 8d93ef622 (6.8), cdd961efc (dev), e2bb3c171 (dev), 15954ea4e (6.8), 2db05e18f (6.8)
Description
With Qt 6, we have more comprehensive QML tooling and build system support than we had with Qt 5:
- We automatically generate qmldirs
- We move files to other places so that tooling can find them in the correct places
- We automatically run qmlcachegen/qmlsc for better runtime performance
However, we have now received multiple reports about slow compilation speed and frustrating compilation speeds. This epic is about investigating and improving the situation.
An initial investigation should focus on:
- Which steps take the most time? Where are we actually spending time
- Does the above depend on the used generator?
- Does the above depend on the operating system?
- How much of the work we do can be parallelized? Do we have sequential bottlenecks.
Once the above has been done, we can fix deficiencies, and add knobs to configure trade-offs, like a setting to only run qmlcachegen in release builds.
Attachments
Issue Links
- relates to
-
QTBUG-125631 [ios] Regression QMake -> CMake: slow build time due to file copying and qmlcachegen
-
- Open
-
-
QTBUG-126205 CMake build takes 5x as long to build as qmake build
-
- Open
-
-
QTBUG-132903 Migrate various function to CMake DEFER
-
- Reported
-
- mentioned in
-
Page Loading...
Gerrit Reviews
For Gerrit Dashboard: QTBUG-128323 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
622081,13 | CMake: Enable building Qt and user projects without support for aotstats | dev | qt/qtdeclarative | Status: NEW | +1 | 0 |