diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-02-26 14:49:51 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-02-26 14:49:51 (GMT) |
commit | a262cb0abec91ccce2502547fc376364e9d804da (patch) | |
tree | 2a61451345c34ddfcc3dfe47aa4f265e76a79535 /tests | |
parent | f3eab3dd1bc982ad5847fdff67a59e2edfa20b54 (diff) | |
download | Qt-a262cb0abec91ccce2502547fc376364e9d804da.zip Qt-a262cb0abec91ccce2502547fc376364e9d804da.tar.gz Qt-a262cb0abec91ccce2502547fc376364e9d804da.tar.bz2 |
Bump iteration count to make QMetaType::type() benchmark results more stable
With the recent optimizations it's just too fast now. ;)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/benchmarks/corelib/kernel/qmetatype/tst_qmetatype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/benchmarks/corelib/kernel/qmetatype/tst_qmetatype.cpp index c3324df..36399af 100644 --- a/tests/benchmarks/corelib/kernel/qmetatype/tst_qmetatype.cpp +++ b/tests/benchmarks/corelib/kernel/qmetatype/tst_qmetatype.cpp @@ -96,7 +96,7 @@ void tst_QMetaType::typeBuiltin() QFETCH(QByteArray, typeName); const char *nm = typeName.constData(); QBENCHMARK { - for (int i = 0; i < 50000; ++i) + for (int i = 0; i < 100000; ++i) QMetaType::type(nm); } } |