| 92 | } |
| 93 | |
| 94 | void BenchIndexedString::bench_qhashQString() |
| 95 | { |
| 96 | const QVector<QString> data = generateData(); |
| 97 | quint64 sum = 0; |
| 98 | QBENCHMARK { |
| 99 | for (const auto& string : data) { |
| 100 | sum += qHash(string); |
| 101 | } |
| 102 | } |
| 103 | QVERIFY(sum > 0); |
| 104 | } |
| 105 | |
| 106 | void BenchIndexedString::bench_qhashIndexedString() |
| 107 | { |
nothing calls this directly
no test coverage detected