-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpbench.json
37 lines (37 loc) · 1.32 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
{
"$schema":"./vendor/phpbench/phpbench/phpbench.schema.json",
"runner.bootstrap": "vendor/autoload.php",
"runner.path": "tests/Benchmark",
"runner.file_pattern": "*Bench.php",
"report.generators": {
"chart": {
"generator": "component",
"components": [
{
"title": "Request average time comparison",
"component": "bar_chart_aggregate",
"x_partition": "variant_params['limit'] ~ ' requests'",
"bar_partition": "subject_name",
"y_expr": "mode(partition['result_time_avg']) as time",
"y_axes_label": "yValue as time"
},
{
"title": "Peak memory usage comparison",
"component": "bar_chart_aggregate",
"x_partition": "variant_params['limit'] ~ ' requests'",
"bar_partition": "subject_name",
"y_expr": "mode(partition['result_mem_peak']) as memory",
"y_axes_label": "yValue as memory"
}
]
},
"all": {
"generator": "composite",
"reports": [
"default",
"aggregate",
"chart"
]
}
}
}