Skip to content

Add optional dhat heap profiling#291

Open
markusz wants to merge 2 commits intoduncaneddy:mainfrom
markusz:dev/dhat-heap-profiling
Open

Add optional dhat heap profiling#291
markusz wants to merge 2 commits intoduncaneddy:mainfrom
markusz:dev/dhat-heap-profiling

Conversation

@markusz
Copy link
Copy Markdown
Contributor

@markusz markusz commented Apr 19, 2026

Pull Request

Description

Adds dhat heap profiling support to benchmarks behind a dhat-heap feature flag. Enables detailed allocation profiling without affecting normal benchmark or release builds.

Changelog

Fill in at least one section below. Entries will be automatically converted to changelog fragments when this PR is merged. Sections follow the Keep a Changelog convention; see the versioning policy for how deprecations and removals flow across releases.

Added

  • dhat as a dev dependency with dhat-heap feature flag for heap profiling in benchmarks

Changed

None

Deprecated / Future Warning

None

Removed

None

Fixed

None

Related Issue

Used in #280 to profile performance

Note to Reviewers

Opt-in via cargo bench --features dhat-heap --bench propagator_benchmarks -> no effect on normal builds.

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.

1 participant