Takuto Ikuta
f0c36bff48
checkout.c: enable fscache for checkout again
...
This is retry of #1419 .
I added flush_fscache macro to flush cached stats after disk writing
with tests for regression reported in #1438 and #1442 .
git checkout checks each file path in sorted order, so cache flushing does not
make performance worse unless we have large number of modified files in
a directory containing many files.
Using chromium repository, I tested `git checkout .` performance when I
delete 10 files in different directories.
With this patch:
TotalSeconds: 4.307272
TotalSeconds: 4.4863595
TotalSeconds: 4.2975562
Avg: 4.36372923333333
Without this patch:
TotalSeconds: 20.9705431
TotalSeconds: 22.4867685
TotalSeconds: 18.8968292
Avg: 20.7847136
I confirmed this patch passed all tests in t/ with core_fscache=1.
Signed-off-by: Takuto Ikuta <tikuta@chromium.org >
2024-12-17 12:04:13 +01:00
..
2024-12-17 12:04:12 +01:00
2024-09-23 10:35:09 -07:00
2024-10-25 14:02:36 -04:00
2024-09-13 14:32:24 -07:00
2024-10-11 09:37:18 -07:00
2024-12-17 00:44:39 +01:00
2024-11-26 10:36:08 +09:00
2024-11-21 08:23:40 +09:00
2024-12-15 17:54:26 -08:00
2024-09-13 14:32:24 -07:00
2024-12-13 07:33:36 -08:00
2024-12-04 08:21:54 +09:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-12-03 12:38:49 +09:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-12-17 12:04:13 +01:00
2024-12-16 20:47:08 +01:00
2024-12-04 10:14:41 +09:00
2024-09-13 14:32:24 -07:00
2024-11-26 10:36:08 +09:00
2024-09-13 14:32:24 -07:00
2024-12-17 12:04:12 +01:00
2024-11-26 10:36:08 +09:00
2024-12-04 08:21:54 +09:00
2024-09-13 14:32:24 -07:00
2024-11-01 12:53:19 -04:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-12-06 15:18:21 +09:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-11-21 08:23:46 +09:00
2024-11-13 08:11:19 +09:00
2024-09-13 14:32:24 -07:00
2024-12-13 07:33:44 -08:00
2024-09-25 10:24:54 -07:00
2024-12-04 10:14:41 +09:00
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:32:24 -07:00
2024-12-04 08:21:54 +09:00
2024-11-20 14:42:57 +09:00
2024-12-13 07:33:44 -08:00
2024-09-13 14:33:30 -07:00
2024-11-04 22:37:52 -08:00
2024-09-13 14:32:24 -07:00
2024-11-21 08:23:44 +09:00
2024-11-26 10:36:08 +09:00
2024-12-15 17:54:31 -08:00
2024-11-21 08:23:45 +09:00
2024-10-14 12:33:02 -04:00
2024-09-23 10:35:09 -07:00
2024-09-24 10:54:39 -07:00
2024-11-04 22:37:51 -08:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-12-15 17:54:26 -08:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-12-04 10:32:20 +09:00
2024-09-13 14:32:24 -07:00
2024-09-24 10:54:39 -07:00
2024-11-26 10:36:08 +09:00
2024-12-17 00:43:41 +01:00
2024-12-04 08:21:54 +09:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-09-13 14:33:30 -07:00
2024-09-23 10:35:09 -07:00
2024-11-04 22:53:23 -08:00
2024-10-08 10:22:06 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-11-21 07:59:14 +09:00
2024-11-26 10:36:08 +09:00
2024-12-04 10:14:47 +09:00
2024-09-13 14:33:30 -07:00
2024-09-13 14:33:30 -07:00
2024-11-26 10:36:08 +09:00
2024-12-17 00:43:40 +01:00
2024-11-21 07:59:14 +09:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-12-04 10:31:46 +09:00
2024-09-23 10:35:09 -07:00
2024-09-30 11:23:05 -07:00
2024-09-13 14:32:24 -07:00
2024-09-30 11:23:09 -07:00
2024-10-17 16:10:54 -04:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-12-04 10:14:47 +09:00
2024-11-26 10:36:08 +09:00
2024-09-13 14:32:24 -07:00
2024-11-26 10:36:08 +09:00
2024-12-17 00:44:39 +01:00
2024-09-13 14:32:24 -07:00
2024-12-15 17:54:26 -08:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-11-21 07:59:14 +09:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-12-10 10:04:55 +09:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-13 14:32:24 -07:00
2024-09-23 10:35:09 -07:00
2024-12-15 17:54:26 -08:00
2024-09-23 10:35:09 -07:00