rich/benchmarks
Olivier Philippon 303e9b5563 Bump minimum Python version to `3.6.3` (from `3.6.1`)
The `OrderedDict[CacheKey, CacheValue]` code we use in the LRUCache class doesn't work with Python versions `3.6.1` and `3.6.2`, unfortunately
2022-04-04 16:24:29 +01: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 Bump minimum Python version to `3.6.3` (from `3.6.1`) 2022-04-04 16:24:29 +01: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.