mirror of https://github.com/Textualize/rich.git
c80ad26d87 | ||
---|---|---|
.. | ||
results | ||
README.md | ||
__init__.py | ||
benchmarks.py | ||
snippets.py |
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 withasv 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 inbenchmarks/html
.
The asv docs have some more examples here.