Ryan Liptak
39f192d54e
fs: Reduce IterableDir.Iterator buf size to 1024
...
This was sized large so that `getdents` (and other platforms' equivalents) could provide large amounts of entries per syscall, but some benchmarking seems to indicate that the larger 8192 sizing doesn't actually lead to performance gains outside of edge cases like extremely large amounts of entries within a single directory (e.g. 25,000 files in one directory), and even then the gains are minimal ('./walk-8192 dir-with-tons-of-entries' ran 1.02 ± 0.34 times faster than './walk-1024 dir-with-tons-of-entries').
Note: Sizes 1024 and 2048 had similar performance characteristics, so the smaller of the two was chosen.
2022-10-05 16:05:02 -07:00
..
2022-04-27 11:10:52 +02:00
2022-09-29 14:41:39 +03:00
2022-09-29 21:45:30 +03:00
2022-09-29 21:45:30 +03:00
2022-09-16 14:46:53 -04:00
2022-05-09 18:51:46 +02:00
2022-08-22 11:19:20 +03:00
2022-08-22 11:19:20 +03:00
2022-10-05 03:26:13 -07:00
2022-08-22 11:19:20 +03:00
2022-09-12 18:13:24 -07:00
2022-05-11 15:43:18 -04:00
2022-08-27 11:17:48 +03:00
2022-07-23 13:52:16 +03:00
2022-09-29 21:42:56 +03:00
2022-09-29 21:45:30 +03:00
2022-05-04 21:26:48 +02:00
2022-07-13 16:10:41 -07:00
2022-10-03 22:48:57 -04:00
2022-08-30 13:02:17 +03:00
2022-08-02 19:22:09 -07:00
2022-06-25 21:27:56 -07:00
2022-08-22 11:19:20 +03:00
2021-12-16 19:08:58 -08:00
2022-01-01 12:47:08 +00:00
2021-10-04 23:48:55 -07:00
2022-08-22 13:55:00 +03:00
2022-07-26 11:25:49 -07:00
2022-10-03 23:43:09 -04:00
2022-10-03 22:57:53 -04:00
2022-09-16 14:46:53 -04:00
2021-11-30 23:32:47 +00:00
2022-04-19 19:42:15 -05:00
2022-09-29 21:45:30 +03:00
2022-09-13 18:36:39 -07:00
2022-08-16 20:35:03 +03:00
2022-05-11 18:41:23 -06:00
2022-03-01 13:28:47 -05:00
2022-09-29 21:45:30 +03:00
2022-09-29 21:45:30 +03:00
2022-09-29 21:45:30 +03:00
2022-10-03 12:59:47 +03:00
2022-08-31 19:30:51 +02:00
2022-06-11 23:49:33 +03:00
2021-08-24 12:25:09 -07:00
2022-07-01 13:18:08 +02:00
2021-11-30 23:32:47 +00:00
2022-09-20 19:05:00 -07:00
2022-08-23 21:11:02 -07:00
2022-05-27 16:43:33 -04:00
2022-08-27 11:17:48 +03:00
2022-09-27 13:21:01 +03:00
2021-09-01 17:54:06 -07:00
2021-11-30 23:32:47 +00:00
2022-09-29 21:45:30 +03:00
2022-10-05 16:05:02 -07:00
2022-09-16 14:46:53 -04:00
2022-01-07 00:06:06 -05:00
2022-08-22 11:19:20 +03:00
2022-05-11 15:43:18 -04:00
2022-09-07 22:42:57 +02:00
2022-09-20 00:50:13 +03:00
2022-08-22 11:19:20 +03:00
2022-09-11 23:18:43 -04:00
2022-09-16 14:46:53 -04:00
2022-09-18 10:00:04 +02:00
2022-10-01 13:46:20 +03:00
2022-09-20 00:50:13 +03:00
2022-09-27 18:42:20 +03:00
2022-09-16 14:46:53 -04:00
2022-07-25 22:04:30 +03:00
2021-11-09 18:31:03 -07:00
2022-09-15 22:54:17 -04:00
2022-08-22 11:19:20 +03:00
2022-08-17 16:36:02 -04:00
2022-09-16 14:46:53 -04:00
2022-09-16 14:46:53 -04:00
2022-09-14 14:42:58 -07:00
2022-05-26 21:58:19 -07:00
2022-09-29 21:45:30 +03:00
2022-06-03 20:21:20 +03:00
2022-07-25 22:04:30 +03:00
2022-09-07 15:22:30 +03:00
2022-03-10 13:13:17 -05:00
2021-12-19 00:24:45 -05:00
2022-09-07 22:42:55 +02:00
2022-05-11 15:43:18 -04:00
2022-08-29 14:10:59 -07:00
2022-09-29 21:40:25 +02:00
2022-09-12 18:13:24 -07:00
2022-05-27 16:43:33 -04:00
2022-04-15 17:01:01 -05:00
2022-06-17 21:04:21 +03:00
2022-06-11 11:02:56 +03:00
2022-01-07 00:06:06 -05:00
2022-01-04 17:59:05 +01:00
2022-06-11 23:49:33 +03:00
2022-09-13 20:26:04 -04:00