Re: To Discuss: Application Startup Time



Andy Ross <andy plausible org> writes:

> It's slow because it spends time walking through a zillion icon
> directories at a dozen resolutions and stating every file it sees (via
> getdents()).  I see 500+ directory opens, with maybe a few dozen files
> in each.  That's going to thrash an awful lot of disk sectors.

Yeah, it does look like you are right about this. Maybe some sort of
caching could be added to the icon theme spec, like the fontconfig
one. 

In any case if somebody wants to look into this, all the icon disk
activity is coming from insert_theme() and theme_subdir_load() in
gtkicontheme.c.


Søren



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]