timerit

Time and benchmark blocks of Python code. A powerful multi-line in-code alternative to timeit.

APACHE-2.0 License

Downloads
2.6K
Stars
31
Committers
3
timerit - Version 1.1.0 Latest Release

Published by Erotemic about 1 year ago

Added

  • Add a succinct module-level __call__ and __iter__ API for interactive use
  • Add min_duration argument

Changed

  • Disable REPL printing during profiling
timerit - Version 1.0.1

Published by Erotemic almost 2 years ago

[Version 1.0.1] - Released 2023-01-14

Changed

  • Documentation improvements
  • Better type stubs
timerit - Version 1.0.0

Published by Erotemic over 2 years ago

[Version 1.0.0] - Released 2022-04-18

Added

  • robust_times method
  • summary method
  • relative module

Changed

  • Removed Python 2.7, 3.4 and 3.5 support
  • Python 3.7+ now uses perf_counter_ns by default if available
Package Rankings
Top 9.89% on Pypi.org