Tuesday, May 22, 2007

GTK+Icon Cache #4

How many different pages did gtkiconcache access in order to load the first n icons from my (simple) session? Here is the graph:

This not only include the pages where the icons live, but the pages gtkiconcache had to access to find the icons.

The red line shows the actual number of pages that have been loaded. The green one is the "ideal" situation where all the icons are stored continuously and not metadata are needed to find these icons. In other words: 1+sum(icon size) / page size.

The code to generate this graph needs to be polished a little bit before beeing published. Should be soon though.

1 comment:

Anonymous said...

genius