Skip to content

Releases

wperf 0.12.1.11

Choose a tag to compare

@github-actions github-actions released this 18 Nov 03:40

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.

wperf 0.12.0.10

Choose a tag to compare

@github-actions github-actions released this 17 Nov 14:16

wperf 0.12.0

This release makes symbol resolution easier to diagnose and adds a native,
self-contained HTML workflow for CPU and off-CPU FlameGraphs. The existing
flamegraph.pl SVG workflow remains supported.

Highlights

  • Added report --flamegraph and the standalone wperf flamegraph command for
    interactive HTML FlameGraphs generated without Perl, external JavaScript, or
    network access.
  • Added symbol diagnostics for DbgHelp, effective symbol search paths, the
    persistent .symcache, resolution layers, module rejection reasons, and
    missing PDB/PE details.
  • Fixed --symbol-path so explicit local paths augment _NT_SYMBOL_PATH instead
    of replacing it. This restores Microsoft symbol-server lookup for modules such
    as kernel32.dll and ntdll.dll.
  • Made --symbol-path repeatable and added semicolon-separated multi-path
    values for mixed local and symbol-server workflows.

Interactive FlameGraph HTML

CPU, PMC, and off-CPU reports can now be rendered directly:

wperf report -i cpu.etl --symbol-path .\symbols --flamegraph -o cpu.html
wperf report -i sched.etl --off-cpu --flamegraph -o offcpu.html
wperf flamegraph -i stacks.folded -o stacks.html

The generated page supports:

  • click-to-inspect frame details, including function, module, and module identity;
  • double-click zoom, drag range selection, breadcrumb navigation, and reset;
  • search with Enter/Shift+Enter navigation;
  • minimum-percentage filtering and current-view SVG/PNG export;
  • stack copying with one frame per line and folded-stack copying;
  • horizontal scrolling for long stack frames instead of confusing wrapped text.

SVG/PNG exports contain the current filtered and focused view, not only the
initial graph. HTML generation is a presentation feature and does not change the
stable JSON/CSV output contracts.

Symbol diagnostics

report --verbose now reports:

  • the DbgHelp version and effective symbol path source;
  • explicit and environment symbol paths;
  • the .symcache location and cache byte usage;
  • memory, persistent-cache, and DbgHelp resolution counts;
  • unresolved addresses, module totals, and rejected/missing-PDB module details.

report --json --metadata exposes the same information under symbols. Full
local paths are retained intentionally because this is local troubleshooting
data. doctor --bundle creates a bundle for review; it does not automatically
redact user paths or environment-derived symbol-server credentials. Review a
bundle before sharing it.

Compatibility and behavior changes

  • Explicit --symbol-path values are now prepended to _NT_SYMBOL_PATH rather
    than replacing it.

  • --symbol-path accepts multiple paths, with repeatable options and semicolon
    separation.

  • CPU and off-CPU report --json --metadata responses add a symbols object.
    Consumers should tolerate additive fields as documented by the public
    contract.

  • report --folded remains available for external SVG generation. For example:

    wperf report -i app.etl --weight samples --folded -o stacks.folded
    perl flamegraph.pl stacks.folded > stacks.svg

Validation

The release workflow builds and tests the x64 Release configuration and requires
WPERF_REQUIRE_LIVE_TESTS=1. The local elevated validation completed all 74 CTest
entries, including the live ETW, PMC, symbol-image, and diagnostics paths.
Release assets include wperf.exe, wperf.pdb, manifest.json, and
SHA256SUMS.txt.

Known limitations

  • Hardware-specific PMC and live ETW behavior still depends on the Windows
    version, CPU family, and available ETW providers.
  • Symbol-server access depends on a valid _NT_SYMBOL_PATH and network/proxy
    configuration. First-time downloads from a slow or unreachable symbol server
    can significantly delay reports; cached PDBs and local symbol paths avoid that
    wait. Partial symbol-download recovery remains future work.
  • HTML FlameGraph is a local artifact; it does not provide multi-user
    collaboration or server-side storage.
  • flamegraph.pl remains the supported route when an external SVG file is
    required.

wperf 0.11.0.9

Choose a tag to compare

@github-actions github-actions released this 17 Nov 02:37

Full Changelog: v0.10.0.0...v0.11.0.9

wperf 0.10.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 08:10
  • Added dedicated DPC, ISR, native heap, kernel pool, and driver ETW capture profiles and text/JSON/CSV diagnostic reports.
  • Preserved system ownership for interrupts/pool, explicit allocation baselines and observed-unfreed semantics, and event-bounded driver call spans without inferring minifilter/device latency.
  • Corrected delayed start-rundown metadata to an initial process/thread/image baseline, restoring early interrupt-module and scheduler-context attribution.
  • Added selective diagnostic replay, bounded lifecycle/call correlation, schema/CLI/raw-payload regressions and elevated native workload smoke coverage.
  • Added pool tag snapshot discovery and required tag filtering; avoided unrelated high-rate memory/page-list events and labeled scheduler-derived driver contexts.
  • Avoided unnecessary per-driver-call stack walking and synchronized CLI help, generated reference, diagnostic contracts and compatibility documentation.

Usage and limits: heap capture requires an existing PID; pool capture requires a four-character tag (list --pool-tags discovers current usage). Heap module attribution uses an attach snapshot with explicit provenance. Observed live allocations do not prove leaks; driver call spans do not decompose minifilter/device latency. See diagnostic workflows and hardware validation.

Validation: Release x64, warnings as errors; both Zydis configurations passed 61 non-live and six elevated integration tests locally (67/67 each).

Full changelog

wperf 0.9.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 04:39
  • Preserved global image PID 0 in modern ETW image payloads instead of replacing it with the collector's header PID, restoring target kernel-module attribution in offline and live reports; added raw-payload/lifetime/report regressions.

  • Separated worker recovery checkpoints from controller status and validated guard checkpoint identity.

  • Corrected CPU table/tree/folded overhead to period weights; added --weight period|samples and --source, with whole-report fallback for unknown periods and rejection of mixed domains.

  • Applied I/O/PMC PID/TID/comm/children/CPU/time selection, preserved PMC baselines across filters, added PMC CSV, and unified loss/strict gates; incompatible options now fail explicitly.

  • Forwarded parsed record --pmc-counters sources to the worker; the typed-request conversion had silently dropped the counter list.

  • Finalized stream quality after consuming samples and distinguished unloaded stacks from missing stacks.

  • Waited for metadata-provider enablement before writing capture periods/counter sources, preventing successful writes that silently logged no metadata.

  • Added default diff --match symbol cross-build alignment and optional strict identity matching, with explicit added/removed rows.

  • Preserved recorded ETL module identity, separated local identity, and changed buildid status to matching/mismatched/missing.

  • Cached module metadata and optional local-file SHA256; buildid-list --hash now requests hashing instead of hashing every mapping by default.

  • Clipped inferred off-CPU intervals at thread/process exit and finalized derived quality counters.

  • Implemented script -o UTF-8/LF output and observation-delta thread stat output in text/JSON/CSV, retaining observed exited threads; corrected PMC name examples to use -e.

  • Updated help, generated command reference, usage, compatibility/public contracts, schemas, and regression tests together.

Compatibility: CPU/folded defaults use periods; use --weight samples for the prior count mode. Diff defaults to symbol matching; use --match identity for prior keys. Buildid PE fields now describe the capture, status values changed, and hashes require --hash; CSV adds local-identity/hash columns. These pre-1.0 default/meaning changes are released as a minor version rather than a compatible patch.

Known limits: ETW PMC values are sample-derived; Intel LBR requires supported hardware. ARM64 context decoding and broad VBS/HVCI and multi-processor-group hardware validation remain pending. See compatibility and hardware validation.

Full changelog

wperf 0.8.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 18:28

Full Changelog: v0.8.1.0...v0.8.2.0

wperf 0.8.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 11:57

Full Changelog: v0.8.0...v0.8.1.0

wperf 0.8.0.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 16:04

What's Changed

  • Fix profiling correctness and accelerate offline reports by @0cch in #6

New Contributors

  • @0cch made their first contribution in #6

Full Changelog: https://github.com/0cch/wperf/commits/v0.8.0.1