On Mon, 2009-06-01 at 19:54 -0700, Zheng, Yanshuang wrote: > Do you mean that the improvement cuts a second off of the system startup, > since mutter is started as the system does? If yes, how does it make cache > for nbtk/ccss before or during system booting? I think all the caches are > cleaned when the system is shutdown. > > I guess that the system will be more efficient after booted, such as > displaying "myzone" when the associated button is clicked. Mutter draws the > drop-down panel each time the panel button is clicked. So if the > contents/styles are cached, it should speed up the processing. But it is > amazing that one second is cut off. And we don't think it is slow before.
Sounds like a misunderstanding here. The new "cache" is not on-disk, just an additional 6 pointers inside the "ccss_node_t" struct to store values retrieved by calling back to nbtk. Those values are known not to change while a query is being processed, so keeping them is safe. I'll try to get a before/after startup profile soon, so far I've benchmarked on the desktop. Best, Rob Sta. _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
