KConfig/KLockFile performance (was KMimeType performance)

Maksim Orlovich mo85 at cornell.edu
Tue Oct 9 18:51:17 BST 2007


> Please see the attached log file for ereslibre's scenario. There, we waste
> ~30ms of app startup time on trying to lock global files. And about 3.4
> /seconds/ using the file dialog. Way beyond unacceptable for interactive
> scenario.

Ergh. There is the file. That's what I get for using a webmail interface
and not KMail. This might be useful as well:

#0  0xb7fc6410 in __kernel_vsyscall ()
#1  0xb61e3291 in select () from /lib/i686/libc.so.6
#2  0xb7f83fd3 in KLockFile::lock (this=0x862e8e0, options=@0xbfc9ecd8) at
/home/maksim/kde4/src/kdelibs/kdecore/io/klockfile_unix.cpp:351
#3  0xb7e71ed0 in KConfigIniBackend::lock (this=0x866a800,
componentData=@0x866a890)
    at /home/maksim/kde4/src/kdelibs/kdecore/config/kconfigini.cpp:419
#4  0xb7e5d11d in KConfigPrivate::lockLocal (this=0x866a860) at
/home/maksim/kde4/src/kdelibs/kdecore/config/kconfig.cpp:110
#5  0xb7e5d947 in KConfig::reparseConfiguration (this=0xbfc9edc0) at
/home/maksim/kde4/src/kdelibs/kdecore/config/kconfig.cpp:373
#6  0xb7e762ed in KDesktopFile (this=0xbfc9edc0, fileName=@0xbfc9edd4) at
/home/maksim/kde4/src/kdelibs/kdecore/config/kdesktopfile.cpp:63
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.gz
Type: application/x-gzip
Size: 15183 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071009/7dc0f659/attachment.bin>


More information about the kde-core-devel mailing list