aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/auto/creation/qml.basictypes/delegates_basictype_variant_object.qml
blob: 4b2a863ee0c084e54b71927ff850b98a0a8849b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.0
import QmlBench 1.0

// Tests the creation of the JS variant type as a property.
CreationBenchmark {
    id: root;
    count: 50
    staticCount: 2500
    delegate: Item {
        property variant value: { 42: true }
    }
}