msysgit/git — pull request #37 by kblees (2012-10-26 11:06:08+00:00)
Title: Win32: add performance tracing to facilitate optimizing scripted commands

I just added this to check Albert's fscache improvements...might come in handy as a general feature.

Especially scripted git commands are still quite slow on Windows. Add
performance tracing to identify which commands are called by a script and
how long they execute.

Usage:
> GIT_TRACE_PERFORMANCE=C:/git.log git svn rebase
creates a log file like this:
trace: time: 0.001000 s, command: git.exe rev-parse --show-prefix
trace: time: 0.001219 s, command: git.exe config --bool --get svn.fetchall
...

Signed-off-by: Karsten Blees