Пакет python3-module-about-time: Информация
Исходный пакет: python3-module-about-time
Версия: 4.2.1-alt2
Собран: 13 марта 2024 г. 11:25 в задании #342181
Категория: Разработка/Python 3
Сообщить об ошибке в пакетеДомашняя страница: https://pypi.org/project/about-time/
Лицензия: MIT
О пакете: A cool helper for tracking time and throughput of code blocks
Описание:
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!Сопровождающий: Alexander Kuznetsov
Последнее изменение
12 марта 2024 г. Alexander Kuznetsov 4.2.1-alt2
- Add setuptools BR.
24 декабря 2023 г. Alexander Kuznetsov 4.2.1-alt1
- Initial build.