Contextmanager to print or log execution time of code blocks
Project description
supertimer
Contextmanager to print or log execution time of code blocks
Original url: https://github.com/mariushelf/supertimer
Etymology
This package provides a timer. But the name timer
was already taken.
So I needed a new name. Inspired by my recently freshly flamed up
love for the good old Super Nintendo, I thought that this timer could
as well be super.
License
Changelog
v0.3.0
- convenience classes
print_timer
,debug_timer
andinfo_timer
- make timer function configurable
v0.2.0
- mention success or error after execution
v0.1.0
- First release
Author
Marius Helf (helfsmarius@gmail.com)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
supertimer-0.3.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for supertimer-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1c2d2cd5e7720e18f825bc153859ae4b0a3a50ebc6c255bdab22bf944339d8 |
|
MD5 | f4d9d3442b6a6b615f1ad8151818fab5 |
|
BLAKE2b-256 | b9074bbb2bbeb0645bd4e537ae496077402f14ea98a68dfbc166c84daefb6664 |