Easily measure timing and throughput of code blocks, with beautiful human friendly representations. It offers highly readable output for durations and counts, supporting various units from nanoseconds to days, and is particularly useful for profiling iterable operations like generators. The current version is 4.2.2, with active development indicated by frequent releases.
pip install about-timeVerified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage with a context manager and advanced usage for profiling iterables/generators, showing human-readable output and direct attribute access.
Upgrade to Python 3.8+ or pin `about-time` to a version <4.2.2 if Python 3.7 is required.
Refer to the official documentation for migration guidelines if upgrading from versions prior to 4.0.0.
Upgrade to version 4.2.2 or higher to ensure the `precision` parameter behaves as expected.
Install the package using pip: 'pip install about-time'.
Use the correct import statement: 'from about_time import about_time'.
Import the function correctly: 'from about_time import about_time'.
Change the import statement from `import about-time` to `from about_time import about_time` or `import about_time`.
Ensure that the argument passed to `about_time()` in callable mode is indeed a callable object (e.g., a function, a lambda, or a method).
No dependency data recorded yet.