numpy
91 строка · 3.4 Кб
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": "numpy",
8
9// The project's homepage
10"project_url": "https://numpy.org",
11
12// The URL or local path of the source code repository for the
13// project being benchmarked
14"repo": "..",
15
16// List of branches to benchmark. If not provided, defaults to "master"
17// (for git) or "tip" (for mercurial).
18"branches": ["HEAD"],
19
20"build_command": [
21"python -m build --wheel -o {build_cache_dir} {build_dir}"
22],
23
24// The DVCS being used. If not set, it will be automatically
25// determined from "repo" by looking at the protocol in the URL
26// (if remote), or by looking for special directories, such as
27// ".git" (if local).
28"dvcs": "git",
29
30// The tool to use to create environments. May be "conda",
31// "virtualenv" or other value depending on the plugins in use.
32// If missing or the empty string, the tool will be automatically
33// determined by looking for tools on the PATH environment
34// variable.
35"environment_type": "virtualenv",
36
37// the base URL to show a commit for the project.
38"show_commit_url": "https://github.com/numpy/numpy/commit/",
39
40// The Pythons you'd like to test against. If not provided, defaults
41// to the current version of Python used to run `asv`.
42// "pythons": ["3.9"],
43
44// The matrix of dependencies to test. Each key is the name of a
45// package (in PyPI) and the values are version numbers. An empty
46// list indicates to just test against the default (latest)
47// version.
48"matrix": {
49"Cython": [],
50"build": [],
51"packaging": []
52},
53
54// The directory (relative to the current directory) that benchmarks are
55// stored in. If not provided, defaults to "benchmarks"
56"benchmark_dir": "benchmarks",
57
58// The directory (relative to the current directory) to cache the Python
59// environments in. If not provided, defaults to "env"
60"env_dir": "env",
61
62
63// The directory (relative to the current directory) that raw benchmark
64// results are stored in. If not provided, defaults to "results".
65"results_dir": "results",
66
67// The directory (relative to the current directory) that the html tree
68// should be written to. If not provided, defaults to "html".
69"html_dir": "html",
70
71// The number of characters to retain in the commit hashes.
72// "hash_length": 8,
73
74// `asv` will cache wheels of the recent builds in each
75// environment, making them faster to install next time. This is
76// number of builds to keep, per environment.
77"build_cache_size": 8,
78
79// The commits after which the regression search in `asv publish`
80// should start looking for regressions. Dictionary whose keys are
81// regexps matching to benchmark names, and values corresponding to
82// the commit (exclusive) after which to start looking for
83// regressions. The default is to start from the first commit
84// with results. If the commit is `null`, regression detection is
85// skipped for the matching benchmark.
86//
87// "regressions_first_commits": {
88// "some_benchmark": "352cdf", // Consider regressions only after this commit
89// "another_benchmark": null, // Skip regression detection altogether
90// }
91}
92