rich/benchmarks
Darren Burns c80ad26d87
Add initial benchmark suite
2022-03-10 17:08:26 +00:00
..
results Add initial benchmark suite 2022-03-10 17:08:26 +00:00
README.md Add initial benchmark suite 2022-03-10 17:08:26 +00:00
__init__.py Add initial benchmark suite 2022-03-10 17:08:26 +00:00
benchmarks.py Add initial benchmark suite 2022-03-10 17:08:26 +00:00
snippets.py Add initial benchmark suite 2022-03-10 17:08:26 +00:00

README.md

Benchmarking Rich

This directory contains benchmarks, for monitoring the performance of Rich over time.

The benchmarks use a tool called Airspeed Velocity (asv), and we've configured it in asv.conf.json.

Running Benchmarks

We strongly recommend running asv run --help for a full list of options, but here are some common actions:

  • You can run the benchmarks against the master branch with asv run.
  • To test the most recent commit on your branch asv run HEAD^!.
  • To generate a static website for browsing the results, run asv publish. The resulting HTML can be found in benchmarks/html.

The asv docs have some more examples here.