python-devtools
python-devtools copied to clipboard
more precise timer summary
- use
time.perf_counteras the most precise way of measuring performance - don't lose fast timer samples when calculating summary, use a list instead of a set
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 dataPowered by Codecov. Last update 5efff5f...e12e34f. Read the comment docs.
:+1: thanks so much.