Benchmark Python Scripts
Project description
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for script_benchmark_tools-0.3.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eff3599b4c05274180043c366ae537f97244b0991d18044cec4b81d03660b62 |
|
MD5 | e4aae31ae6b0e62c886dc9fac9b38a8e |
|
BLAKE2b-256 | 8d62699217e7821db7a5efe94d95c6e2f5356318906ca7ea2541370975c0124e |
Close
Hashes for script_benchmark_tools-0.3.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38438a68483aef7dd930ce3467e3450e5b6e39a2d88a4332b9ec655a4269c184 |
|
MD5 | 78cfff2e4f47626ef240598bfbe9082a |
|
BLAKE2b-256 | bd241704ceb5f1d31d69b819915accd8e7b375d2f0dd36cf2c307dd3de22af41 |