time_measure
A tiny helper to measure execution time of a callable to ease your performance checks.
Usage examples
Decorate your function or method with async_measure_time and see logs for execution time
measures after your function is fnished:
from measure_decorator import async_measure_time
@async_measure_time
async def coro_that_runs_long(*args, **kwargs):
...
Whenever the coro_that_runs_long is done, you can see the following in your app logs:
Func: coro_that_runs_long. Elapsed time in seconds: 0.10037329500482883
Happy debugging!
Metadata
Release files for time-measure-decorator 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| time_measure_decorator-0.0.1.tar.gz | 2.2 kB | Without provenance | Details for time_measure_decorator-0.0.1.tar.gz |
Release files / time_measure_decorator-0.0.1.tar.gz
| Download URL | time_measure_decorator-0.0.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61a49763be63df0c7b22bffec1565c68c625ab9705dc1a047d8c998ea1cd3c4c
|
|
BLAKE2b-256 checksum How to use checksums |
73ce5b6bfe537c180e0b7f4cc6bc9433b1a176bcfad3d168556add3cae4272cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.9
|
Security for time-measure-decorator 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.