Commit 2df7394
committed
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.1 parent 4286227 commit 2df7394
1 file changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
| 1066 | + | |
1071 | 1067 | | |
1072 | 1068 | | |
1073 | 1069 | | |
| |||
1345 | 1341 | | |
1346 | 1342 | | |
1347 | 1343 | | |
1348 | | - | |
1349 | | - | |
1350 | | - | |
| 1344 | + | |
1351 | 1345 | | |
1352 | | - | |
1353 | | - | |
| 1346 | + | |
| 1347 | + | |
1354 | 1348 | | |
1355 | 1349 | | |
| 1350 | + | |
1356 | 1351 | | |
1357 | 1352 | | |
1358 | 1353 | | |
| |||
0 commit comments