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

Grouped property bindings have big impact on creation time

XMLWordPrintable

    • 64b8ce5f60d0595fcc511ca860066f2d946db8f3

      Test case:

      import QtQuick 2.0
      
      Item {
          property int abc: properties.foo // <-- FAST (< 1ms)
          // property int def: group.foo // <-- SLOW (~400ms)
      
          property QtObject group: QtObject {
              id: properties
              property int foo: 0
          }
      }
      

      Steps:

      • run via QML profiler -> creation time is some hundreds of _micro_seconds
      • comment out 'abc' & uncomment 'def' -> creation time is some hundreds of _milli_seconds

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

            glwatson Glenn Watson
            jpnurmi J-P Nurmi
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes