[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 307585] Sorting is too cpu intensive for big folders
From:       Mark <markg85 () gmail ! com>
Date:       2012-09-30 10:41:19
Message-ID: bug-307585-17878-mKua9h26tG () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=307585

--- Comment #4 from Mark <markg85@gmail.com> ---
Hi Frank,

The insertItems function is only called once.
The entire insertItems comes up as one massive resource user. The thing you've
patched will probably speed it up a little, but the no.1 resource user in that
function is KFileItemModelSortAlgorithm::sort.

Right now i'm completely rebuilding the way this sorting is done and moving it
up way earlier in the function calls. I'm targeting
KFileItemModel::slotNewItems for the sorting since that function is already
iterating over all the items. So it makes sense to sort there. The issue i keep
having thus far is no natural sorting -_-

Anyway, some steps i will do next:
1. Profiling dolphin as it is now with the current sorting stuff and putting
that profile in here for others to see.
2. Test out your patch
3. Continue playing with sorting

i will report back in here once i have targeted profiling data.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic