Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124667

QML Script Compiler should provide insights into what's compiled

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P2: Important
    • 6.8
    • None
    • QML: Compiler
    • None

    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

          For Gerrit Dashboard: QTBUG-124667
          # Subject Branch Project Status CR V

          Activity

            People

              qtqmlteam Qt Qml Team User
              fabiankosmale Fabian Kosmale
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change