Some optimization opportunities

Maks Orlovich mo002j at mail.rochester.edu
Sat Jun 19 15:37:08 CEST 2004


> {st_mode=S_IFREG|0644, st_size=926, ...}) = 0 32761 15:36:39.654312
> fstat64(12, {st_mode=S_IFREG|0644, st_size=926, ...}) = 0 32761
> 15:36:39.654765 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40e6e000 32761 15:36:39.655238
> _llseek(12, 0, [0], SEEK_SET) = 0
> 32761 15:36:39.656136 read(12,
> "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\20\0\0\0\20\10\6\0\0"..., 4096) = 926
> 32761 15:36:39.657881 close(12)         = 0
>
> Apparently, KDE needs 6 ms to find an icon, while needing just 4 ms to
> load and decompress it. From these 4 ms, a lot of time is spent between

I would not trust strace timestamps if I were you. AFAIK, strace slows things 
down a lot.


More information about the Kde-optimize mailing list