aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/script/data/slot_simple.qml
blob: 98a3482325d5097272d4d9b457de30dc1e3c9fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import Qt.test 1.0

TestObject {
    function myCustomFunction() {
        return 0;
    }

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