const MIN_BATCH_FILES: usize = 8;Expand description
Spawning rustfmt costs more than formatting a handful of files, so batches
below this size are not worth the extra parallelism. Measured on this repo,
one process per file is ~3x slower than batching.