Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
None
-
8827af0fe (dev), f2889262c (dev), d18f6d694 (dev), 65d8be4b9 (6.8), 318ac4406 (dev), 4dab304ae (dev), 6a3e77125 (dev), 09f51978f (dev), 45c9d773e (6.8), cb52469a0 (6.8), 012f827c2 (6.8), c5676c854 (6.8), 7d36867bf (dev), 27cd91473 (6.9), 7b119f78e (6.8)
Description
Users generally would like to know whether the script compiler makes their code faster, and whether it's worth the longer compile times. That can't be answered without actual benchmarking. We can however provide some insights into what the Script Compiler is actually doing:
- Which/How many bindings and functions can actually get compiled?
- How much time was spent in the Script Compiler? Harder: How much in the compilation of the generated C++ code?
- Some statistics on reasons why we rejected bindings/functions – this might also help drive further development of the Script Compiler.
Given that the ScriptCompiler works per TU, we probably need an aggregation step as post-processing.
Lastly, and at a later point, the result could be used by the LSP to highlight compiled and non-compiled bindings differently.
Attachments
Issue Links
- split to
-
QTBUG-125995 Fix aotstats cmake support on Xcode
- Closed
-
QTBUG-126334 Visualize information collected by Script Compiler
- Reported
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-124667 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
557301,55 | Compiler: Record statistics about aot compilation | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
563469,20 | Compiler: Aggregate and print aotstats | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
598271,29 | aotstats: Rework cmake deferred calls | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
599034,31 | aotstats: Add integration test | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
599234,24 | aotstats: Keep track of files and modules with no functions or bindings | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
599328,21 | aotstats: Support --only-bytecode and modules with no qml files | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
599618,3 | CMake: Use module target as unique id for module aotstats | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
599890,2 | CMake: Use module target as unique id for module aotstats | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
602011,2 | aotstats: Rework cmake deferred calls | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
602012,3 | aotstats: Support --only-bytecode and modules with no qml files | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
602013,3 | aotstats: Keep track of files and modules with no functions or bindings | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
602014,2 | aotstats: Add integration test | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
612365,4 | Fix the aostats targets handling | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
614607,2 | Fix the aostats targets handling | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
614639,2 | Fix the aostats targets handling | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |