performer
Lightweight benchmarking decorator.
Installation
$ pip3 install performer
Usage
All benchmark results are output after the program ends.
The benchmark decorator does not affect the function output.
from performer import benchmark
@benchmark(1000)
def sum_range(n):
return sum(range(n))
@benchmark(100)
def hello():
return "Hello"
print(sum_range(100))
print(hello())
Metadata
Release files for performer 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 |
|---|---|---|---|---|
| performer-0.0.1.zip | 4.3 kB | Without provenance | Details for performer-0.0.1.zip |
Release files / performer-0.0.1.zip
| Download URL | performer-0.0.1.zip |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
deeea81c320ed256dabb6e532b7d32a8bf5d285ff6931a98766227411cdac21d
|
|
BLAKE2b-256 checksum How to use checksums |
df55357e05ab056bbf4933807f9abbe8751c410239035b6cbe8157161978aba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Security for performer 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.