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.6.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e08f02d9bb6bd677230a1bbb14aa4dc76fcb10f37ab8c74163141d2dbd8809f |
|
MD5 | 8a76a1b158201912e9734c149266def5 |
|
BLAKE2b-256 | b2beff7a55c499f74566e5916d61ec2b9a2bc0851d4d8ff176e0aee950056e28 |
Close
Hashes for script_benchmark_tools-0.6.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee589497a3617bfd091a1dab8adac6532ea3d0526b4f9c445eb31f254d015c81 |
|
MD5 | 06c0f92cd24f9974d31eba07ebef9384 |
|
BLAKE2b-256 | d79417a4b0212dffb4b833ae90c14b75ac982a4542cb15ac9ff6e2c661a820b4 |