]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150258: Show relative percentage on Tachyon flamegraph (#150266)
authorEduardo Villalpando Mello <eduardovil@microsoft.com>
Sat, 23 May 2026 12:31:26 +0000 (05:31 -0700)
committerGitHub <noreply@github.com>
Sat, 23 May 2026 12:31:26 +0000 (08:31 -0400)
commitfad06746051f6bd95a255d49e38ebf049e965109
treebddb8731f929a928887d99106104323d896b97be
parentb0a149a8c6c4118fa0afecfe8c37d7c3b8651865
gh-150258: Show relative percentage on Tachyon flamegraph (#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.
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]