pyo3/examples/pyo3-benchmarks
2021-06-24 22:34:55 +08:00
..
pyo3_benchmarks examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
src Add wrap_pyfunction macro to prelude 2021-06-24 22:34:55 +08:00
tests pyo3-benchmarks: add benchmark for class init 2021-06-22 07:33:46 +01: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 Add more argument parsing benchmarks. 2021-06-06 16:20:09 +02: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