forked from pydicom/pydicom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
asv.conf.json
70 lines (56 loc) · 2.43 KB
/
asv.conf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"version": 1,
"project": "pydicom",
"project_url": "https://github.com/pydicom/pydicom.git",
// The URL or local path of the repo for the project being benchmarked
"repo": ".",
"repo_subdir": "",
// Customizable commands for building, installing, and
// uninstalling the project. See asv.conf.json documentation.
//
// "install_command": ["in-dir={env_dir} python -mpip install {wheel_file}"],
// "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"],
// "build_command": [
// "python setup.py build",
// "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
// ],
// List of branches to benchmark. If not provided, defaults to "main"
// (for git) or "default" (for mercurial).
"branches": ["nested-seq-speed", "main"],
"environment_type": "virtualenv",
// timeout in seconds for installing any dependencies in environment
//"install_timeout": 600,
// the base URL to show a commit for the project.
"show_commit_url": "https://github.com/pydicom/pydicom/commit/",
// The Pythons you'd like to test against. If not provided, defaults
// to the current version of Python used to run `asv`.
// "pythons": ["2.7", "3.6"],
// The matrix of dependencies to test.
"matrix": {
"req": {
"numpy": []
},
},
// "benchmark_dir": "benchmarks",
"env_dir": "asv/env",
"results_dir": "asv/results",
"html_dir": "asv/html",
// The number of characters to retain in the commit hashes.
// "hash_length": 8,
// `asv` will cache results of the recent builds in each
// environment, making them faster to install next time. This is
// the number of builds to keep, per environment.
// "build_cache_size": 2,
// The commits after which the regression search in `asv publish`
// should start looking for regressions. ...
// "regressions_first_commits": {
// "some_benchmark": "352cdf", // Consider regressions only after this commit
// "another_benchmark": null, // Skip regression detection altogether
// },
// The thresholds for relative change in results, after which `asv
// publish` starts reporting regressions. ...
// "regressions_thresholds": {
// "some_benchmark": 0.01, // Threshold of 1%
// "another_benchmark": 0.5, // Threshold of 50%
// },
}