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

more precise timer summary #113

Merged
merged 3 commits into from
Nov 25, 2022
Merged

Conversation

banteg
Copy link
Contributor

@banteg banteg commented Sep 10, 2022

  • use time.perf_counter as the most precise way of measuring performance
  • don't lose fast timer samples when calculating summary, use a list instead of a set

@codecov
Copy link

codecov bot commented Sep 10, 2022

Codecov Report

Merging #113 (e12e34f) into main (5efff5f) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #113   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          522       522           
  Branches        86        86           
=========================================
  Hits           522       522           
Impacted Files Coverage Δ
devtools/timer.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5efff5f...e12e34f. Read the comment docs.

@samuelcolvin samuelcolvin merged commit 560b988 into samuelcolvin:main Nov 25, 2022
@samuelcolvin
Copy link
Owner

👍 thanks so much.

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