Skip to content

HeapScope 0.7.0 — Allocation flamegraphs

Latest

Choose a tag to compare

@theworker02 theworker02 released this 14 Aug 08:45
b82ac15

Turn snapshot allocation sites into folded stacks or Speedscope JSON so hot retainers are visible as a flame chart instead of a table.

heapscope snapshot --track-allocations -o snap.json
heapscope flamegraph snap.json --format speedscope -o alloc.json
  • HeapScope.flamegraph(snapshot, unit: :count)
  • CLI: heapscope flamegraph SNAPSHOT.json [--format folded|speedscope] [--unit count|bytes] [-o PATH]