summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/script/data/slot_simple_js.qml
blob: a88265c0743215f2e3457f274e4a7a9cad3c1b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import Qt.test 1.0

TestObject {

    Script {
        function myCustomFunction() {
            return 0;
        }
    }

    onMySignal: { for (var ii = 0; ii < 10000; ++ii) { myCustomFunction(); } }
}