aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/javascript/data/nestedId.qml
blob: 49c4e3ca43f7ae3db45ccda69ac8e5467a8de31c (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 1.0

QtObject {
    id: root

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