]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-150258: Show relative percentage on Tachyon flamegraph (GH-150266) (#150312)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 23 May 2026 15:30:19 +0000 (17:30 +0200)
committerGitHub <noreply@github.com>
Sat, 23 May 2026 15:30:19 +0000 (15:30 +0000)
commit6f993631501eef77ab4bad6a4f9b5ea1f6351c89
tree9398696b38a7c10c69af4d22d49e74321251259a
parentca59d7511e2484fc55b1686b5a8e745322db73ec
[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 fad06746051f6bd95a255d49e38ebf049e965109)

Co-authored-by: Eduardo Villalpando Mello <eduardovil@microsoft.com>
Lib/profiling/sampling/_flamegraph_assets/flamegraph.js
Misc/NEWS.d/next/Tools-Demos/2026-05-22-18-51-09.gh-issue-150258.dh8GVK.rst [new file with mode: 0644]