File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 2
2
3
3
This document outlines how to setup and run the benchmarks using [ asv] ( https://asv.readthedocs.io/en/v0.6.1/ ) .
4
4
5
- ## Installing asv
6
-
7
- ` asv ` can be installed with poetry via the ` bench ` group to install the bench group run:
8
-
9
- ``` shell
10
- poetry install --with=bench
11
- ```
12
-
13
- This will install `` asv `` into your poetry environment.
14
-
15
5
## Running the benchmarks
16
6
17
7
To run the benchmarks with `` asv `` , simply enter:
18
8
19
9
``` shell
20
- poetry run asv run
10
+ asv run
21
11
```
22
12
23
13
## Viewing the results
@@ -27,13 +17,13 @@ There are two steps to viewing the results locally. The results need to be publi
27
17
To publish the results use:
28
18
29
19
``` shell
30
- poetry run asv publish
20
+ asv publish
31
21
```
32
22
33
23
And then to view the results:
34
24
35
25
``` shell
36
- poetry run asv preview
26
+ asv preview
37
27
```
38
28
39
29
This will launch a local web browser from which you can view the results
@@ -43,7 +33,7 @@ This will launch a local web browser from which you can view the results
43
33
One common use case is to use `` asv `` in development, there are several useful flags that should be used:
44
34
45
35
``` shell
46
- poetry run asv --python=same --quick --dry-run
36
+ asv --python=same --quick --dry-run
47
37
```
48
38
49
39
We are adding three flags, these flags are:
You can’t perform that action at this time.
0 commit comments