git 1.6 compared to hg 1.1 ?
Arne Babenhauserheide
arne_bab at web.de
Mon Dec 29 08:10:38 CST 2008
Am Samstag 20 Dezember 2008 23:26:02 schrieb Greg Ward:
> All my experience is with git 1.5.x and Mercurial 1.0.x, and I have
> not done any benchmarking. That said, my gut feeling is that
> Mercurial is very fast, and git is unbelievably fast. If you want to
> see just how fast a VC system can be without regard to other issues,
> look to git. If you want a VC system that balances usability and
> performance, try Mercurial. Compared to the other competition (e.g.
> darcs, Subversion) Mercurial is plenty fast enough.
I just did some tests to compare the commit speed, this time using a Mercurial
without all the extensions I activated over time (they slow down the start
time, and most of them aren't really needed for most workflows).
On each run all files where changed except for the run where I explicitely
state that only two files where changed.
Results:
init:
- git: 0.217 ± 0.445
- hg: 0.159 ± 0.039
- bzr: 0.568 ± 0.087
initial_commit:
- git: 0.233 ± 0.038
- hg: 0.922 ± 0.284
- bzr: 2.182 ± 0.104
commit_after_append_small:
- git: 0.141 ± 0.032
- hg: 0.703 ± 0.095
- bzr: 1.729 ± 0.130
multiple_commits_with_only_two_files_changed_each:
- git: 0.031 ± 0.021
- hg: 0.286 ± 0.030
- bzr: 0.751 ± 0.095
commit_after_append_of_one_long_line:
- git: 0.261 ± 0.014
- hg: 0.430 ± 0.024
- bzr: 1.046 ± 0.093
commit_after_append_of_many_lines:
- git: 0.514 ± 0.162
- hg: 0.786 ± 0.189
- bzr: 1.649 ± 0.420
this is with git 1.6.0.4, hg from the hg-stable repository and bzr 1.10
I also have a new test running which compares clone speeds, status and
similar, but that will take some time because bzr takes far too long for the
initial clone of the Bazaar version of the python repo.
Also I posted a comparision of just Mercurial and Bazaar on my site:
- http://draketo.de/english/free-software/light/mercurial-vs-bazaar-
speedtest-2-multiple-runs
We created that one together on the #mercurial IRC channel on freenode.net
This test didn't yet include git, though.
Best wishes,
Arne
--
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20081229/67c8060b/attachment.pgp
More information about the Mercurial
mailing list