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

Release files for script-benchmark-tools 0.6.4

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.4
File Size Uploaded
script_benchmark_tools-0.6.4.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size: 25.1 kB

Release files / script_benchmark_tools-0.6.4.tar.gz

Download URL script_benchmark_tools-0.6.4.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ad62ba7ca829ac9adb76a3b2d8297ce1b0ffcfd2d2064982ec13c09a878da647
BLAKE2b-256 checksum
How to use checksums
031c2a6fe98ea0548810cbada90c8eeb53dc62b9405abb5ac2b5b75694eb9550
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.4-py2.py3-none-any.whl

Download URL script_benchmark_tools-0.6.4-py2.py3-none-any.whl
Size 17.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a9f0b5c2fd560f9e6f9f2bba345a306d691f79b1af2473bfc60498060e6502a2
BLAKE2b-256 checksum
How to use checksums
27d0069039eef477d4fed792c1a449149bde8986a9e56ee96f69de4ac76d65d8
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 history Release notifications | RSS feed

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

This release

0.6.4 This release

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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