show log is extremely slow
By mwisni... on September 08, 2010 00:51 (imported from Google Code)
What steps will reproduce the problem?
- clone git://git.kernel.org/pub/scm/git/git.git
- use "Show log" menu
- wait ridiculous amount of time locally (10min?) or forever (hours?) when working on network drive.
What is the expected output? What do you see instead?
gitk shows same output in 10s locally or 20s from network drive.
What version of the product are you using? On what operating system?
TortoiseGit 1.5.3.0
git version 1.7.0.2.msysgit.0
Please provide any additional information below.
TortoiseProc.exe maxes out single CPU but does rather slow IO. Using procmon.exe I have observed that it constantly (1000s of times per second) re-reads .gitattributes files.
Stack summary (Location, CPU-time):
TortoiseProc.exe 100%
- ntdll.dll+0x33021 100%
- kernel32.dll+0x1f56d 100%
- Hunspell::get_csconv+0x180ae 0%
- MSVCR90.dll+0x2fdf 99%
- mfc90u.dll+0x6db3d 99%
- Hunspell::get_csconv+0x8ead3 99%
- Hunspell::get_csconv+0x8e894 99%
- TortoiseProc.exe+0x8dc5b 99%
- git_diff+0x35 2%
- git_diff+0x4e 21%
- git_check_excluded_1 21%
- git_diff+0x90 76%
- git_check_excluded_1 76%
- TortoiseProc.exe+0x8dc5b 99%
- Hunspell::get_csconv+0x8e894 99%
- Hunspell::get_csconv+0x8ead3 99%
- mfc90u.dll+0x6db3d 99%
- kernel32.dll+0x1f56d 100%
a lot of calls to git_check_excluded_1 follows below.