On Tue, 14 Aug 2007, Marius Storm-Olsen wrote:
git-status got a 1.6X speed-up, and git-commit on a single file got a 2.5X
speed-up. However, git-add and git-commit of all 100K files got a slight
slowdown.
The slight slowdown might be noise in the measurements (for example, just
IO differences due to layout changes). Did you run it multiple times both
ways to see how stable the numbers are? The changes really shouldn't have
any visible slowdown, ever.
(Of course, it may be that something else changed, or simply things like
code layout changed cachelines etc, so small performance differences can
be due to any number of other factors too).
Linus