pyo3/examples/pyo3-benchmarks
Georg Brandl 473474cae7 pyo3_benchmarks: add a benchmark for the "only simple args" case
This is the case that will be helped by fastcall support,
so add it first as a baseline.
2021-05-19 08:17:33 +02:00
..
pyo3_benchmarks examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
src pyo3_benchmarks: add a benchmark for the "only simple args" case 2021-05-19 08:17:33 +02:00
tests pyo3_benchmarks: add a benchmark for the "only simple args" case 2021-05-19 08:17:33 +02:00
Cargo.toml examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
MANIFEST.in examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
README.md examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
requirements-dev.txt examples: use pip 21.1 2021-04-29 08:52:01 +01:00
setup.py examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
tox.ini examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00

pyo3-benchmarks

This extension module contains benchmarks for pieces of PyO3's API accessible from Python.

Running the benchmarks

You can install the module in your Python environment and then run the benchmarks with pytest:

python setup.py develop
pytest

Or with tox:

tox -e py