Skip to main content

Python Script Benchmark Tools

Benchmark script run times, print tables of results and display plots.

Install

pip install script_benchmark_tools

See examples folder for usage.

Sample Output

Proofs

insertion_sort [1, 2, 3, 4, 5, 6] selection_sort [1, 2, 3, 4, 5, 6]

Benchmarks

N = 10

min avg max func name
0.000008106 0.000018342 0.000201225 insertion_sort sarcoma
0.000008821 0.000029361 0.001542091 selection_sort sarcoma

N = 50

min avg max func name
0.000027895 0.000030518 0.000068188 insertion_sort sarcoma
0.000089884 0.000214245 0.004812956 selection_sort sarcoma

N = 100

min avg max func name
0.000061750 0.000069265 0.000296116 insertion_sort sarcoma
0.000331640 0.000390785 0.000853777 selection_sort sarcoma

N = 500

min avg max func name
0.000585079 0.000774384 0.005968094 insertion_sort sarcoma
0.008999825 0.015488691 0.050533056 selection_sort sarcoma

N = 1000

min avg max func name
0.001787901 0.009231312 0.057305098 insertion_sort sarcoma
0.037415981 0.047663388 0.092668772 selection_sort sarcoma

Benchmark Plot

Metadata

Release files for script-benchmark-tools 0.6.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for script-benchmark-tools 0.6.8
File Size Uploaded Provenance
script_benchmark_tools-0.6.8.tar.gz 8.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for script-benchmark-tools 0.6.8
File Interpreter ABI Platform
script_benchmark_tools-0.6.8-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 23.9 kB

Release files / script_benchmark_tools-0.6.8.tar.gz

Download URL script_benchmark_tools-0.6.8.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
697d531dd131d21449bc9212de33425dc7ea8a77dd57a6830724698c8d3ddf1a
BLAKE2b-256 checksum
How to use checksums
ce9c4864ca5008c45565850fc71df02ce66c381875cf7e5f45029d9363c6cf81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / script_benchmark_tools-0.6.8-py2.py3-none-any.whl

Download URL script_benchmark_tools-0.6.8-py2.py3-none-any.whl
Size 15.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
95f173d7cd400544795c46439c3643029ce024e9f21ed5fda2d839a37f4bb6b1
BLAKE2b-256 checksum
How to use checksums
d52ad6ab40ce8b7fe21e6899efcec72206ae4041b8b93eeed6fc48a4ffe0de98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Security for script-benchmark-tools 0.6.8

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.

Release history Release notifications | RSS feed

This release

0.6.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page