I hear all this stuff about bazaar being slower than git. I haven't used too much distributed version control yet, but in Bazaar vs. Git on the bazaar site, they say that most complaints about performance aren't true anymore. Have you found this to be true? Is performance pretty much on par now?
I've heard that speed can affect workflow (people are more likely to do good thing X if X is fast). What specific cases does performance currently affect workflow in bazaar vs other systems (especially git), and how?
I'm just trying to get at why performance is of particular importance. Usually when I check something in or update it, I expect it to take a little while, but it doesn't matter. I commit/update when I have a second, so it doesn't interfere with my productivity. But then I haven't used DVCS yet, so maybe that has something to do with it?
The python developers recently decided to switch to Mercurial and as part of the process did some basic benchmarking of git, Mercurial and Bazaar which is documented in PEP-374.
An incredibly rough eye balling of the numbers they posted showed Bazaar to be 2-4x slower than either git or Mercurial in the use cases tested.
That being said, the message conveyed on python-dev was that all of them (git, Mercurial, Bazaar) are better than Subversion, for the most part they are fast enough and the choice of Mercurial over git/Bazaar was mostly based on the gut feelings of the BFDL and the attendees of PyCon2009.
Bazaar is such a fast moving target (and presumably so is git) that any claims about performance are likely to be out of date by the time you read them.
According to many sources including Wikipedia, git is particularly slow on Windows because it needs its POSIX environment, but that nothing beats the speed of git in its native, POSIX-y Linux. This is one reason I use Bazaar - apart from personally finding it easy to use, I use Windows 66% of the time and Bazaar has no performance problems on Windows. I don't doubt that git is very fast on Linux though.
Again, though, benchmarks could be skewed by a variety of factors and may be out of date.
Benchmark test 2009-08-16: Git 1.6.3.3, Hg 1.3.1, Bzr 1.17
http://www.editgrid.com/user/jaalto/vc-test
See also PDF mentioned in the site, which gives more background on these three DVCS (with better benchmark graphs).
SUMMARY: Hg and Bzr are practically equal in performance wise. Bzr has improved in leaps (see upcoming 2.0) and the "shared repositories" in Bzr is as fast as "git branch". The development phase and development discussion messages, of both Git and Bzr, suggest that in the future Git and Bzr will advance quicker than Hg.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With