Benchmarks #
Benchmarks are tests to measure the performance of pandas. There are two different kinds of benchmarks relevant to pandas:
- Internal pandas benchmarks to measure speed and memory usage over time
- Community benchmarks comparing the speed or memory usage of different tools at doing the same job
pandas benchmarks #
pandas benchmarks are implemented in the asv_bench directory of our repository, using the airspeed velocity (asv for short) framework. See running the performance test suite in the contributing guide for how to run them.
Automated benchmark runner #
The asv-runner repository automatically runs the pandas asv benchmark suite
for every (or almost every) commit to the main branch. It is run on GitHub actions.
See the linked repository for more details. The results are available at:
https://pandas-dev.github.io/asv-runner/
Community benchmarks #
The main benchmarks comparing dataframe tools that include pandas are: