┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2015-05-07 21:06:42 +0100
committerFrank Reininghaus <[email protected]>2015-05-07 22:06:42 +0200
commit5bde333ca7e9c285f1101bac0434fb4e60b6d4d5 (patch)
tree419a43e6057ce23057f83f3d6d93af249992834f /src/tests
parentc035fb0a5c05c02f53fc790d25e56c0d6f8b67a5 (diff)
Simplify the KFileItemModel benchmark
The benchmark inserted KFileItemLists of different sizes in the model. The intention was to verify that an O(N^2) complexity issue was fixed. However, now that this original problem does not exist any more, the benchmark results are much easier to read, and regressions are much easier to spot at first sight, if only a single list size is used.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/kfileitemmodelbenchmark.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/kfileitemmodelbenchmark.cpp b/src/tests/kfileitemmodelbenchmark.cpp
index 3ff0405fd..41dcce019 100644
--- a/src/tests/kfileitemmodelbenchmark.cpp
+++ b/src/tests/kfileitemmodelbenchmark.cpp
@@ -81,8 +81,7 @@ void KFileItemModelBenchmark::insertAndRemoveManyItems_data()
QTest::addColumn<KItemRangeList>("expectedItemsRemoved");
QList<int> sizes;
- sizes << 1000 << 4000 << 16000 << 64000 << 256000;
- //sizes << 50000 << 100000 << 150000 << 200000 << 250000;
+ sizes << 100000;
foreach (int n, sizes) {
QStringList allStrings;