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 17:09:16 CST 2008


Am Montag 15 Dezember 2008 23:29:42 schrieb Matt Nordhoff:
> That bug isn't relevant. It's about using the bzrlib api directly. When
> just running "bzr" from the command line, it should always set up logging.

Yet it doesn't - that might be one of the reasons why 1.10 isn't stable in 
Gentoo, yet. 

> (Well, "time bzr init-repo --rich-root-pack bzr")
>
> By the way, using "--1.9-rich-root" instead of "--rich-root-pack" will
> give better performance. It would be interesting to see what the
> difference is, if you don't mind running the tests yet again. :-)

The biggest thing which keeps me from running the tests far more often are the 
10 minutes bzr needs to get the initial repository - the time feels so damn 
long :) 

And I don't keep one around, because 215MiB aren't so little data when I'm at 
the limits of my disks capacity. 

But here's the retest (done manually): 

################################################

$ bzr init-repo bzr --1.9-rich-root
No handlers could be found for logger "bzr"                                                                        
Shared repository with trees (format: 1.9-rich-root)                                                               
Location:                                                                                                          
  shared repository: bzr                                                                                           

$ cd bzr/                          

$ time bzr branch http://code.python.org/python/trunk python-bzr-trunk                                                                                                        
No handlers could be found for logger "bzr"                                                                                      
[11342] 2008-12-16 00:04:14.109 INFO: Branched 40775 revision(s).                                                                
Branched 40775 revision(s).                                                                                                      

real    11m52.428s
user    6m1.402s  
sys     0m10.805s 

$ time bzr branch python-bzr-trunk/ python-bzr-trunk2
No handlers could be found for logger "bzr"
[17110] 2008-12-16 00:04:44.494 INFO: Branched 40775 revision(s).
Branched 40775 revision(s).

real    0m17.697s
user    0m3.868s
sys     0m1.945s
################################################

That's 17 seconds, far from the 2-4 seconds it gained with the --rich-root-
pack setting. 

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/20081216/7d43a4aa/attachment.pgp 


More information about the Mercurial mailing list