msysgit/git — pull request #36 by kblees (2012-10-24 17:37:00+00:00)
Title: Improve git-status performance

I finally managed to clean up my (fairly old) file system cache code, so here's the first version I consider worthy of review...if anyone finds the time :-)

See also: https://groups.google.com/d/topic/msysgit/fL_jykUmUNE/discussion

Improvements vs. the kb/fscache-v2 branch:
- commented fscache.[ch]
- improved thread synchronization
- better error handling (mirroring dirent.c)
- compiles and works with MSVC

Some current 'git status' statistics using the WebKit repository (~2G in ~200.000 files):
```
preload | -u | no cache | cache | gain
--------+-----+----------+---------+------
false | all | 12.03 | 3.00 | 4.0
false | no | 9.34 | 1.84 | 5.1
true | all | 4.95 | 2.14 | 2.3
true | no | 2.68 | 1.03 | 2.6
```
Note: I haven't been able to reproduce the uber-statistics I posted in February (with any version), so I guess these were due to disk fragmentation or the virus scanner, sorry.