MCPcopy Create free account
hub / github.com/KDE/kdevelop / bench_qstring

Method bench_qstring

kdevplatform/serialization/tests/bench_indexedstring.cpp:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void BenchIndexedString::bench_qstring()
73{
74 const QVector<uint> indices = setupTest();
75 QBENCHMARK {
76 for (uint index : indices) {
77 IndexedString str = IndexedString::fromIndex(index);
78 str.str();
79 }
80 }
81}
82
83void BenchIndexedString::bench_kurl()
84{

Callers

nothing calls this directly

Calls 3

setupTestFunction · 0.85
fromIndexFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected