Jemalloc tuning via Cargo config

This commit is contained in:
Michael Sproul
2022-03-07 18:47:05 +11:00
parent f93dfd0c28
commit e48ab54dcc
4 changed files with 21 additions and 3 deletions

4
.cargo/config.toml Normal file
View File

@@ -0,0 +1,4 @@
[env]
# Set the number of arenas to 16 when using jemalloc.
JEMALLOC_SYS_WITH_MALLOC_CONF = "abort_conf:true,narenas:16"