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

// Tests the creation of the JS vector2d type as a property.
CreationBenchmark {
    id: root;
    count: 50
    staticCount: 2500
    delegate: Item {
        property vector2d value: Qt.vector2d(1, 2)
    }
}