Yarko,
Thanks for the updated benchmark. Will pass it on to bzr devs. Indeed,
bzr is a bit slower than hg, and I'd love to see that performance gap
closed.
All the best with web2py!

Cheers,
David


On Dec 8, 5:22 pm, Yarko Tymciurak <[email protected]>
wrote:
> On Dec 7, 10:25 pm, dmuir <[email protected]> wrote:
>
> > Thadeus,
> > Apologies for butting in on this list... but the links you gave show
> > exactly why it's important to run your own tests. The comparisons are
> > *very* out-dated. There have been over 16 releases of Bazaar since
> > then. I don't follow hg or git development, but I'm guessing they've
> > had a few releases since then as well...
>
> > Overall, Yarko's comparisons are more between Launchpad and Google
> > Code than bzr vs hg.
>
> *sigh* - yes, it would appear that  _might_ be so, and I agree - you
> should take your own measures...
>
> Let me look at a machine local hg clone of the same, and compare it to
> a machine local bzr branch.  The way I did this:  the web2py hg clone
> from google code copied, revision history cleared, and then the tree
> init'd with each, and then cloned/branched.
>
> hg :  0.514s
> bzr:  2.236s
>
> so now it's only ~1/2 an order of magnitude difference (Bigtable, and
> Google resources no doubt had impact).
>
> The thing I will point out, regardless of the numbers, the experience
> is born out.   Yes, we made it _much_ worse by vresioning compressed
> tar files (shame on us); this really exacerbated the situation.
> Even so, the feel of hg has always seemed faster (locally, you can
> _feel_ this), and these numbers (however empirical) so far bear that
> out.
>
> Regards,
> - Yarko
> ---------------------------
> ~/workspace/web2py$ rm -rf local-hg
> ~/workspace/web2py$ time hg clone clean-hg-hg local-hg
> updating to branch default
> 603 files updated, 0 files merged, 0 files removed, 0 files unresolved
>
> real    0m0.514s
> user    0m0.364s
> sys     0m0.152s
> ~/workspace/web2py$ hg --versionMercurialDistributed SCM (version 1.4.1)
> ------------------------------------
> ~/workspace/web2py$ rm -rf local-bzr
> ~/workspace/web2py$ time bzr branch clean-hg-bzr local-bzr
> Branched 1 revision
> (s).
>
> real    0m2.236s
> user    0m1.880s
> sys     0m0.248s
> ~/workspace/web2py$ bzr --version
> Bazaar (bzr) 2.0.2
>   Python interpreter: /usr/bin/python 2.6.2
>   Python standard library: /usr/lib/python2.6
>   Platform: Linux-2.6.28-17-generic-i686-with-Ubuntu-9.04-jaunty
>   bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
>   Bazaar configuration: ~/.bazaar
>   Bazaar log file: ~/.bzr.log
>
>
>
> > Cheers,
> > David
>
> > On Dec 8, 11:19 am, Thadeus Burgess <[email protected]> wrote:
>
> > > There are many.... many... many comparisons on version control systems
> > > and times.
>
> > > Read this, and we can stop doing our own tests :)
>
> > >http://www.infoq.com/articles/dvcs-guide
>
> > > Want an even better description of the differences of each of the systems
>
> > >http://versioncontrolblog.com/comparison/Bazaar/CVS/Git/Mercurial/Sub...
>
> > > How about home directory versioning
>
> > >http://joshcarter.com/productivity/svn_hg_git_for_home_directory
>
> > > Needless to say, the statistics speak for themselves :)
>
> > > -Thadeus
>
> > > On Mon, Dec 7, 2009 at 5:54 PM, Yarko Tymciurak
>
> > > <[email protected]> wrote:
>
> > > > On Dec 7, 5:01 pm, Alexander Belchenko <[email protected]>
> > > > wrote:
> > > >> Just for the record.
>
> > > >> Next time you will compare, try to compare similar history.
>
> > > >> bzr repository has ~1500 revisions and it size ~600MB.
> > > >> hg repository has only 3 revisions and its size ~6 MB.
>
> > > > Yes, indeed, Alexander --- as I and 3 others already pointed out, this
> > > > is true.
>
> > > > However, even for an up-to-date bzr, an update of 5 files (one rev)
> > > > took
>
> > > > real    0m13.736s
>
> > > > Repeating the same sort of pull from googlecode / hg, to the first hg
> > > > checkin:
>
> > > >   hg clone -r be4727e88ehttps://web2py.googlecode.com/hg/clean-hg
>
> > > > and then updating with the last 3 changesets:
>
> > > >   time hg update
>
> > > > produces this result:
>
> > > >   added 3 changesets with 10 changes to 7 files
> > > >   (run 'hg update' to get a working copy)
>
> > > >   real 0m1.048s
> > > >   user 0m0.164s
> > > >   sys  0m0.044s
>
> > > > (I didn't count "bzr ci" nor "hg update" in either of these).
>
> > > > Still, this is 13 times difference.
>
> > > > So empirically, this is still noticably (significantly) different,
> > > > but more on the order of one order of magnitude (rather than
> > > > serveral).
>
> > > > Regards,
> > > > - Yarko
>
> > > >> Difference in 300 times don't make you think there is something wrong?
>
> > > >> Anyway, good luck!
>
> > > > --
>
> > > > You received this message because you are subscribed to the Google 
> > > > Groups "web2py-users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to 
> > > > [email protected].
> > > > For more options, visit this group 
> > > > athttp://groups.google.com/group/web2py?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to