On Dec 6, 6:34 am, Yarko Tymciurak <resultsinsoftw...@gmail.com> wrote: > FYI - I made clean clones from both launchpad and google code > /mercurialtoday. > > To ensure that the server was "queued" / cached, I did a checkout, > deleted my local clone, and then repeated the checkout (timed the > second time). > > I think you will be pleased with the results - here's what I got > (Comcast broadband connection in Chicago): > > hg : 0m2.589s (yes, seconds); > bzr: 12m54.025s (== 774.025); > > That is about a 300 X improvement (more than two orders of magnitude). > > Enjoy! > > ---------------------- > ~/workspace/web2py$ rm -rf clean-hg > ~/workspace/web2py$ time hg clonehttps://web2py.googlecode.com/hg/ > clean-hg > requesting all changes > adding changesets > adding manifests > adding file changes > added 1 changesets with 603 changes to 603 files > updating to branch default > 603 files updated, 0 files merged, 0 files removed, 0 files unresolved > > real 0m2.589s > user 0m1.192s > sys 0m0.172s > ----------------- > ~/workspace/web2py/clean-bzr$ rm -rf devel > ~/workspace/web2py/clean-bzr$ time bzr branch lp:~mdipierro/web2py/ > devel > You have not informed bzr of your Launchpad ID, and you must do this > to > write to Launchpad or access private data. See "bzr help launchpad- > login". > Branched 1423 revision > (s). > > real 12m54.025s > user 0m20.629s > sys 0m6.340s
Apologies (if they are wanted) for jumping into the middle of your thread, but somebody posted this to the Bazaar list, so I wanted you to understand what you're measuring here. Firstly, you're using the http dumb transport against Launchpad. If you use 'launchpad-login' to tell it your username, it will use bzr +ssh which should be much faster. It's a bug that you have to do this and it's not obvious you should. There has been some discussion recently Secondly, with Bazaar you are fetching 1423 revisions, whereas with Mercurial you are fetching just a snapshot import. So in fact you're pulling more than 300x as many revisions. When I imported this snapshot into bzr and pushed it to Launchpad it took: m...@grace% time bzr branch lp:~mbp/+junk/web2py-test /tmp/bzr Branched 1 revision (s). HPSS calls: 10 (0 vfs) SmartSSHClientMedium(connected=False, username=u'mbp', host='bazaar.launchpad.net', port=None) bzr branch lp:~mbp/+junk/web2py-test /tmp/bzr 0.93s user 0.12s system 5% cpu 17.970 total coming from Australia; admittedly still slower but I would say not an unreasonable speed. If you're using Bazaar and having trouble or if you're evaluating it please talk to us, eg in #bzr on freenode. We would like to help and to get feedback. -- Martin -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.