document benchmarks, revert debug

This commit is contained in:
Casper da Costa-Luis 2020-07-11 02:02:15 +01:00
parent 75c3eaac99
commit cf5af26231
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
2 changed files with 25 additions and 1 deletions

View File

@ -5,7 +5,7 @@ on:
- cron: '36 1 * * SUN' # M H d m w (Sundays at 01:36)
jobs:
asvfull:
# if: (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) || github.event_name == 'schedule'
if: (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) || github.event_name == 'schedule'
name: Full
runs-on: ubuntu-latest
steps:

24
benchmarks/README.md Normal file
View File

@ -0,0 +1,24 @@
# Benchmarks
These benchmarks serve two purposes:
1. Thorough performance tests against regression
- `tqdm`
- `tqdm(miniters=manually_optimised, smoothing=0)`
- `no-progress` (empty loop without progress wrapper)
2. Compare `tqdm`'s speed to popular alternatives
- [`rich.progress`](https://pypi.org/project/rich)
- [`progressbar2`](https://pypi.org/project/progressbar2)
- [`alive-progress`](https://pypi.org/project/alive-progress)
Performance graphs are available at <https://tqdm.github.io/tqdm/>
## Running
These benchmarks are run automatically for all releases and pull requests.
To run locally:
- conda/pip install `virtualenv` and `asv`
- clone this repository
- run `asv --help` in the repository root (one directory above this file)