Commit e6056cf
committed
chore(bench): use mimalloc as global allocator in bench crate (#8844)
The bench crate was using the system allocator instead of mimalloc, making benchmark results unrepresentative of production performance. Adds `mimalloc-safe` as a dependency and sets `#[global_allocator]` so benchmarks match the actual NAPI bindings allocator configuration.1 parent c35b547 commit e6056cf
3 files changed
+5
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
0 commit comments