On 20 apr 2008, at 00:54, Linus Torvalds wrote:
Pieter? Assuming the lstat() cost is the dominant one, it should cut
down
your "git status ." cost by about 15-20% or so. Can you confirm?
The number of lstats are cut down by your patch: 428761 vs. 338091.
Funnily enough, there is no significant difference in run-time:
Command Mean Std
git status . 13.970 1.298
/Users/pieter/projects/External/git/git-status . 13.759 0.321
System times are also approximately the same (10.79s vs 10.43s).
- Pieter
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html