Files
git/builtin
Takuto Ikuta ce7699f6ef reset.c: enable fscache
In git reset --hard, unpack-trees() is called with oneway_merge().
oneway_merge calls lstat for each files in a repository.
It is bottleneck of git reset --hard, especially in large repository.

This patch improves time by using fscache.
In chromium repository, time of git reset --hard is changed like below.
I took 3 times stats in the repository.

master:
TotalSeconds: 21.0337971
TotalSeconds: 20.0046612
TotalSeconds: 20.6501752
Avg: 20.5628778333333

this patch:
TotalSeconds: 4.8552376
TotalSeconds: 4.8722343
TotalSeconds: 4.9268245
Avg: 4.88476546666667

Signed-off-by: Takuto Ikuta <tikuta@chromium.org>
2018-01-16 21:33:47 +09:00
..
2017-09-10 17:02:51 +09:00
2017-09-06 13:11:25 +09:00
2017-06-24 14:28:41 -07:00
2018-01-10 20:53:35 +01:00
2018-01-02 11:23:42 +01:00
2018-01-10 20:53:35 +01:00
2017-10-07 16:27:55 +09:00
2017-10-07 16:27:55 +09:00
2017-08-26 22:55:09 -07:00
2017-11-08 11:34:00 +09:00
2017-09-29 11:23:43 +09:00
2018-01-02 11:23:33 +01:00
2017-09-25 15:24:07 +09:00
2017-06-24 14:28:41 -07:00
2017-11-08 11:34:00 +09:00
2017-11-08 11:34:00 +09:00
2017-08-03 13:11:02 -07:00
2017-11-08 11:34:00 +09:00
2017-08-22 10:29:03 -07:00
2018-01-02 11:23:33 +01:00
2018-01-16 21:33:47 +09:00
2017-08-03 13:11:02 -07:00
2017-10-18 10:19:08 +09:00
2017-09-19 10:47:55 +09:00
2017-06-24 14:28:41 -07:00