Commit Graph
14 Commits
Author SHA1 Message Date
6f99363150 [3.15] gh-150258: Show relative percentage on Tachyon flamegraph (GH-150266) (#150312)
gh-150258: Show relative percentage on Tachyon flamegraph (GH-150266)

When running profiling, users rarely care about the global percentage of
the runtime. Often, they want to select a function and measure child
percentages relative to that.

This PR updates the flamegraph tooltips to show both "Percentage" and
"Relative Percentage" when the user clicks a specific function.
(cherry picked from commit fad0674605)

Co-authored-by: Eduardo Villalpando Mello <[email protected]>
2026-05-23 15:30:19 +00:00
ivonastojanovicandGitHub d4eee16659 gh-142927: Show module names instead of file paths in flamegraph (#146040) 2026-04-29 10:00:07 +01:00
ivonastojanovicandGitHub 993e204ad4 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.
2026-04-28 17:42:21 +01:00
ivonastojanovicandGitHub 4ff8b07a3d gh-142927: Show self time in flamegraph tooltip (#147706)
We already show self time in differential flamegraphs, but it should
be included in regular flamegraphs as well. Display the time spent
in the function body excluding callees, not just the total inclusive
time.
2026-04-04 20:55:05 +01:00
f4d3c61f36 gh-138122: Add differential flame graph (#145785)
Differential flame graphs compare two profiling runs and highlight where
performance has changed. This makes it easier to detect regressions
introduced by code changes and to verify that optimizations have the
intended effect.

The visualization renders the current profile with frame widths
representing current time consumption. Color is then applied to show the
difference relative to the baseline profile: red gradients indicate
regressions, while blue gradients indicate improvements.

Some call paths may disappear entirely between profiles. These are
referred to as elided stacks and occur when optimizations remove code
paths or when certain branches stop executing. When elided stacks are
present, an "Elided" toggle is displayed, allowing the user to switch
between the main differential view and a view showing only the removed
paths.

Co-authored-by: Pablo Galindo Salgado <[email protected]>
2026-03-30 12:31:06 +01:00
Hugo van KemenadeandGitHub 368a26777a gh-142927: Detect system theme in flame graph like in heatmap (#144885) 2026-03-10 13:38:48 +02:00
ivonastojanovicandGitHub 59ede34c8c gh-138122: Convert GIL/GC/exception stats from tiles to progress bars (#143177) 2025-12-25 18:22:54 +00:00
Stan UlbrychandGitHub 40ac3a9343 gh-138122: Tachyon Flamegraph: Make toggle keyboard accesible and adjust sidebar collapse CSS (#142638) 2025-12-12 17:27:12 +00:00
Stan UlbrychandGitHub 340a684674 gh-138122: Add docs button to Tachyon heatmap and flamegraph (#142614) 2025-12-12 15:06:28 +00:00
3b3838823a gh-138122: Add inverted flamegraph (#142288)
Co-authored-by: Pablo Galindo Salgado <[email protected]>
2025-12-12 01:36:28 +00:00
Stan UlbrychandGitHub 2eca80ffab gh-138122: Make Tachyon flamegraph and heatmap output more similar (#142590) 2025-12-11 21:28:42 +00:00
Pablo Galindo SalgadoandGitHub 6a0135a392 gh-138122: Add exception profiling mode to the sampling profiler (#142561) 2025-12-11 20:46:34 +00:00
Pablo Galindo SalgadoandGitHub 5b19c75b47 gh-138122: Make the tachyon profiler opcode-aware (#142394) 2025-12-11 03:41:47 +00:00
8801c6dec7 gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680)
Co-authored-by: Ivona Stojanovic <[email protected]>
2025-12-02 20:33:40 +00:00