[vtk-developers] Fast cloning of VTKExamples

Elvis Stansvik elvis.stansvik at orexplore.com
Mon Dec 4 02:34:06 EST 2017


Den 3 dec. 2017 7:40 em skrev "Bill Lorensen" <bill.lorensen at gmail.com>:

Folks,

I've been working on reducing the time and storage for cloning the
VTKExamples.

I will experiment with a way to use the clone depth for remote modules.

Here are some results comparing time to clone and amount of storage used.

time git clone git at github.com:lorensen/VTKExamples.git XXX
real     4m28.974s
user     5m18.285s
sys      0m29.902s

(du -f -s XXX)
1113420  XXX

time git clone --depth=1 git at github.com:lorensen/VTKExamples.git XXX
real 0m50.060s
user 0m7.288s
sys  0m7.051s

(cd XXX; du -f -s .)
654736   XXX


Very nice! I've been thinking of keeping a clone around and use `git grep`
instead of the web UI, and now I have even less excuses not to :)

 Elvis


Bill

--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/
opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtk-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20171204/c7b66c45/attachment.html>


More information about the vtk-developers mailing list