<div>On Sun, Jun 19, 2011 at 15:04, Augie Fackler <span dir="ltr">&lt;<a href="mailto:durin42@gmail.com">durin42@gmail.com</a>&gt;</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>
&gt;<br>
&gt; fyi, i timed the conversion of a small repository from subversion to<br>
&gt; git-1.7.4 / hg-1.7.5.<br>
&gt;<br>
&gt;            git         hg<br>
&gt; --------------------------<br>
&gt; svn clone    18         31<br>
&gt; push          2          9<br>
&gt; (times in minutes)<br>
&gt;<br>
&gt; especially surprising was that mercurial was 4 times slower when<br>
&gt; pushing. the details .......<br>
&gt;<br>
&gt; $ 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>
&gt; gar<br>
&gt; ...<br>
&gt; real  18m14.018s<br>
&gt; user  2m19.037s<br>
&gt; sys   1m20.341s<br>
&gt;<br>
&gt; $ time git push origin master<br>
&gt; Counting objects: 5900, done.<br>
&gt; Delta compression using up to 2 threads.<br>
&gt; Compressing objects: 100% (5775/5775), done.<br>
&gt; Writing objects: 100% (5900/5900), 1.42 MiB | 2.31 MiB/s, done.<br>
&gt; Total 5900 (delta 4190), reused 0 (delta 0)<br>
&gt;<br>
&gt; To git@github.com:opencsw/gar.git<br>
&gt; * [new branch]      master -&gt; master<br>
&gt;<br>
&gt; real  1m57.673s<br>
&gt; user  0m2.308s<br>
&gt; sys   0m0.404s<br>
&gt;<br>
&gt;<br>
&gt; $ 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>
&gt; mgar/gar/v2 gar-hg<br>
&gt; ....<br>
&gt; pulled 927 revisions<br>
&gt; updating to branch default<br>
&gt; 228 files updated, 0 files merged, 0 files removed, 0 files unresolved<br>
&gt;<br>
&gt; real  31m8.127s<br>
&gt; user  9m13.095s<br>
&gt; sys   0m9.941s<br>
&gt;<br>
&gt;<br>
&gt; $ 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>
&gt; warning: <a href="http://gar.googlecode.com" target="_blank">gar.googlecode.com</a> certificate with fingerprint<br>
&gt; a9:be:c0:4a:da:1c:eb:4c:31:9d:78:27:48:99:f4:9c:9a:e8:53:c8 not<br>
&gt; verified (check hostfingerprints or web.cacerts config setting)<br>
&gt; 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>
&gt; searching for changes<br>
&gt; http authorization required<br>
&gt; realm: Google Code Mercurial Repository<br>
&gt; user: rupert.thurner<br>
&gt; password:<br>
&gt; warning: <a href="http://gar.googlecode.com" target="_blank">gar.googlecode.com</a> certificate with fingerprint<br>
&gt; a9:be:c0:4a:da:1c:eb:4c:31:9d:78:27:48:99:f4:9c:9a:e8:53:c8 not<br>
&gt; verified (check hostfingerprints or web.cacerts config setting)<br>
&gt; remote: Success.<br>
&gt;<br>
&gt; real  9m28.179s<br>
&gt; user  0m1.288s<br>
&gt; sys   0m0.244s<br>
<br>
</div></div>This push test isn&#39;t even remotely fair - you&#39;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 &quot;different&quot; ...</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>