using mimalloc

This commit is contained in:
2026-08-09 14:09:06 +03:00
parent 230be64d04
commit e2133ce91a
3 changed files with 28 additions and 4 deletions
+5 -4
View File
@@ -19,6 +19,7 @@ sha2 = "0.11.0"
tokio = { version = "1.53.1", features = ["rt", "rt-multi-thread", "macros"] }
hex = "0.4.3"
zstd = "0.13.3"
mimalloc = "0.1.52"
[dev-dependencies]
criterion = "0.8.2"
@@ -27,7 +28,7 @@ criterion = "0.8.2"
name = "split_bench" # Имя файла в benches/ без расширения
harness = false # Отключаем стандартный тестовый раннер
#[profile.release]
#codegen-units = 1
#lto = true
#opt-level = 3
[profile.release]
codegen-units = 1
lto = true
opt-level = 3