mirror of
https://github.com/python/cpython.git
synced 2026-06-27 21:33:21 -04:00
6f99363150
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 <eduardovil@microsoft.com>