Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nzhuk
Created February 20, 2012 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nzhuk/1870147 to your computer and use it in GitHub Desktop.
Save nzhuk/1870147 to your computer and use it in GitHub Desktop.
Benchmarking mercurial 2.1 on OS X 10.7.3 (MacBookPro, 2.4 GHz i5, SSD). 10 001 branches, 70 008 topological heads.
$ time hg branches -c | wc -l
10001
real 0m6.677s
user 0m6.167s
sys 0m0.508s
$ time hg heads -t | wc -l
70008
real 0m2.549s
user 0m2.380s
sys 0m0.172s
$ time hg up branch9999
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
real 0m5.233s
user 0m4.660s
sys 0m0.560s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment