3 ms·
When dealing with a large repo, an SSD really helps, no doubt about it. When dealing with the Chromium repo on OS X, the difference is night and day noticeable,
by js2 16y ago
When dealing with a large repo, an SSD really helps, no doubt about it. When dealing with the Chromium repo on OS X, the difference is night and day noticeable, especially when grep'ing and traversing history (blame, log -S). It also especially helps when compiling large projects as the rest of the system stays usable.
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.