Package python3-module-about-time: Information
Source package: python3-module-about-time
Version: 4.2.1-alt2
Build time: Mar 15, 2024, 11:23 AM
Category: Development/Python3
Report package bugHome page: https://pypi.org/project/about-time/
License: MIT
Summary: A cool helper for tracking time and throughput of code blocks
Description:
Did you ever need to measure the duration of an operation? Yeah, this is easy. But how to: - measure the duration of two or more blocks at the same time, including the whole duration? - instrument a code to cleanly retrieve durations in one line, to log or send to time series databases? - easily see human friendly durations in s (seconds), ms (milliseconds), ms (microseconds) and even ns (nanoseconds)? - easily see human friendly counts with SI prefixes like k, M, G, T, etc? - measure the actual throughput of a block? (this is way harder, since it needs to measure both duration and number of iterations) - easily see human friendly throughputs in "/second", "/minute", "/hour" or even "/day", including SI prefixes? Yes, it can get tricky! If you'd tried to do it without these magic, it would probably get messy and immensely pollute the code being instrumented. I have the solution, behold!
Maintainer: Alexander Kuznetsov
Last changed
March 12, 2024 Alexander Kuznetsov 4.2.1-alt2
- Add setuptools BR.
Dec. 24, 2023 Alexander Kuznetsov 4.2.1-alt1
- Initial build.