]> cloud.milkyroute.net Git - dolphin.git/commit
Remove obsolete benchmark for inserting many child items
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 23 Apr 2015 23:44:31 +0000 (01:44 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 23 Apr 2015 23:44:31 +0000 (01:44 +0200)
commit975d0d7bfa2994fd5d13f40a70ea0851c702674f
treea7876d94d2648fa7819b9a3b7ba8082727844e76
parent82bf562c34204d585df67594feab844cf9b599a1
Remove obsolete benchmark for inserting many child items

I added this benchmark quite a long time ago in order to check that the
changes in dc6322dc090bcaec40d75522debad1edfb25b27a do not make
inserting many child items into the model slower. The test tries to
insert child items of different subfolders at the same time, which
cannot happen during normal usage because KDirLister only tells us about
one subfolder at a time.

The code was commented out a long time ago because it is no longer
compatible with the (greatly improved) new internal structure of
KFileItemModel. I think that it's not worth porting the benchmark
because it fulfilled its intended purpose a long time ago. Even if
someone decides to make a simplified working new benchmark out of it at
some point, it does not make much sense to keep this commented-out code
around for years. It can still be found in the git history - after all,
that's what version control systems are for.
src/tests/kfileitemmodelbenchmark.cpp