On Mon, Dec 5, 2011 at 10:00 PM, Joey Hess <j...@kitenet.net> wrote:
> Joey Hess wrote:
>> Moving the git_test etc into perl code would be one way to speed it up
>> for the common case. Adding a special case optimisation to avoid the shell
>> for "true" and "false" brings mr list down from 8.50 to 1.81 seconds.
>> The remaining time is here spent running skip tests, I have a lot. Probably
>> looking at sub-1-second times for most people.
> These optimisations are now in place.
> joey@gnu:~/src/d-i>time mr -q list
> 1.14user 2.17system 0:05.12elapsed 64%CPU (0avgtext+0avgdata 
> 26368maxresident)k 0inputs+0outputs (0major+269034minor)pagefaults 0swaps
> joey@gnu:~/src/d-i>time ~/src/mr/mr -q list
> 0.38user 0.02system 0:00.44elapsed 91%CPU (0avgtext+0avgdata 
> 26640maxresident)k 0inputs+0outputs (0major+6429minor)pagefaults 0swaps
> joey@gnu:~>time mr -q list
> 1.67user 3.86system 0:08.75elapsed 63%CPU (0avgtext+0avgdata 
> 26720maxresident)k 0inputs+0outputs (0major+464487minor)pagefaults 0swaps
> joey@gnu:~>time ~/src/mr/mr -q list
> 0.56user 0.60system 0:01.78elapsed 65%CPU (0avgtext+0avgdata 
> 26800maxresident)k 0inputs+0outputs (0major+84959minor)pagefaults 0swaps

Great work!  Your special case for "true" and "false" just
reminded me; did you have any thoughts on my suggestion regarding
a new "variables" config parameter which I posted four days ago?
(Subject: variables for plug-ins)
vcs-home mailing list

Reply via email to