-
Notifications
You must be signed in to change notification settings - Fork 17
/
asv.conf.json
63 lines (48 loc) · 1.84 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
{
// The version of the config file format. Do not change, unless
// you know what you are doing.
"version": 1,
// The name of the project being benchmarked
"project": "napari-spatialdata",
// The project's homepage
"project_url": "http://napari.org/",
// The URL or local path of the source code repository for the
// project being benchmarked
"repo": ".",
// Install using default qt install
"build_command": ["python -V"], // skip build stage
"install_command": [
"in-dir={env_dir} python -m pip install {build_dir}[all,test]"
],
"uninstall_command": [
"in-dir={env_dir} python -m pip uninstall -y {project}"
],
// List of branches to benchmark
"branches": ["main"],
// The tool to use to create environments.
"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": "http://github.com/napari/napari/commit/",
// The Pythons you'd like to test against.
"pythons": ["3.11"],
// The directory (relative to the current directory) to cache the Python
// environments in.
"env_dir": ".asv/env",
// The directory (relative to the current directory) that raw benchmark
// results are stored in.
"results_dir": ".asv/results",
// The directory (relative to the current directory) that the html tree
// should be written to.
"html_dir": ".asv/html",
// The directory (relative to the current directory) where the benchmarks
// are stored
"benchmark_dir": "benchmarks",
// 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
}