[cairo] Early Initialization?
keithp at keithp.com
Fri Mar 23 22:10:56 PDT 2007
On Wed, 2007-03-21 at 10:07 -0400, Owen Taylor wrote:
> It could just be that the fontconfig memmap'ed cache stuff has dropped
> startup overhead low enough that the advantage of pre-initializing
> things is small.
It helped more than I had hoped:
$ /usr/bin/time -a fc-match foo > /dev/null
0.02user 0.00system 0:00.08elapsed 39%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+636minor)pagefaults 0swaps
The key numbers here are 0.02 seconds of CPU time and 636 *minor* page
faults. I believe the latter indicates that all of the pages needed for
the caches were already in memory.
It is nice to no longer be responsible for huge wastage of memory and
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070323/93784c6f/attachment.pgp
More information about the cairo