Created attachment 61309 [details] dolphin filter panel Version: unspecified (using KDE 4.6.4) OS: Linux * Goal of the test was to verify functionality of "Filter" Panel in Dolphin. * From all possible combination of filtering over set of balanced test data, it took Dolphin 5x-10x more time to filter "Audio" files using "Rating" and "Tag" criteria than rest of combinations. * I have used 2 different installations to verify and confirm this result. Preconditions: * balanced test data are available Reproducible: Always Steps to Reproduce: * Perform few filtering of any "Document"/"Video"/"Images" files using "Rating" and "Tag" criteria to verify average time of filtering. * Filter "Audio" files using "Rating" and "Tag" criteria to verify time of filtering Actual Results: * Time to filter "Audio" files using "Rating" and "Tag" criteria is much more longer than usual (5x-10x) Expected Results: * not such difference expected in time to filter the data OS: Linux (i686) release 2.6.38-8-generic Compiler: cc
Git commit bfa98838cf4c45a0dcbc9cb6c98268bbd0cb87a0 by Sebastian Trueg. Committed on 27/10/2011 at 09:47. Pushed by trueg into branch 'KDE/4.7'. When querying for audio files only use the mimetype. We sadly cannot depend on the nfo:Audio type. That would be the fastest solution but Strigi still fails to index a lot of audio files. Thus we depend on the very reliably mimetype from KMimeType. However, if we do that we already get all the audio files. Thus, there is no point in adding the additional ResourceTypeTerm which only makes the query that much slower. BUG: 276444 FIXED-IN: 4.7.3 M +0 -1 nepomuk/utils/typefacet.cpp http://commits.kde.org/kdelibs/bfa98838cf4c45a0dcbc9cb6c98268bbd0cb87a0