]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142927: Show self time in flamegraph tooltip (#147706)
authorivonastojanovic <80911834+ivonastojanovic@users.noreply.github.com>
Sat, 4 Apr 2026 19:55:05 +0000 (20:55 +0100)
committerGitHub <noreply@github.com>
Sat, 4 Apr 2026 19:55:05 +0000 (20:55 +0100)
commit4ff8b07a3d907c5a755a862a86496ed6c6fb2f3d
treed439750b6d4d054bb5917aa068f7e38dafbe3647
parentc43b490ca3f511bbdb3d462587db6c506a410036
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.
Lib/profiling/sampling/_flamegraph_assets/flamegraph.js
Lib/profiling/sampling/stack_collector.py
Lib/test/test_profiling/test_sampling_profiler/test_collectors.py