[Akonadi] [Bug 334218] synchronizations of large folders with filesystem contents hogs a Sandybridge core for minutes

Christian Mollekopf chrigi_1 at fastmail.fm
Wed May 21 00:13:41 BST 2014


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

--- Comment #16 from Christian Mollekopf <chrigi_1 at fastmail.fm> ---
Git commit 1af2704a63c6641867eaf2b67976f5309a994cca by Christian Mollekopf, on
behalf of Martin Steigerwald.
Committed on 03/05/2014 at 14:52.
Pushed by cmollekopf into branch 'kolab/integration/4.13.0'.

Do not sort the directory entry list in listNew() and listCurrent():

According to callgrind dumps at

https://bugs.kde.org/show_bug.cgi?id=334218#c4

QDir sorts the list of directory entries unless specified otherwise.

After disabling the sorting the callgrind is quite different already:

https://bugs.kde.org/show_bug.cgi?id=334218#c7

This already helps shortening the time to synchronize folders visibly,
but KMail gets still blocked for half a minute or more. There is another
occurence of QDir entry sorting in keycache.cpp which the next commit
will address.

Thanks to Sergio and David for help and pointing out how to disable
the sorting.

REVIEW: 117975

DIGEST: Huge performance improvement for POP3 users with large maildir.

M  +2    -0    resources/maildir/libmaildir/maildir.cpp

http://commits.kde.org/kdepim-runtime/1af2704a63c6641867eaf2b67976f5309a994cca

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list