OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

py3-about_time-4.2.2

measure timing and throughput of code blocks

Back to search · Project homepage

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 seconds, milliseconds, etc? - 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? about-time solves these and many more.

Package information

Ports path
sysutils/py-about_time
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
sysutils, devel, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Used by (1 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON