Open holomorph opened 8 years ago
You can use --depth 1
to improve speed.
~/tmp/ time git clone https://github.com/5digits/dactyl dactyl
Cloning into 'dactyl'...
remote: Counting objects: 51155, done.
remote: Total 51155 (delta 0), reused 0 (delta 0), pack-reused 51155
Receiving objects: 100% (51155/51155), 139.06 MiB | 2.67 MiB/s, done.
Resolving deltas: 100% (5153/5153), done.
Checking connectivity... done.
4.68user 1.65system 1:14.80elapsed 8%CPU (0avgtext+0avgdata 12064maxresident)k
16inputs+293896outputs (0major+5816minor)pagefaults 0swaps
~/tmp/ time git clone --depth 1 https://github.com/5digits/dactyl dactyl2
Cloning into 'dactyl2'...
remote: Counting objects: 246, done.
remote: Compressing objects: 100% (224/224), done.
remote: Total 246 (delta 4), reused 164 (delta 2), pack-reused 0
Receiving objects: 100% (246/246), 682.00 KiB | 392.00 KiB/s, done.
Resolving deltas: 100% (4/4), done.
Checking connectivity... done.
0.04user 0.03system 0:02.83elapsed 2%CPU (0avgtext+0avgdata 8484maxresident)k
0inputs+7680outputs (0major+2329minor)pagefaults 0swaps
From 1:14.80 to 0:02.83.
Yeah, who needs history anyways!
Hi, cloning the repo downloads 130M of stuff. GC'ing the repo brings the size down to 13M. I'm guessing the bloat is left over from the hg-to-git switch. You can contact github and ask them to GC the repo. It would be much appreciated.