|
a |
|
b/asv_bench/asv.conf.json |
|
|
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": "ODDT", |
|
|
8 |
|
|
|
9 |
// The project's homepage |
|
|
10 |
"project_url": "https://github.com/oddt/oddt", |
|
|
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 "default" (for mercurial). |
|
|
18 |
// "branches": ["master"], // for git |
|
|
19 |
// "branches": ["default"], // for mercurial |
|
|
20 |
|
|
|
21 |
// The DVCS being used. If not set, it will be automatically |
|
|
22 |
// determined from "repo" by looking at the protocol in the URL |
|
|
23 |
// (if remote), or by looking for special directories, such as |
|
|
24 |
// ".git" (if local). |
|
|
25 |
// "dvcs": "git", |
|
|
26 |
|
|
|
27 |
// The tool to use to create environments. May be "conda", |
|
|
28 |
// "virtualenv" or other value depending on the plugins in use. |
|
|
29 |
// If missing or the empty string, the tool will be automatically |
|
|
30 |
// determined by looking for tools on the PATH environment |
|
|
31 |
// variable. |
|
|
32 |
"environment_type": "conda", |
|
|
33 |
|
|
|
34 |
// timeout in seconds for installing any dependencies in environment |
|
|
35 |
// defaults to 10 min |
|
|
36 |
//"install_timeout": 600, |
|
|
37 |
|
|
|
38 |
// the base URL to show a commit for the project. |
|
|
39 |
"show_commit_url": "https://github.com/oddt/oddt/commit/", |
|
|
40 |
|
|
|
41 |
// The Pythons you'd like to test against. If not provided, defaults |
|
|
42 |
// to the current version of Python used to run `asv`. |
|
|
43 |
"pythons": ["2.7", "3.6"], |
|
|
44 |
|
|
|
45 |
// The list of conda channel names to be searched for benchmark |
|
|
46 |
// dependency packages in the specified order |
|
|
47 |
"conda_channels": ["openbabel", "rdkit", "defaults"], |
|
|
48 |
|
|
|
49 |
// The matrix of dependencies to test. Each key is the name of a |
|
|
50 |
// package (in PyPI) and the values are version numbers. An empty |
|
|
51 |
// list or empty string indicates to just test against the default |
|
|
52 |
// (latest) version. null indicates that the package is to not be |
|
|
53 |
// installed. If the package to be tested is only available from |
|
|
54 |
// PyPi, and the 'environment_type' is conda, then you can preface |
|
|
55 |
// the package name by 'pip+', and the package will be installed via |
|
|
56 |
// pip (with all the conda available packages installed first, |
|
|
57 |
// followed by the pip installed packages). |
|
|
58 |
// |
|
|
59 |
|
|
|
60 |
"matrix": { |
|
|
61 |
"numpy": ["1.13"], |
|
|
62 |
"scipy": [""], |
|
|
63 |
"six": [""], // test with and without six installed |
|
|
64 |
"scikit-learn": [""], // emcee is only available for install with pip. |
|
|
65 |
"openbabel": ["2.4.1", null], |
|
|
66 |
"rdkit": [null, "2017.09"] |
|
|
67 |
}, |
|
|
68 |
|
|
|
69 |
// Combinations of libraries/python versions can be excluded/included |
|
|
70 |
// from the set to test. Each entry is a dictionary containing additional |
|
|
71 |
// key-value pairs to include/exclude. |
|
|
72 |
// |
|
|
73 |
// An exclude entry excludes entries where all values match. The |
|
|
74 |
// values are regexps that should match the whole string. |
|
|
75 |
// |
|
|
76 |
// An include entry adds an environment. Only the packages listed |
|
|
77 |
// are installed. The 'python' key is required. The exclude rules |
|
|
78 |
// do not apply to includes. |
|
|
79 |
// |
|
|
80 |
// In addition to package names, the following keys are available: |
|
|
81 |
// |
|
|
82 |
// - python |
|
|
83 |
// Python version, as in the *pythons* variable above. |
|
|
84 |
// - environment_type |
|
|
85 |
// Environment type, as above. |
|
|
86 |
// - sys_platform |
|
|
87 |
// Platform, as in sys.platform. Possible values for the common |
|
|
88 |
// cases: 'linux2', 'win32', 'cygwin', 'darwin'. |
|
|
89 |
// |
|
|
90 |
"exclude": [ |
|
|
91 |
{"openbabel": null, "rdkit": null}, // ignore case without toolkit |
|
|
92 |
{"openbabel": "2.4.1", "rdkit": "2017.09"}, // both toolkits = OB |
|
|
93 |
], |
|
|
94 |
// |
|
|
95 |
// "include": [ |
|
|
96 |
// // additional env for python2.7 |
|
|
97 |
// {"python": "2.7", "numpy": "1.8"}, |
|
|
98 |
// // additional env if run on windows+conda |
|
|
99 |
// {"platform": "win32", "environment_type": "conda", "python": "2.7", "libpython": ""}, |
|
|
100 |
// ], |
|
|
101 |
|
|
|
102 |
// The directory (relative to the current directory) that benchmarks are |
|
|
103 |
// stored in. If not provided, defaults to "benchmarks" |
|
|
104 |
// "benchmark_dir": "benchmarks", |
|
|
105 |
|
|
|
106 |
// The directory (relative to the current directory) to cache the Python |
|
|
107 |
// environments in. If not provided, defaults to "env" |
|
|
108 |
// "env_dir": "env", |
|
|
109 |
|
|
|
110 |
// The directory (relative to the current directory) that raw benchmark |
|
|
111 |
// results are stored in. If not provided, defaults to "results". |
|
|
112 |
// "results_dir": "results", |
|
|
113 |
|
|
|
114 |
// The directory (relative to the current directory) that the html tree |
|
|
115 |
// should be written to. If not provided, defaults to "html". |
|
|
116 |
// "html_dir": "html", |
|
|
117 |
|
|
|
118 |
// The number of characters to retain in the commit hashes. |
|
|
119 |
// "hash_length": 8, |
|
|
120 |
|
|
|
121 |
// `asv` will cache wheels of the recent builds in each |
|
|
122 |
// environment, making them faster to install next time. This is |
|
|
123 |
// number of builds to keep, per environment. |
|
|
124 |
// "wheel_cache_size": 0 |
|
|
125 |
|
|
|
126 |
// The commits after which the regression search in `asv publish` |
|
|
127 |
// should start looking for regressions. Dictionary whose keys are |
|
|
128 |
// regexps matching to benchmark names, and values corresponding to |
|
|
129 |
// the commit (exclusive) after which to start looking for |
|
|
130 |
// regressions. The default is to start from the first commit |
|
|
131 |
// with results. If the commit is `null`, regression detection is |
|
|
132 |
// skipped for the matching benchmark. |
|
|
133 |
// |
|
|
134 |
// "regressions_first_commits": { |
|
|
135 |
// "some_benchmark": "352cdf", // Consider regressions only after this commit |
|
|
136 |
// "another_benchmark": null, // Skip regression detection altogether |
|
|
137 |
// } |
|
|
138 |
|
|
|
139 |
// The thresholds for relative change in results, after which `asv |
|
|
140 |
// publish` starts reporting regressions. Dictionary of the same |
|
|
141 |
// form as in ``regressions_first_commits``, with values |
|
|
142 |
// indicating the thresholds. If multiple entries match, the |
|
|
143 |
// maximum is taken. If no entry matches, the default is 5%. |
|
|
144 |
// |
|
|
145 |
// "regressions_thresholds": { |
|
|
146 |
// "some_benchmark": 0.01, // Threshold of 1% |
|
|
147 |
// "another_benchmark": 0.5, // Threshold of 50% |
|
|
148 |
// } |
|
|
149 |
} |