File tree Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 39
39
40
40
// List of branches to benchmark. If not provided, defaults to "master"
41
41
// (for git) or "default" (for mercurial).
42
- "branches" : [" main " ],
42
+ "branches" : [" HEAD " ],
43
43
44
44
// The DVCS being used. If not set, it will be automatically
45
45
// determined from "repo" by looking at the protocol in the URL
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:
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ name = "numpy-financial"
11
11
version = " 2.0.0"
12
12
requires-python = " >=3.10"
13
13
description = " Simple financial functions"
14
- license = " BSD-3-Clause "
15
- authors = [" Travis E. Oliphant et al." ]
16
- maintainers = [" Numpy Financial Developers < numpy-discussion@python.org> " ]
14
+ license = { file = " LICENSE.txt " }
15
+ authors = [{ name = " Travis E. Oliphant et al." } ]
16
+ maintainers = [{ name = " Numpy Financial Developers" , email = " numpy-discussion@python.org" } ]
17
17
readme = " README.md"
18
18
homepage = " https://numpy.org/numpy-financial/latest/"
19
19
repository = " https://github.com/numpy/numpy-financial"
You can’t perform that action at this time.
0 commit comments