diff options
author | Hernan <hernan.grecco@gmail.com> | 2020-10-05 14:44:10 -0300 |
---|---|---|
committer | Hernan <hernan.grecco@gmail.com> | 2020-10-08 15:16:04 -0300 |
commit | b6b22f38dccac119920acb6a7b5895da7b310f33 (patch) | |
tree | 1fbf14d7ed12a46b7b8ab6e1e93ef87650330a9f /.gitignore | |
parent | 5e59f373ea237a95f22960a2b169c3a756a264c9 (diff) | |
download | pint-b6b22f38dccac119920acb6a7b5895da7b310f33.tar.gz |
Implements a first benchmark suite.
The benchmark is based on airspeed velocity (asv). Benchmarks are organized with double digits numbers
to create a nice, sorted
00-09: Benchmarks that do not require a registry created during setup
10-19: Benchmarks calling functions directly from the registry
20-29: Benchmarks involving Units and Quantity objects (with scalar values)
30-39: Benchmarks involving Quantity objects (with array values)
Briefly, you can run the the benchmark calling:
$ asv run
or if you want to compare certain commits/branches:
$ asv run master..mybranch
For convenience, we include a list of hashes of all pint versions:
$ asv run HASHFILE:benchmarks/hashes.txt
--
After running the benchmark, run:
$ asv publish
$ asv preview
To get a nice readable output.
More information on: https://asv.readthedocs.io/en/stable/
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,3 +31,6 @@ notebooks/pandas_test.csv # dask stuff dask-worker-space + +# airspeed velocity bechmark +.asv/ |