|
1 | 1 | { |
2 | | - // The version of the config file format. Do not change, unless |
3 | | - // you know what you are doing. |
4 | | - "version": 1, |
5 | | - |
6 | | - // The name of the project being benchmarked |
7 | | - "project": "flox", |
8 | | - |
9 | | - // The project's homepage |
10 | | - "project_url": "http://flox.readthedocs.io/", |
11 | | - |
12 | | - // The URL or local path of the source code repository for the |
13 | | - // project being benchmarked |
14 | | - "repo": "..", |
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 | | - // Customizable commands for building, installing, and |
22 | | - // uninstalling the project. See asv.conf.json documentation. |
23 | | - // |
24 | | - // "install_command": ["in-dir={env_dir} python -mpip install {wheel_file}"], |
25 | | - // "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"], |
26 | | - // "build_command": [ |
27 | | - // "python setup.py build", |
28 | | - // "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}" |
29 | | - // ], |
30 | | - |
31 | | - // List of branches to benchmark. If not provided, defaults to "master" |
32 | | - // (for git) or "default" (for mercurial). |
33 | | - "branches": ["main"], // for git |
34 | | - "dvcs": "git", |
35 | | - |
36 | | - // timeout in seconds for installing any dependencies in environment |
37 | | - // defaults to 10 min |
38 | | - "install_timeout": 600, |
39 | | - |
40 | | - // the base URL to show a commit for the project. |
41 | | - "show_commit_url": "http://github.com/xarray-contrib/flox/commit/", |
42 | | - |
43 | | - // The Pythons you'd like to test against. If not provided, defaults |
44 | | - // to the current version of Python used to run `asv`. |
45 | | - // "pythons": ["3.9"], |
46 | | - |
47 | | - "environment_type": "mamba", |
48 | | - "conda_channels": ["conda-forge"], |
49 | | - "conda_environment_file": "../ci/benchmark.yml", |
50 | | - |
51 | | - // The directory (relative to the current directory) that benchmarks are |
52 | | - // stored in. If not provided, defaults to "benchmarks" |
53 | | - "benchmark_dir": "benchmarks", |
54 | | - |
55 | | - // The directory (relative to the current directory) to cache the Python |
56 | | - // environments in. If not provided, defaults to "env" |
57 | | - "env_dir": ".asv/env", |
58 | | - |
59 | | - // The directory (relative to the current directory) that raw benchmark |
60 | | - // results are stored in. If not provided, defaults to "results". |
61 | | - "results_dir": ".asv/results", |
62 | | - |
63 | | - // The directory (relative to the current directory) that the html tree |
64 | | - // should be written to. If not provided, defaults to "html". |
65 | | - "html_dir": ".asv/html", |
66 | | - |
67 | | - // The number of characters to retain in the commit hashes. |
68 | | - // "hash_length": 8, |
69 | | - |
70 | | - // `asv` will cache results of the recent builds in each |
71 | | - // environment, making them faster to install next time. This is |
72 | | - // the number of builds to keep, per environment. |
73 | | - // "build_cache_size": 2, |
74 | | - |
75 | | - // The commits after which the regression search in `asv publish` |
76 | | - // should start looking for regressions. Dictionary whose keys are |
77 | | - // regexps matching to benchmark names, and values corresponding to |
78 | | - // the commit (exclusive) after which to start looking for |
79 | | - // regressions. The default is to start from the first commit |
80 | | - // with results. If the commit is `null`, regression detection is |
81 | | - // skipped for the matching benchmark. |
82 | | - // |
83 | | - // "regressions_first_commits": { |
84 | | - // "some_benchmark": "352cdf", // Consider regressions only after this commit |
85 | | - // "another_benchmark": null, // Skip regression detection altogether |
86 | | - // }, |
87 | | - |
88 | | - // The thresholds for relative change in results, after which `asv |
89 | | - // publish` starts reporting regressions. Dictionary of the same |
90 | | - // form as in ``regressions_first_commits``, with values |
91 | | - // indicating the thresholds. If multiple entries match, the |
92 | | - // maximum is taken. If no entry matches, the default is 5%. |
93 | | - // |
94 | | - // "regressions_thresholds": { |
95 | | - // "some_benchmark": 0.01, // Threshold of 1% |
96 | | - // "another_benchmark": 0.5, // Threshold of 50% |
97 | | - // }, |
| 2 | + // The version of the config file format. Do not change, unless |
| 3 | + // you know what you are doing. |
| 4 | + "version": 1, |
| 5 | + |
| 6 | + // The name of the project being benchmarked |
| 7 | + "project": "flox", |
| 8 | + |
| 9 | + // The project's homepage |
| 10 | + "project_url": "http://flox.readthedocs.io/", |
| 11 | + |
| 12 | + // The URL or local path of the source code repository for the |
| 13 | + // project being benchmarked |
| 14 | + "repo": "..", |
| 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 | + // Customizable commands for building, installing, and |
| 22 | + // uninstalling the project. See asv.conf.json documentation. |
| 23 | + // |
| 24 | + // "install_command": ["in-dir={env_dir} python -mpip install {wheel_file}"], |
| 25 | + // "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"], |
| 26 | + // "build_command": [ |
| 27 | + // "python setup.py build", |
| 28 | + // "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}" |
| 29 | + // ], |
| 30 | + |
| 31 | + // List of branches to benchmark. If not provided, defaults to "master" |
| 32 | + // (for git) or "default" (for mercurial). |
| 33 | + "branches": ["main"], // for git |
| 34 | + "dvcs": "git", |
| 35 | + |
| 36 | + // timeout in seconds for installing any dependencies in environment |
| 37 | + // defaults to 10 min |
| 38 | + "install_timeout": 600, |
| 39 | + |
| 40 | + // the base URL to show a commit for the project. |
| 41 | + "show_commit_url": "http://github.com/xarray-contrib/flox/commit/", |
| 42 | + |
| 43 | + // The Pythons you'd like to test against. If not provided, defaults |
| 44 | + // to the current version of Python used to run `asv`. |
| 45 | + // "pythons": ["3.9"], |
| 46 | + |
| 47 | + "environment_type": "mamba", |
| 48 | + "conda_channels": ["conda-forge"], |
| 49 | + "conda_environment_file": "../ci/benchmark.yml", |
| 50 | + |
| 51 | + // The directory (relative to the current directory) that benchmarks are |
| 52 | + // stored in. If not provided, defaults to "benchmarks" |
| 53 | + "benchmark_dir": "benchmarks", |
| 54 | + |
| 55 | + // The directory (relative to the current directory) to cache the Python |
| 56 | + // environments in. If not provided, defaults to "env" |
| 57 | + "env_dir": ".asv/env", |
| 58 | + |
| 59 | + // The directory (relative to the current directory) that raw benchmark |
| 60 | + // results are stored in. If not provided, defaults to "results". |
| 61 | + "results_dir": ".asv/results", |
| 62 | + |
| 63 | + // The directory (relative to the current directory) that the html tree |
| 64 | + // should be written to. If not provided, defaults to "html". |
| 65 | + "html_dir": ".asv/html" |
| 66 | + |
| 67 | + // The number of characters to retain in the commit hashes. |
| 68 | + // "hash_length": 8, |
| 69 | + |
| 70 | + // `asv` will cache results of the recent builds in each |
| 71 | + // environment, making them faster to install next time. This is |
| 72 | + // the number of builds to keep, per environment. |
| 73 | + // "build_cache_size": 2, |
| 74 | + |
| 75 | + // The commits after which the regression search in `asv publish` |
| 76 | + // should start looking for regressions. Dictionary whose keys are |
| 77 | + // regexps matching to benchmark names, and values corresponding to |
| 78 | + // the commit (exclusive) after which to start looking for |
| 79 | + // regressions. The default is to start from the first commit |
| 80 | + // with results. If the commit is `null`, regression detection is |
| 81 | + // skipped for the matching benchmark. |
| 82 | + // |
| 83 | + // "regressions_first_commits": { |
| 84 | + // "some_benchmark": "352cdf", // Consider regressions only after this commit |
| 85 | + // "another_benchmark": null, // Skip regression detection altogether |
| 86 | + // }, |
| 87 | + |
| 88 | + // The thresholds for relative change in results, after which `asv |
| 89 | + // publish` starts reporting regressions. Dictionary of the same |
| 90 | + // form as in ``regressions_first_commits``, with values |
| 91 | + // indicating the thresholds. If multiple entries match, the |
| 92 | + // maximum is taken. If no entry matches, the default is 5%. |
| 93 | + // |
| 94 | + // "regressions_thresholds": { |
| 95 | + // "some_benchmark": 0.01, // Threshold of 1% |
| 96 | + // "another_benchmark": 0.5, // Threshold of 50% |
| 97 | + // }, |
98 | 98 | } |
0 commit comments