git-for-windows / git Public
forked from git/gitPerformance profiling with Visual Studio
Johannes Schindelin edited this page Feb 13, 2017
·
2 revisions
Pages 50
Clone this wiki locally
A very powerful method to identify performance bottlenecks is performance profiling. Visual Studio (including the free-of-cost Community edition) offers convenient tools for that via the Debug>Performance Profiler... menu entry.
This space intentionally left blank for volunteers to fill in walkthroughs with screenshots, and links for further reading
Analyze the performance of a Git command specified as a command-line
- Open the "git.exe" file via File>Open
- Specify the arguments and the working directory via Debug>git Properties
- Debug>Performance Profiler...
Analyze executables compiled by GCC
Visual Studio obtains the debug information used in the output from ".pdb" files, but GCC does not generate debug information in that format.
However, the debug information can be extracted from the ".exe" files and be written out as ".pdb" file via the "cv2pdb" utility.
This is the Git for Windows wiki. See how-to-participate.

