-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpbench.json
78 lines (71 loc) · 2.54 KB
/
phpbench.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
71
72
73
74
75
76
77
78
{
"$schema": "./vendor/phpbench/phpbench/phpbench.schema.json",
"runner.bootstrap": "vendor/autoload.php",
"runner.path": "tools/PHPBench",
"runner.iterations": 1,
"runner.file_pattern": "*Bench.php",
"report.generators": {
"all": {
"generator": "composite",
"reports": [
"preconditions-trees-chart",
"preconditions-leaves-chart",
"fileSyncers-chart",
"detail",
"default"
]
},
"preconditions-trees-chart": {
"generator": "component",
"filter": "benchmark_name='PreconditionBench' and subject_name='benchCoreTrees'",
"components": [
{
"component": "bar_chart_aggregate",
"title": "Preconditions Trees",
"bar_partition": ["variant_name"],
"y_expr": "mode(partition['result_time_avg'])",
"y_axes_label": "yValue as time precision 1"
}
]
},
"preconditions-leaves-chart": {
"generator": "component",
"filter": "benchmark_name='PreconditionBench' and subject_name='benchLeaves'",
"components": [
{
"component": "bar_chart_aggregate",
"title": "Individual Preconditions",
"bar_partition": ["variant_name"],
"y_expr": "mode(partition['result_time_avg'])",
"y_axes_label": "yValue as time precision 1"
}
]
},
"fileSyncers-chart": {
"generator": "component",
"filter": "subject_name='benchSync'",
"components": [
{
"component": "bar_chart_aggregate",
"title": "File Syncers",
"x_partition": ["variant_params['operation']"],
"bar_partition": ["variant_params['syncerClassName']"],
"y_expr": "mode(partition['result_time_avg'])",
"y_axes_label": "yValue as time precision 1"
}
]
},
"detail": {
"generator": "expression",
"break": ["benchmark", "subject"]
}
},
"report.outputs": {
"html": {
"renderer": "html",
"path": "var/phpbench/report.htm",
"title": "Composer Stager PHPBench Report"
}
},
"expression.strip_tailing_zeros": true
}