<div dir="ltr">On a decent machine, on ethernet from an laptop sharing its WIFI, in a flat in Moscow ... two minutes and four seconds.<div><br></div><div>The actual .git directory is 523 MB. My total checkout is bigger than yours (1.1 GB), presumably because my disk has bigger clusters.</div><div><br></div><div>Using 'git clone --depth 1 <a href="https://github.com/joker-eph/llvm-unified">https://github.com/joker-eph/llvm-unified</a>' (i.e. without history ... but you can build head from it), it took 26 seconds to download 79.62 MB and the whole directory is 604 MB.</div><div><br></div><div>llvm is 202 MB, clang 117 MB, and compiler-rt 35 MB. Not including the other stuff would only save about 170 MB in the checkout (also savable with a sparse checkout)  and about 30 MB in the .git directory.</div><div><br></div><div>Also, running ...</div><div><br></div><div>git repack -a -d -f --depth=250 --window=250<br></div><div><br></div><div>.. on the original 523 MB .git checkout reduced it to 449 MB. This took 5m44s on an i7 6700K and needs to be done only once, before the initial push to github. Every user will then benefit from 74 MB of saved disk space and network bandwidth on the existing history, forever.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 23, 2016 at 11:38 PM, David Chisnall via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 23 Jul 2016, at 03:39, Mehdi Amini <<a href="mailto:mehdi.amini@apple.com">mehdi.amini@apple.com</a>> wrote:<br>
><br>
> I forgot to mention that I pushed the result there: <a href="https://github.com/joker-eph/llvm-unified/tree/cheri-unified" rel="noreferrer" target="_blank">https://github.com/joker-eph/llvm-unified/tree/cheri-unified</a><br>
> (History: <a href="https://github.com/joker-eph/llvm-unified/commits/cheri-unified" rel="noreferrer" target="_blank">https://github.com/joker-eph/llvm-unified/commits/cheri-unified</a> )<br>
<br>
</span>Thank you very much for doing this!  I’m now convinced that there’s a clean way to move from existing git clones to the unified repository.<br>
<br>
I think that we do need some decent documentation for how people with clones of the existing <a href="http://github.com/llvm-mirror" rel="noreferrer" target="_blank">github.com/llvm-mirror</a> repos produce a unified repository that they can then merge from upstream, but it looks pretty nice.<br>
<br>
It will require a bit of effort for us to update various scripts, CI jobs, and so on to make use of this, but it looks as if the end result will be a lot easier to work with and worth the transition pain.<br>
<br>
On a fast machine with a decent Internet connection, a fresh clone of this repo takes about one minute, 40 seconds, transfers 458.56MB and produces a directory that uses 876MB of disk space.  These numbers all look very reasonable.<br>
<br>
David<br>
<br>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>