On Mon, Mar 18, 2013 at 09:44:20AM -0700, Junio C Hamano wrote:
FWIW, I am getting something like this on my
$ grep 'model name' /proc/cpuinfo | uniq -c
4 model name : Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz
The same "rev-list --objects --all >/dev/null", best of five:
[current master, compiled with -O2]
real 0m39.956s
user 0m39.562s
sys 0m0.396s
[revert 1a812f3 (i.e., go back to memcmp), -O2]
real 0m42.161s
user 0m41.879s
sys 0m0.284s
It could be that the difference may be how well memcmp() is
optimized, no? My box runs Debian with libc6 2.11.3-4 and gcc
4.4.5.
Yeah, that would make sense. I have libc6 2.13-38 and gcc 4.7.2 (debian
unstable).
-Peff