Skip to content

perf: adopt mimalloc-pprof as the sole allocator - #98

Merged
zackees merged 1 commit into
mainfrom
feat/issue-94-mimalloc-pprof
Aug 27, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/issue-94-mimalloc-pprof

Conversation

@zackees

@zackees zackees commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Closes #94
Refs #97
Refs #88

Result

  • pins mimalloc-pprof =0.9.5 exactly from crates.io with default features disabled
  • makes MiMalloc the sole global allocator
  • maps sampled pprof explicitly and exposes exact internal DHAT diagnostics without the external dhat allocator
  • adds exact dependency-identity enforcement and the developer-approved baseline update
  • documents hook-free timing versus diagnostic modes across platform guidance

RED -> GREEN evidence

  • focused allocator/dependency policy: 8 passed
  • full CI Python suite: 179 passed
  • cargo fmt --check: passed
  • cargo clippy --workspace --all-targets --all-features --locked -D warnings: passed
  • cargo deny licenses: passed
  • dependency policy: passed
  • Bosn route: 42/42
  • Bosn smoke: native fast plus Thin/full-LTO outputs executed successfully
  • Bosn allocator equivalence: system/default/pprof/DHAT each linked twice with identical SHA-256 bb549a8592641197a246c2651e9d968fd427e8a26cd811e87ab7ca697013ece3; native execution passed; failed-link DHAT emitted output
  • Bosn full corpus compiled and ran: 198 passed, 600 ignored, 27 existing environment/reference-linker failures (nightly/musl availability, older lld behavior, known baseline differences), with no allocator/configuration failure

No performance improvement is claimed by this PR. Authoritative timing belongs to the randomized benchmark phase in #97.

@zackees
zackees merged commit e086867 into main Aug 27, 2026
13 checks passed
@zackees
zackees deleted the feat/issue-94-mimalloc-pprof branch August 27, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 1a: vendor mimalloc-pprof and make it reld's Linux allocator

1 participant