|
7 | 7 | "project": "scikit-learn", |
8 | 8 |
|
9 | 9 | // The project's homepage |
10 | | - "project_url": "scikit-learn.org/", |
| 10 | + "project_url": "https://scikit-learn.org/", |
11 | 11 |
|
12 | 12 | // The URL or local path of the source code repository for the |
13 | 13 | // project being benchmarked |
14 | 14 | "repo": "..", |
15 | 15 |
|
16 | | - // The Python project's subdirectory in your repo. If missing or |
17 | | - // the empty string, the project is assumed to be located at the root |
18 | | - // of the repository. |
19 | | - // "repo_subdir": "", |
20 | | - |
21 | 16 | // Customizable commands for building, installing, and |
22 | 17 | // uninstalling the project. See asv.conf.json documentation. |
23 | 18 | "install_command": ["python -mpip install {wheel_file}"], |
24 | 19 | "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"], |
25 | 20 | "build_command": ["python -m build --wheel -o {build_cache_dir} {build_dir}"], |
26 | 21 |
|
27 | | - // List of branches to benchmark. If not provided, defaults to "master |
| 22 | + // List of branches to benchmark. If not provided, defaults to "main" |
28 | 23 | // (for git) or "default" (for mercurial). |
29 | 24 | "branches": ["main"], |
30 | | - // "branches": ["default"], // for mercurial |
31 | 25 |
|
32 | 26 | // The DVCS being used. If not set, it will be automatically |
33 | 27 | // determined from "repo" by looking at the protocol in the URL |
|
46 | 40 | // defaults to 10 min |
47 | 41 | //"install_timeout": 600, |
48 | 42 |
|
| 43 | + // timeout in seconds all benchmarks, can be overridden per benchmark |
| 44 | + // defaults to 1 min |
| 45 | + //"default_benchmark_timeout": 60, |
| 46 | + |
49 | 47 | // the base URL to show a commit for the project. |
50 | 48 | "show_commit_url": "https://github.com/scikit-learn/scikit-learn/commit/", |
51 | 49 |
|
52 | | - // The Pythons you'd like to test against. If not provided, defaults |
| 50 | + // The Pythons you'd like to test against. If not provided, defaults |
53 | 51 | // to the current version of Python used to run `asv`. |
54 | | - // "pythons": ["3.6"], |
55 | | - |
56 | | - // The list of conda channel names to be searched for benchmark |
57 | | - // dependency packages in the specified order |
58 | | - // "conda_channels": ["conda-forge", "defaults"] |
| 52 | + // "pythons": ["3.12"], |
59 | 53 |
|
60 | | - // The matrix of dependencies to test. Each key is the name of a |
61 | | - // package (in PyPI) and the values are version numbers. An empty |
| 54 | + // The matrix of dependencies to test. Each key is the name of a |
| 55 | + // package (in PyPI) and the values are version numbers. An empty |
62 | 56 | // list or empty string indicates to just test against the default |
63 | 57 | // (latest) version. null indicates that the package is to not be |
64 | 58 | // installed. If the package to be tested is only available from |
|
107 | 101 | // ], |
108 | 102 | // |
109 | 103 | // "include": [ |
110 | | - // // additional env for python2.7 |
111 | | - // {"python": "2.7", "numpy": "1.8"}, |
| 104 | + // // additional env for python3.12 |
| 105 | + // {"python": "3.12", "numpy": "1.26"}, |
112 | 106 | // // additional env if run on windows+conda |
113 | | - // {"platform": "win32", "environment_type": "conda", "python": "2.7", "libpython": ""}, |
| 107 | + // {"sys_platform": "win32", "environment_type": "conda", "python": "3.12", "libpython": ""}, |
114 | 108 | // ], |
115 | 109 |
|
116 | 110 | // The directory (relative to the current directory) that benchmarks are |
|
132 | 126 | // The number of characters to retain in the commit hashes. |
133 | 127 | // "hash_length": 8, |
134 | 128 |
|
135 | | - // `asv` will cache results of the recent builds in each |
| 129 | + // `asv` will cache wheels of the recent builds in each |
136 | 130 | // environment, making them faster to install next time. This is |
137 | | - // the number of builds to keep, per environment. |
138 | | - // "build_cache_size": 2, |
| 131 | + // number of builds to keep, per environment. |
| 132 | + // "build_cache_size": 0 |
139 | 133 |
|
140 | 134 | // The commits after which the regression search in `asv publish` |
141 | 135 | // should start looking for regressions. Dictionary whose keys are |
|
148 | 142 | // "regressions_first_commits": { |
149 | 143 | // "some_benchmark": "352cdf", // Consider regressions only after this commit |
150 | 144 | // "another_benchmark": null, // Skip regression detection altogether |
151 | | - // }, |
152 | | - |
153 | | - // The thresholds for relative change in results, after which `asv |
154 | | - // publish` starts reporting regressions. Dictionary of the same |
155 | | - // form as in ``regressions_first_commits``, with values |
156 | | - // indicating the thresholds. If multiple entries match, the |
157 | | - // maximum is taken. If no entry matches, the default is 5%. |
158 | | - // |
159 | | - // "regressions_thresholds": { |
160 | | - // "some_benchmark": 0.01, // Threshold of 1% |
161 | | - // "another_benchmark": 0.5, // Threshold of 50% |
162 | | - // }, |
| 145 | + // } |
163 | 146 | } |
0 commit comments