[Tiny Feature] Valgrind Massif heap profiling target #284

Closed
opened 2026-03-08 03:20:03 +00:00 by john · 0 comments
Owner

Context

The debug build system supports Valgrind memcheck for memory error detection. Massif (Valgrind's heap profiler) would complement this by providing memory usage snapshots during benchmarks, helping identify allocation hotspots and memory growth patterns.

Proposal

Add make massif-test target that:

  1. Runs selected benchmark tests under valgrind --tool=massif
  2. Outputs .massif files to build-debug/
  3. Optionally runs ms_print for text-based visualization
  • #279 (memory safety audit meta-issue)
## Context The debug build system supports Valgrind memcheck for memory error detection. Massif (Valgrind's heap profiler) would complement this by providing memory usage snapshots during benchmarks, helping identify allocation hotspots and memory growth patterns. ## Proposal Add `make massif-test` target that: 1. Runs selected benchmark tests under `valgrind --tool=massif` 2. Outputs `.massif` files to `build-debug/` 3. Optionally runs `ms_print` for text-based visualization ## Related - #279 (memory safety audit meta-issue)
john closed this issue 2026-04-10 05:09:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
john/McRogueFace#284
No description provided.