Benchmarks#
Thepyarrow package comes with a suite of benchmarks meant torun withASV. You’ll need to install theasv package first(pipinstallasv orcondainstall-cconda-forgeasv).
Running the benchmarks#
To run the benchmarks for a locally-built Arrow, runasvrun--python=same.
We use conda environments as part of running the benchmarks. To use theasvsetup, you must set the$CONDA_HOME environment variable to point to theroot of your conda installation.
Running for arbitrary Git revisions#
ASV allows to store results and generate graphs of the benchmarks overthe project’s evolution. You need to have the latest development version of ASV:
pipinstallgit+https://github.com/airspeed-velocity/asv
Now you should be ready to runasvrun or whatever other commandsuits your needs. Note that this can be quite long, as each Arrow needsto be rebuilt for each Git revision you’re running the benchmarks for.
Compatibility#
We only expect the benchmarking setup to work on a Unix-like system with bash.

