A pure Pyton tool to perform time and accuracy benchmarks
Project description
Pyquickbench
Pyquickbench is an open source, easy to use benchmarking tool written in pure Python. Checkout the example gallery to get an idea of what pyquickbench is capable.
- Tutorial: https://gabrielfougeron.github.io/pyquickbench/tutorial.html
- Documentation: https://gabrielfougeron.github.io/pyquickbench/
- Source code: https://github.com/gabrielfougeron/pyquickbench
- Bug reports: https://github.com/gabrielfougeron/pyquickbench/issues
- Changelog: https://github.com/gabrielfougeron/pyquickbench/releases/
Main features
- Timings / repeatability / output benchmarks
- Error handling
- Benchmark results caching
- Multithreaded / multiprocessed benchmarks
- Benchmark timeout
- Multidimensional benchmarks
- Transformed data plotting (relative values, convergence order, ...)
- Intelligent plots
- Sensible defaults
Installation
Pyquickbench is available on the Python Package Index. To install using pip, simply type:
pip install pyquickbench
Pyquickbench is available on conda-forge. To install using conda, simply type:
conda install pyquickbench -c conda-forge
To install the current development version of pyquickbench from the github repository, you can type:
pip install git+ssh://git@github.com/gabrielfougeron/pyquickbench.git
Tests
To run tests locally on your machine, first checkout this reposity and install dependencies using pip:
git clone git@github.com:gabrielfougeron/pyquickbench.git
cd pyquickbench
pip install .[tests]
Then, run tests using pytest:
pytest
License
This software is published under the BSD 2-Clause License.
Other open source alternatives
You might like perfplot, one of the inspirations for this work.
Project details
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
File details
Details for the file pyquickbench-0.2.3.tar.gz
.
File metadata
- Download URL: pyquickbench-0.2.3.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31769127bb5fc102d397f5c1c37204c7cbfff2df32e97b4dbb4177c899718a28 |
|
MD5 | b71850f79ac4bc281bf31ab7f71ab95c |
|
BLAKE2b-256 | 166cfff61910b342a7d1a96a507869b4ad98a3870751d8fcc8674d44cfcf65b3 |
File details
Details for the file pyquickbench-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: pyquickbench-0.2.3-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 524732e154c1beab25649fedfb7f59bc8c89fd629a1fb52338daba983767675d |
|
MD5 | 5a5b55e75bfc97f17118d5e5c2517918 |
|
BLAKE2b-256 | a72024fa3d06f11e63734101003d3e2aebc52d74119dc20dc246290ffb17c574 |