pyo3/examples/pyo3-benchmarks
David Hewitt 8495d77722 examples: use setuptools-rust 1.0.0 2021-11-21 20:39:52 +00: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 setuptools-rust 1.0.0 2021-11-21 20:39:52 +00:00
setup.py examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
tox.ini examples: use pip 21.3 2021-10-13 00:05:33 +01:00

README.md

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