<div dir="ltr"><div class="gmail_extra">That is odd, I was interested, and just tried cloning</div><div class="gmail_extra"><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div class="gmail_extra"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ time git clone <a href="https://gitlab.kitware.com/ben.boeckel/c">https://gitlab.kitware.com/ben.boeckel/c</a></span>mb-lfs-test.git<br></span></div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">real 0m39.754s
</span><br>user 0m7.284s
<br>sys 0m3.038s<br></span>
<br>This is with git <span style="font-family:monospace"><span style="color:rgb(0,0,0)">2.13.3</span><br></span><br><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ time git lfs clone <a href="https://gitlab.kitware.com/ben.boeck">https://gitlab.kitware.com/ben.boeck</a></span>el/cmb-lfs-test.git<br></span><span style="font-family:monospace"><span style="color:rgb(0,0,0)">
</span><br>real 0m18.448s
<br>user 0m11.474s
<br>sys 0m3.975s<br></span><br>Definitely faster, and easier to follow output, but both pretty fast from 21 on a desktop Linux machine.<br><br><div class="gmail_quote">On Tue, Jul 25, 2017 at 1:24 PM, Haocheng Liu <span dir="ltr"><<a href="mailto:haocheng.liu@kitware.com" target="_blank">haocheng.liu@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Using <b>git lfs clone</b> with git-lfs 2.2.1+ git 2.13, it takes me about 1 minute to download the data. With simple <b>git clone</b>, it feels like taking forever...</div><div class="gmail_extra"><div><div class="gmail-h5"><br><div class="gmail_quote">On Tue, Jul 25, 2017 at 11:54 AM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Tue, Jul 25, 2017 at 11:09:27 -0400, David Thompson wrote:<br>
> The previous version (only 1 file used git-lfs) cloned in 8 minutes. I<br>
> am over 32 minutes into cloning the new version and barely half-way<br>
> through (by total size). Even if newer versions of git/git-lfs are<br>
> faster (I am using the macos-provided 2.11.0 and homebrew git-lfs<br>
> 1.5.3), will it be enough?<br>
<br>
</span>OK, this seems like a KHQ/KRS difference, nothing inherent. It cloned<br>
here in seconds (separate clone/fetch steps for the LFS data took ~30<br>
seconds).<br>
<br>
Versions I'm using:<br>
<br>
git 2.9.4<br>
git-lfs 1.5.5<br>
<br>
Starting with 2.11.0, git can run filters through a single process<br>
(rather than a new process per filtered path).<br>
<br>
Note that there is also `git lfs clone` which defers content download<br>
until after the non-LFS data is downloaded. What's the performance of<br>
that? How about a clone without LFS at all and then followed by:<br>
<br>
git lfs fetch<br>
git lfs checkout<br>
<br>
?<br>
<span class="gmail-m_8153538349071431337HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span><div class="gmail-m_8153538349071431337HOEnZb"><div class="gmail-m_8153538349071431337h5">______________________________<wbr>_________________<br>
Smtk-developers mailing list<br>
<a href="mailto:Smtk-developers@smtk.org" target="_blank">Smtk-developers@smtk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/smtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/smtk-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="gmail-HOEnZb"><font color="#888888">-- <br><div class="gmail-m_8153538349071431337gmail_signature"><div dir="ltr"><div><div dir="ltr">Best regards<div>Haocheng</div><div><br></div><div>Haocheng LIU</div><div><span style="color:rgb(0,0,0);font-size:12.8px">Kitware, Inc.</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">R&D Engineer</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">21 Corporate Drive</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Clifton Park, NY 12065-8662</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Phone: </span><a href="tel:(518)%20881-4421" value="+15188814443" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">518-881-4421</a><br></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Smtk-developers mailing list<br>
<a href="mailto:Smtk-developers@smtk.org">Smtk-developers@smtk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/smtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/smtk-<wbr>developers</a><br>
<br></blockquote></div><br></div></div>