Mercurial vs. Bazaar speedtest clone and log - update: hg 1.1 vs. bzr 1.10
Arne Babenhauserheide
arne_bab at web.de
Mon Dec 15 05:13:42 CST 2008
Am Montag 15 Dezember 2008 08:31:25 schrieb Alexander Belchenko:
> Correction. I guess bzr repo comes from bzr-svn conversion,
> so shared repo format should be explicitly defined as rich-root-pack:
>
> time bzr init-repo . --rich-root-pack
Ah, this one works. Thanks!
(Reading and answering mails chronologically can be inconvenient :) )
The result is this:
################################################
bzr optimized local cloning test using a shared repo.
time bzr init-repo bzr
No handlers could be found for logger "bzr"
Shared repository with trees (format: rich-root-pack)
Location:
shared repository: bzr
real 0m0.442s
user 0m0.328s
sys 0m0.069s
cd bzr
time bzr branch http://code.python.org/python/trunk python-bzr-trunk
No handlers could be found for logger "bzr"
[26234] 2008-12-15 11:55:14.502 INFO: Branched 40773 revision(s).
Branched 40773 revision(s).
real 10m39.557s
user 5m28.317s
sys 0m9.968s
check the size after repacking
bzr pack
No handlers could be found for logger "bzr"
rm .bzr/repositry/obsolete_packs/*
rm: Entfernen von „.bzr/repositry/obsolete_packs/*“ nicht möglich: Datei oder
Verzeichnis nicht gefunden
du -hs .bzr
213M .bzr
time bzr branch python-bzr-trunk python-bzr-trunk2 --hardlink
No handlers could be found for logger "bzr"
[26391] 2008-12-15 11:55:19.859 INFO: Branched 40773 revision(s).
Branched 40773 revision(s).
real 0m2.598s
user 0m2.075s
sys 0m0.412s
cd ..
rm -r python-* /tmp/tmp-hg /tmp/tmp-bzr bzr/
################################################
So I added a fifth result section:
Fifth test: <strong>local clones with shared repository</strong>
As suggested in the Mercurial Mailinglist, I reran the local cloning test for
Bazaar using a shared repository and forced hardlinks. With this Bazaar needed
just 2.6s for a local clone, without hardlinks about 12s, so by using shared
repositories the local cloning becomes quite fast in Bazaar (as long as you
restrict yourself to the shared repository).
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/20081215/aa94f1d6/attachment.pgp
More information about the Mercurial
mailing list