[Digikam-devel] [Bug 198063] Digikam startup is extremely slow

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Jul 1 17:49:48 BST 2009


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


Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel.wiesweg at gmx.de




--- Comment #18 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-01 18:49:43 ---
callgrind won't give us information about time spent with filesystem access,
but it tells us from where stat() is called. Results of a digikam startup
(without collection scanning) and shutdown:

44754 calls of __xstat in libc.so

of which
6547 from KStandardDirs
33288 from QFSFileEnginePrivate, called from QFileInfoPrivate::getFileFlags

Now switching to the "All callers" view for getFileFlags:
94% of all costs spent in getFileFlags is spent when called from
KDirWatch::addDir; indeed, KDirWatchPrivate::addEntry calls
QDir::entryInfoList.

It seems adding a directory to KDirWatch with the WatchSubDirs flag causes a
stat for all contained files.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list