Benchmarks

contourpy uses asv (airspeed velocity) for benchmarking.

To run the entire benchmarking suite:

$ pip install asv virtualenv
$ cd benchmarks
$ asv run

This will benchmark the latest commit of the main branch. When this is finished you can display the results in a web browser using:

$ asv publish
$ asv preview

For further information see the README.md document in the benchmarks directory.

There follows a summary of key benchmark results taken on a 6-core Intel Core i7-10750H processor for commit f3e864e.

Note

If you want to reproduce these plots for your own hardware, run the benchmarks locally as described above and then run the plot_benchmarks.py script to extract the benchmark results and generate the plots. Some tweaking of plot parameters may be required to get them looking nice.