-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathasv.conf.json
63 lines (48 loc) · 2.16 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": "nix-config",
// The project's homepage
"project_url": "http://chriswarbo.net/projects/nix-config.html",
// The URL or local path of the source code repository for the
// project being benchmarked
"repo": "http://chriswarbo.net/git/nix-config.git",
// List of branches to benchmark
"branches": ["master"],
// The DVCS being used
"dvcs": "git",
// For providing environment types, etc.
"plugins": [ "asv_nix" ],
// The tool to use to create environments
"environment_type": "nix",
// timeout in seconds for installing any dependencies in environment
// defaults to 10 min
//"install_timeout": 600,
// The matrix of dependencies to test. Each key is the name of a
// dependency and the values distinguish different versions. These will be
// given as arguments to the builders. There's only one 'dir', so we use
// 'null' as the version.
"matrix": { "dir": [ "null" ] },
// These build the dependencies specified in matrix. 'dir' is the path of
// the checkout we're running from, i.e. the rev doing the measuring, not
// the rev being measured.
"builders": { "dir": "args: args.dir" },
// This builds the benchmarking environment. We take its definitions from
// 'dir', which is the checkout we're running from (i.e. $PWD). This
// ensures that every revision will be benchmarked in the same way.
"installer": "args: import ''${args.dir}/benchmarks'' args",
// The directory (relative to the current directory) that benchmarks are
// stored in
"benchmark_dir": "./benchmarks",
// 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"
}