New integration branch

Joey Hess joey at
Mon Dec 5 23:00:00 CET 2011

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 at 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 at 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 at 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 at 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

see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <>

More information about the vcs-home mailing list