performance_tester
Collection of modules for testing performance.
Installation
Command
pip install performance_tester
or add the following line in Pipfile if you use Pipenv
[dev-packages]
performance_tester = "*"
Examples
from performance_tester import measure_execution_time
@measure_execution_time(100)
def adder(a, b): # the function that you want to check the performance
c = a + b
return c
result = adder(1, 2)
Output:
100 loops:
mean: 3.573999492800795e-07 sec.
std : 1.1951605991912876e-07 sec.
max : 1.4500001270789653e-06 sec.
min : 3.199984348611906e-07 sec.
Metadata
Release files for performance-tester 1.1.3
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 |
|---|---|---|---|---|
| performance-tester-1.1.3.tar.gz | 4.0 kB | Without provenance | Details for performance-tester-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| performance_tester-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for performance_tester-1.1.3-py3-none-any.whl |
Total release size: 6.9 kB
Release files / performance-tester-1.1.3.tar.gz
| Download URL | performance-tester-1.1.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
414ff251976845ed780b6f833deab500c7c88a331d55ab42f87c32625a057b61
|
|
BLAKE2b-256 checksum How to use checksums |
16f195071e2551aa883c4bf995198f432b54935ab000d7dc2a811cfff61f6fed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / performance_tester-1.1.3-py3-none-any.whl
| Download URL | performance_tester-1.1.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05732cd65d577a4d92a6b09eeb9e1bd7893544173dd4a1db492f88701a0f98b0
|
|
BLAKE2b-256 checksum How to use checksums |
bfcbfae242a3faaaa68837ea721004ca0fdd7253260941e7d8f671c65620c39b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for performance-tester 1.1.3
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.