Running Git on a SSD Speed Comparison
benjamin-meyer.blogspot.com
benjamin-meyer.blogspot.com
This was a fun little article. No doubt someone else can come along and create a full blown in depth with every git command on different OS's showing just how much faster everything is. I knew git should be faster (as it is lots of io), just wanted some (basic) data to back it up rather than just saying it "should be" and thought this might be useful for others.
"axis"/"axes" are at the bottom of the Parameters table. Or, have you tried the wizard?
1: "The git add took around ten minutes to run on the hard drive compared to the 40 seconds for the ssd. Committing was also 1/3 of the time taking only 20 seconds v.s. over a minute."
2: "the seven seconds saved wasn't that much compared to the seven minutes the server (a slow arm based box) was preparing the repo."
etc. And further down there's a chunk of the actual values.
They're weird graphs in general though, with 3 statuses and text that mentions that "status" runs in 2x faster, which is only backed up by one of those status-pairs.
That said, git isn't terrible with large repos on an HD, but you'll want to make sure your repo is well packed and you'll also notice a big difference between the cold-cache and warm-cache cases.
BTW, when benchmarking git, it's helpful to have the output of "git count-objects -v" to understand how the repo is packed. It's also good to take the best of 3 runs to eliminate the cold-cache case.
Good article.
It's not really surprising that the bottleneck in compilation is the CPU rather than IO.
My disk seems to get hammered during compiles...