Skip to content

Commit 47de1d6

Browse files
committed
fix: add mimalloc_v2_no_thp and mimalloc_v3_no_thp features to allocator configurations
1 parent 5525c71 commit 47de1d6

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/allocator-bench.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
- system
1818
- jemalloc
1919
- mimalloc_v2
20+
- mimalloc_v2_no_thp
2021
- mimalloc_v3
22+
- mimalloc_v3_no_thp
2123
tokio_multi_thread: [true, false]
2224
platform:
2325
- ubuntu-24.04-arm

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@ url = "=2.5.8"
8282
[features]
8383
# default = ["auto-allocator"]
8484
__mimalloc = ["dep:mimalloc"]
85-
auto-allocator = ["mimalloc_v3"]
85+
auto-allocator = ["dep:mimalloc"]
8686
dhat = ["dep:dhat"]
8787
jemalloc = ["dep:tikv-jemallocator"]
8888
mimalloc_v2 = ["__mimalloc", "mimalloc/v2"]
89+
mimalloc_v2_no_thp = ["mimalloc_v2", "mimalloc/no_thp"]
8990
mimalloc_v3 = ["__mimalloc"]
91+
mimalloc_v3_no_thp = ["mimalloc_v3", "mimalloc/no_thp"]
9092
tokio-multi-thread = []
9193
tui = [
9294
"dep:crossterm",

0 commit comments

Comments
 (0)