Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-91927 Finalize QML object-creation compiler prototype
  3. QTBUG-91959

Design/extend benchmark to cover QML object-creation compiler use cases

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • None
    • None
    • None

    Description

      On top of my head:

      • Design fairly simple set of QML types to be benchmarked (or borrow from existing benchmarks)
      • Compare the startup times of generated C++ vs QQmlComponent (can expect faster startup of generated C++ due to no type erasure/QQmlElement<T> wrapping, etc.)
      1. case 1: measure object construction time only
      2. case 2: measure object construction + compilation unit loading for generated C++ (on-construction CU load can be triggered by "Component.onCompleted"?)
      • Compare the memory footprint of generated C++ vs QQmlComponent (in theory generated C++ requires less memory, worth checking)

      Attachments

        1. massif.out.baseline
          447 kB
        2. massif.out.qmltc
          405 kB
        For Gerrit Dashboard: QTBUG-91959
        # Subject Branch Project Status CR V

        Activity

          People

            agolubev Andrei Golubev
            agolubev Andrei Golubev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change