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

Method bench_kurl

kdevplatform/serialization/tests/bench_indexedstring.cpp:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void BenchIndexedString::bench_kurl()
84{
85 const QVector<uint> indices = setupTest();
86 QBENCHMARK {
87 for (uint index : indices) {
88 IndexedString str = IndexedString::fromIndex(index);
89 str.toUrl();
90 }
91 }
92}
93
94void BenchIndexedString::bench_qhashQString()
95{

Callers

nothing calls this directly

Calls 3

setupTestFunction · 0.85
fromIndexFunction · 0.85
toUrlMethod · 0.45

Tested by

no test coverage detected