Skip to content
New issue

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

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

Already on GitHub? # to your account

Respect stripzeros in summary report #260

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Conversation

Erotemic
Copy link
Member

In the latest version the "summarize" part of line_profiler.line_profiler.show_text will display the duration of all decorated functions even if stripzeros is True and the total time is zero. This PR patches that so now only the non-zero durations will print when this is true.

@Erotemic Erotemic force-pushed the respect-stripzeros-in-summary branch from 7a1fbb7 to f5f3c0e Compare April 28, 2024 04:08
@Erotemic Erotemic merged commit ba937a5 into main Apr 28, 2024
74 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant