aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljslintercodegen.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-07-01 13:37:29 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-07-02 01:32:47 +0200
commita84a2f737da1058f987882ad2c1cde6691cb0d05 (patch)
tree9b41bc85b687340607322913bb3b8d77316dca0c /src/qmlcompiler/qqmljslintercodegen.cpp
parent775b05fe1664cf76a1dff9384f4e30fe932dda5a (diff)
Detect dirty child window stacking order without recursing all items
Recursing all items was causing a high CPU utilization in scenarios with deep and wide item trees (>10k items). We can limit the search for a dirty item with ChildrenStackingChanged to the list of dirty items. For a synthetic benchmark this reduces the iteration time fro 0.60 ms to 0.13 ms. Pick-to: 6.7 6.8 Fixes: QTBUG-126673 Change-Id: Icb05a25365589268d5fb64f6f33179adb3406886 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljslintercodegen.cpp')
0 files changed, 0 insertions, 0 deletions