SIGN IN SIGN UP

gh-142927: Fix inverted flamegraph width (#148568)

Fix inverted flamegraph width

The inverted view used thread presence as a proxy for self time.
This missed self samples on C-level wrapper frames like _run_code,
where the node's thread always appears in its children too. Those
samples were silently dropped, causing the chart to render narrower
than full width. Now uses the explicit self field on each node
instead of the thread heuristic.
I
ivonastojanovic committed
993e204ad44fd95ac522a7903f83a4bbe5d3af9c
Parent: 2b6a137
Committed by GitHub <noreply@github.com> on 4/28/2026, 4:42:21 PM