Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show the parent-child call count on the graph #500

Open
wants to merge 1 commit into
base: 0.23.x
Choose a base branch
from

Conversation

matthewmincher
Copy link

Hey

I noticed when using the callgraph that the call counts on the edges appear to use the total number of calls to the child function across the graph, rather than the number of calls from the parent function to the child.

I've made a change to track those individually, and updated a test that I thought should be failing.
Please let me know if you'd prefer it done in a different way or would like any changes.

Before (note that they all say 59 calls - which is wrong):
callgraph_before
After:
callgraph_after

image

@matthewmincher matthewmincher marked this pull request as ready for review August 27, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant