quoted
quoted
"git status" calls ntohs function, which was loaded from ws2_32.dll
I've noticed that bswap.h contains implementation of ntohl htonl functions,
so I decided to add implementation of ntohs htons functions, which is
pretty trivial.
After that call to "git status" doesn't load ws2_32.dll
I am still not convinced of that patch, because the timings are still
missing.
Ciao,
Dscho
Oops, sorry for the noise (again).
"git status" calls ntohs function, which was loaded from ws2_32.dll
I've noticed that bswap.h contains implementation of ntohl htonl functions,
so I decided to add implementation of ntohs htons functions, which is
pretty trivial.
After that call to "git status" doesn't load ws2_32.dll
The following commands were run and timed, the
best of five results is shown:
for i in `seq 1 10`;
do
git status
git log -n2
git diff
done
before:
real 0m30.024s
user 0m0.105s
sys 0m0.425s
after:
real 0m29.578s
user 0m0.105s
sys 0m0.318s
The runtime of 'make -j2 test' went down from 35:19min
to 32:39min on my machine.