Bencher
Benchmarking system for python 3
Description
This is a little Benchmarking module for Python 3. It provides a easy to use Benchmarking class and a statistics class for further analysis. It can save the measured benchmarks into a centralized folder in the home/user directory. This works crossplatform, I currently tested it on Windows and Debian, but it should work on most linux distributions and on OSX as well.
Install
python setup.py install
Usage
from bencher import Bencher
benchmark = Bencher("benchmarkcase")
benchmark.start()
# Productive coding
######
#
benchmark.stop()
# To get the measured time
time_needed = benchmark.get_time()
# To print a benchmark hint
print(benchmark)
# Save current benchmark for later analysing via the bencher.Statter class
benchmark.save()
# Reset benchmark
benchmark.reset()
Usage statter
from bencher import Statter
statter = Statter("benchmarkcase")
# Get sum
statter.sum()
# Get average
statter.avg()
# Get count
statter.count()
I will add more features, when I need them or someone requests them.
Metadata
Release files for SimpleBencher 0.6.0
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 |
|---|---|---|---|---|
| SimpleBencher-0.6.0.tar.gz | 2.5 kB | Without provenance | Details for SimpleBencher-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| SimpleBencher-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for SimpleBencher-0.6.0-py3-none-any.whl |
Total release size: 6.6 kB
Release files / SimpleBencher-0.6.0.tar.gz
| Download URL | SimpleBencher-0.6.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5a6cd65ca0d8bc654d527e5f2455b523f7b5e91316e0f6d8e817df18680cf4e
|
|
BLAKE2b-256 checksum How to use checksums |
1913eec7991ef2a541d86b3795dd2d40e144af804b73d8090153fa01dcf7139f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|
Release files / SimpleBencher-0.6.0-py3-none-any.whl
| Download URL | SimpleBencher-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba0b5481e0c17637676ad15d1ce8f298740cb7a8fd9355524f2e60add7d32329
|
|
BLAKE2b-256 checksum How to use checksums |
32a5e2d0e645f71e5880aa258a5bee2ef667a8aa5a2b338efa612b7bbd24e719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|
Security for SimpleBencher 0.6.0
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.