blob: d42b89109266d68d71e1088b71dfd7b0a74a0bbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Benchmarks the cost of accessing an id in the same file as the script.
import QtQuick 2.0
QtObject {
id: root
function runtest() {
for (var ii = 0; ii < 5000000; ++ii) {
root
}
}
}
|