-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpbench.json
44 lines (44 loc) · 1.56 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
{
"runner.bootstrap": "vendor/autoload.php",
"runner.path": "benchmark/Routers",
"runner.file_pattern": "*.php",
"runner.retry_threshold": 4,
"runner.php_disable_ini": true,
"report.outputs": {
"gnuplotdata": {
"extends": "delimited",
"delimiter": "\t",
"file": "benchmark.csv"
}
},
"report.generators": {
"chart": {
"generator": "component",
"components": [
{
"component": "bar_chart_aggregate",
"title": "Routers benchmark",
"x_partition": ["subject_name", "variant_name"],
"bar_partition": ["benchmark_name"],
"y_expr": "mode(partition[\"result_time_avg\"])",
"y_axes_label": "yValue as time precision 1"
}
]
},
"table": {
"generator": "component",
"components": [
{
"component": "table_aggregate",
"partition": ["benchmark_name", "subject_name", "variant_name"],
"row": {
"router": "first(first(partition['subject_groups']))",
"test": "first(partition['subject_name']) ~ ' ' ~ first(partition['variant_name'])",
"time_avg": "first(partition['result_time_avg'])",
"memory": "first(partition['result_mem_peak']) / 1000000"
}
}
]
}
}
}