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 total time in flat profile output #1466

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

matt-graham
Copy link
Collaborator

@matt-graham matt-graham commented Sep 26, 2024

Now that joerick/pyinstrument#285 has been merged and made it into recent pyinstrument releases (from version 4.7.0 onwards) , we can switch to showing total time spent in each function (included nested function calls) in the flat profile output added in #1236 rather than time just within the function itself (with the total time being useful for getting a sense of which function calls are dominating runtime, irrespective of call path).

@matt-graham
Copy link
Collaborator Author

/run profiling

@matt-graham matt-graham requested a review from tamuri November 21, 2024 13:45
@matt-graham
Copy link
Collaborator Author

@tamuri this should be quite quick to review as it's just a few lines of changes and is just changing the output options for the profiling script so not affecting any of the model code.

@matt-graham matt-graham merged commit 2629aa9 into master Nov 21, 2024
62 checks passed
@matt-graham matt-graham deleted the mmg/total-time-in-flat-profile branch November 21, 2024 16:11
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.

2 participants