blob: 474d0760a3f2466bcf612f8546d48f1506a45d98 (
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 1.0
QtObject {
id: root
function runtest() {
for (var ii = 0; ii < 5000000; ++ii) {
root
}
}
}
|