aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/script/data/slot_simple.qml
blob: 0e0f56c0515f89b56a7bd513b33766c10de1dddb (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

import Qt.test 1.0

TestObject {
    function myCustomFunction() {
        return 0;
    }

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