Skip to content

Commit 6f2eb91

Browse files
committed
fix: do not automatically use a parallel directory walk.
This reduces dependencies and can speed-up typical ref-walks as these don't benefit from this many threads - the overhead here usually outweighs the benefit. This can be turned back on based on the expected workload.
1 parent 7c8f409 commit 6f2eb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ max-control = ["parallel", "pack-cache-lru-static", "pack-cache-lru-dynamic"]
208208
## on some platforms.
209209
## Note that this configuration still uses a pure Rust zlib implementation which isn't the fastest compared to its C-alternatives.
210210
## No C toolchain is involved.
211-
max-performance-safe = ["max-control", "parallel-walkdir"]
211+
max-performance-safe = ["max-control"]
212212

213213
## If set, walkdir iterators will be multi-threaded which affects the listing of loose objects and references.
214214
## Note, however, that this will use `rayon` under the hood and spawn threads for each traversal to avoid a global rayon thread pool.

0 commit comments

Comments
 (0)