You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#! The reason these features exist is to allow optimization for compile time and optimize for compatibility by default. This means that some performance options around
142
142
#! SHA1 and ZIP might not compile on all platforms, so it depends on the end-user who compiles the application to chose these based on their needs.
143
143
144
-
## Activate features that maximize performance, like usage of threads, `zlib-ng` and access to caching in object databases, skipping the ones known to cause compile failures
145
-
## on some platforms.
146
-
max-performance-safe = [
144
+
## Activate features that maximize performance, like using threads, but leave everything else that might affect compatibility out to allow users more fine-grained
145
+
## control over performance features like which `zlib*` implementation to use.
146
+
## No C toolchain is involved.
147
+
max-control = [
147
148
"parallel",
148
149
"pack-cache-lru-static",
149
150
"pack-cache-lru-dynamic",
150
-
"gix-features/fs-walkdir-parallel"
151
151
]
152
152
153
+
## Activate features that maximize performance, like usage of threads, `and access to caching in object databases, skipping the ones known to cause compile failures
154
+
## on some platforms.
155
+
## Note that this configuration still uses a pure Rust zlib implementation which isn't the fastest compared to its C-alternatives.
156
+
## No C toolchain is involved.
157
+
max-performance-safe = [
158
+
"max-control",
159
+
"parallel-walkdir"
160
+
]
161
+
162
+
## If set, walkdir iterators will be multi-threaded which affects the listing of loose objects and references.
163
+
## Note, however, that this will use `rayon` under the hood and spawn threads for each traversal to avoid a global rayon thread pool.
164
+
## Thus this option is more interesting to one-off client applications, rather than the server.
0 commit comments