<div>On Sun, Jun 19, 2011 at 15:04, Augie Fackler <span dir="ltr"><<a href="mailto:durin42@gmail.com">durin42@gmail.com</a>></span> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Jun 19, 2011, at 7:46 AM, rupert.thurner wrote:<br>
><br>
> fyi, i timed the conversion of a small repository from subversion to<br>
> git-1.7.4 / hg-1.7.5.<br>
><br>
> git hg<br>
> --------------------------<br>
> svn clone 18 31<br>
> push 2 9<br>
> (times in minutes)<br>
><br>
> especially surprising was that mercurial was 4 times slower when<br>
> pushing. the details .......<br>
><br>
> $ time git svn clone <a href="https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2" target="_blank">https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2</a><br>
> gar<br>
> ...<br>
> real 18m14.018s<br>
> user 2m19.037s<br>
> sys 1m20.341s<br>
><br>
> $ time git push origin master<br>
> Counting objects: 5900, done.<br>
> Delta compression using up to 2 threads.<br>
> Compressing objects: 100% (5775/5775), done.<br>
> Writing objects: 100% (5900/5900), 1.42 MiB | 2.31 MiB/s, done.<br>
> Total 5900 (delta 4190), reused 0 (delta 0)<br>
><br>
> To git@github.com:opencsw/gar.git<br>
> * [new branch] master -> master<br>
><br>
> real 1m57.673s<br>
> user 0m2.308s<br>
> sys 0m0.404s<br>
><br>
><br>
> $ time hg clone svn+<a href="https://gar.svn.sourceforge.net/svnroot/gar/csw/" target="_blank">https://gar.svn.sourceforge.net/svnroot/gar/csw/</a><br>
> mgar/gar/v2 gar-hg<br>
> ....<br>
> pulled 927 revisions<br>
> updating to branch default<br>
> 228 files updated, 0 files merged, 0 files removed, 0 files unresolved<br>
><br>
> real 31m8.127s<br>
> user 9m13.095s<br>
> sys 0m9.941s<br>
><br>
><br>
> $ time hg push <a href="https://rupert.thurner" target="_blank">https://rupert.thurner</a>@<a href="http://gar.googlecode.com/hg" target="_blank">gar.googlecode.com/hg</a><br>
> warning: <a href="http://gar.googlecode.com" target="_blank">gar.googlecode.com</a> certificate with fingerprint<br>
> a9:be:c0:4a:da:1c:eb:4c:31:9d:78:27:48:99:f4:9c:9a:e8:53:c8 not<br>
> verified (check hostfingerprints or web.cacerts config setting)<br>
> pushing to <a href="https://rupert.thurner" target="_blank">https://rupert.thurner</a>@<a href="http://gar.googlecode.com/hg" target="_blank">gar.googlecode.com/hg</a><br>
> searching for changes<br>
> http authorization required<br>
> realm: Google Code Mercurial Repository<br>
> user: rupert.thurner<br>
> password:<br>
> warning: <a href="http://gar.googlecode.com" target="_blank">gar.googlecode.com</a> certificate with fingerprint<br>
> a9:be:c0:4a:da:1c:eb:4c:31:9d:78:27:48:99:f4:9c:9a:e8:53:c8 not<br>
> verified (check hostfingerprints or web.cacerts config setting)<br>
> remote: Success.<br>
><br>
> real 9m28.179s<br>
> user 0m1.288s<br>
> sys 0m0.244s<br>
<br>
</div></div>This push test isn't even remotely fair - you're pushing to a normal git repository on a local spinning disk, but to hg-on-bigtable which is *known* to be almost an order of magnitude slower than stock hg. Consider retrying your benchmark to a hosting provider with a more orthodox setup? Preferably push both repositories to the same machine so you can have known-similar hardware?</blockquote>
<div>ok, tried it with bitbucket as well ... and now the numbers are not surprising any more. i did overlook that googles mercurial is so "different" ...</div><div> </div><div><div>$ time hg push ssh://<a href="http://hg@bitbucket.org/ThurnerRupert/gar3">hg@bitbucket.org/ThurnerRupert/gar3</a></div>
<div>pushing to ssh://<a href="http://hg@bitbucket.org/ThurnerRupert/gar3">hg@bitbucket.org/ThurnerRupert/gar3</a></div><div>searching for changes</div><div>remote: adding changesets</div><div>remote: adding manifests</div>
<div>remote: adding file changes</div><div>remote: added 927 changesets with 1858 changes to 293 files</div><div>remote: bb/acl: ThurnerRupert is allowed. accepted payload.</div><div><br></div><div>real<span class="Apple-tab-span" style="white-space:pre">        </span>5m30.550s</div>
<div>user<span class="Apple-tab-span" style="white-space:pre">        </span>0m0.880s</div><div>sys<span class="Apple-tab-span" style="white-space:pre">        </span>0m0.084s</div></div><div><br></div><div><br></div><div><div>$ time hg push <a href="https://ThurnerRupert">https://ThurnerRupert</a>@<a href="http://bitbucket.org/ThurnerRupert/gar4">bitbucket.org/ThurnerRupert/gar4</a></div>
<div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>http authorization required</div><div>realm: Bitbucket.org HTTP</div><div>user: ThurnerRupert</div><div>password: </div><div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>pushing to <a href="https://ThurnerRupert">https://ThurnerRupert</a>@<a href="http://bitbucket.org/ThurnerRupert/gar4">bitbucket.org/ThurnerRupert/gar4</a></div><div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>searching for changes</div><div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>warning: <a href="http://bitbucket.org">bitbucket.org</a> certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)</div>
<div>remote: adding changesets</div><div>remote: adding manifests</div><div>remote: adding file changes</div><div>remote: added 927 changesets with 1858 changes to 293 files</div><div>remote: bb/acl: ThurnerRupert is allowed. accepted payload.</div>
<div><br></div><div>real<span class="Apple-tab-span" style="white-space:pre">        </span>2m7.704s</div><div>user<span class="Apple-tab-span" style="white-space:pre">        </span>0m1.840s</div><div>sys<span class="Apple-tab-span" style="white-space:pre">        </span>0m0.104s</div>
</div><div><br></div><div><br></div><div>rupert.</div><div><br></div></div></div>