On Friday 28 November 2014 10:54:59 PCMan wrote:
> More on this topic. I also did benchmarks using strace.
> First, I dropped all caches by doing echo 3 > /proc/sys/vm/drop_caches.
> Then I used strace to trace all of the child processes of sddm, and then
> login.
> This is the result I got.
> 
> https://drive.google.com/file/d/0B4BhmC8V2mivMGFRS3BCeFk0ZTQ/view?usp=sharin
> g
> 
> We have more than 600,000 system calls during LXQt startup.
> This is pretty amazing. More than half of them are just "stat" calls used
> to locate icons in the icon theme. This is caused by QIcon::fromTheme() (or
> the fixed version in libqtxdg).
> Unfortunately, this inefficient poor design is actually "correct" according
> to the xdg icon theme spec. Gtk+ solves this with an optional icon cahce. I
> believed that KDE does this, too.

Yes, we have a KIconEngine [1] which gets installed in our platform theme 
plugin. It seems to do caching, but I don't know any details.

Cheers
Martin

[1] 
http://api.kde.org/frameworks-api/frameworks5-apidocs/kiconthemes/html/classKIconEngine.html

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to