aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/javascript/data/nestedId.qml
blob: 538699d4523817bfcd68d79b6d3db4c2884d07e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Benchmarks the cost of accessing an id in a parent context of the script.

import QtQuick 2.0

QtObject {
    id: root

    property variant object: NestedIdObject {}
    function runtest() {
        object.runtest();
    }
}