GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-142927: Show self time in flamegraph tooltip by ivonastojanovic · Pull Request #147706 · python/cpython

Conversation

@ivonastojanovic

@ivonastojanovic ivonastojanovic commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

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.

CC: @pablogsal @lkollar

The issue:

Show "self" time for functions — Display time spent in function body excluding callees, not just total inclusive time

  • Issue: Implement PEP 799 – A dedicated profiling package for organizing Python profiling tools #138122
  • Issue: Improve Tachyon UX #142927

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ivonastojanovic
Show self time in flamegraph tooltip
47c887c
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.
@ivonastojanovic
ivonastojanovic requested a review from pablogsal as a code owner March 31, 2026 14:46
@bedevere-app bedevere-app Bot added the awaiting review label Mar 31, 2026
@ivonastojanovic ivonastojanovic added the skip news label Mar 31, 2026
@ivonastojanovic ivonastojanovic changed the title Show self time in flamegraph tooltip gh-142927: Show self time in flamegraph tooltip Mar 31, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Mar 31, 2026
Improve Tachyon UX #142927
Open
11 tasks done
pablogsal
pablogsal approved these changes Apr 4, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Apr 4, 2026
@pablogsal

pablogsal commented Apr 4, 2026

Copy link
Copy Markdown
Member

Amazing thanks a lot @ivonastojanovic ❤️

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pablogsal
pablogsal merged commit 4ff8b07 into python:main Apr 4, 2026
56 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Apr 4, 2026
@pablogsal pablogsal mentioned this pull request Apr 4, 2026
gh-130273: Fix traceback color output with unicode characters #142529
Merged
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@ivonastojanovic @ljfp
pythongh-142927: Show self time in flamegraph tooltip (python#147706)
dec2002
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pablogsal pablogsal pablogsal approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ivonastojanovic @pablogsal
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.