Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2] macos: lazily initialize iconv

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:28

Torsten Bögershausen [off-list ref] writes:
After cloning, I set "git config core.precomposeunicode true".

git is v1.7.12.rc2,
git_git/git is with your patch.

git v1.7.12.rc2:
tb@birne:~/projects/git/linux-2.6> for f in 1 2 3 4 5; do time git status  ; done 2>&1 | egrep "^user|^real|^sys"
real    0m0.460s
user    0m0.283s
sys     0m0.176s

With lazy init of iconv:
tb@birne:~/projects/git/linux-2.6> for f in 1 2 3 4 5; do time ~/projects/git/git_git/git status  ; done 2>&1 | egrep "^user|^real|^sys"

real    0m0.462s
user    0m0.281s
sys     0m0.177s
Thanks.

So in short, even in a tree that theoretically should benefit from
lazy initialization, it does not make things better in any measuable
way.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help