Repository navigation
wperf 0.12.1
This patch release addresses the correctness issues found in the 0.12.0 audit
and makes the build configuration easier to maintain.
Fixes
- Fixed a CLI crash on accepted 4096-frame folded-stack input. FlameGraph data
now uses an indexed tree and iterative JSON serialization instead of recursive
native tree/JSON destruction and serialization. - Kept exact uint64 weights in generated HTML and copied stack data. Pixel-range
selections are explicitly marked approximate and are clamped to valid uint64
output. - Preserved canonical stack ancestors through zoom and range-selection views.
- Counted unmapped addresses in the global unresolved-symbol diagnostic instead
of silently excluding them from the total.
Build and validation
- Split the monolithic CMake configuration into project-option, target, test
helper, core test, CLI test, and fixture/runtime test modules. - Kept the public CTest names and test selectors stable.
- Added process-level 4096/4097 depth boundary tests, uint64-weight tests, and
a Node.js VM contract test for zoom/copy/range behavior. - Local Release build and non-live CTest suite passed.
Compatibility
No CLI syntax or JSON/CSV field was removed. The CMake module layout is an
internal build change; the documented configure and build commands remain valid.
The existing report --folded plus flamegraph.pl SVG workflow is unchanged.