Skip to main content

A pure Pyton tool to perform time and accuracy benchmarks

Project description

pyquickbench

Platform PyPI pyversions PyPI version Conda Version

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.

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

pyquickbench-0.2.1.tar.gz (24.8 kB view hashes)

Uploaded Source

Built Distribution

pyquickbench-0.2.1-py3-none-any.whl (22.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page