unity-dev team mailing list archive
-
unity-dev team
-
Mailing list archive
-
Message #00489
Re: Faster dash
On Sat 26 May 2012 01:25:05 AM CEST, Michal Hruby wrote:
> I implemented a custom GSource that allows adding of multiple timeouts
> to this single source, I profiled this somewhat (against standard
> timeout sources) and when using 8 different timeouts, the single custom
> source requires 2.5x fewer lock calls (g_mutex_lock), ~6% fewer
> instructions are executed and ~10% fewer branches.
>
Sorry, it's late :P here's a link to the custom source -
http://ubuntuone.com/2f9boSuvqS8zhgUcJqMry2
Follow ups
References