DSBench
This small library provides a decorator function that benchmarks functions.
dsbench.benchmark(*, name: str, cumulative: bool = False, range_start: int = 0, range_end: int = None) -> Callable
Decorator function for benchmarking other functions.
- Parameters:
- name (str) – The name of the benchmark.
- cumulative (bool , optionals) – Whether to benchmark a function a number of times with different inputs. If the decorated function returns a result, the sum of the total results is displayed. Defaults to False.
- range_start (int , optional) – The start value of the range for cumulative benchmarking. Defaults to 0.
- range_end (int , optional) – The end value of the range for cumulative benchmarking. Defaults to the decorated function’s first argument.
- Returns: The decorated function.
- Return type: function
Metadata
Release files for dsbench 0.1.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 |
|---|---|---|---|---|
| dsbench-0.1.1.tar.gz | 5.6 kB | Without provenance | Details for dsbench-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dsbench-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for dsbench-0.1.1-py3-none-any.whl |
Total release size: 11.9 kB
Release files / dsbench-0.1.1.tar.gz
| Download URL | dsbench-0.1.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fc3f7611c2a013b05c0fcdaa19e87af45e161167113ed5bacb0ecf3649e68b5
|
|
BLAKE2b-256 checksum How to use checksums |
53ad0fc2a3b50e523aefe5824b25a6b0b42ac7e1a12e76142acb418becb21e5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Linux/6.7.0-zen3-1-zen
|
Release files / dsbench-0.1.1-py3-none-any.whl
| Download URL | dsbench-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e49717b3558d9a8686422ff238e90d64c69d66faa9b7a970aefffab1b7655a5
|
|
BLAKE2b-256 checksum How to use checksums |
cf7016fd0acac1da1f89f2cf414d3a380e5de8cfd557c224c042fe1c54b16d5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Linux/6.7.0-zen3-1-zen
|
Security for dsbench 0.1.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.