-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpbench.json
54 lines (54 loc) · 1.61 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
{
"$schema":"./vendor/phpbench/phpbench/phpbench.schema.json",
"runner.bootstrap": "vendor/autoload.php",
"runner.file_pattern": "*Bench.php",
"report.generators": {
"diff": {
"generator": "component",
"partition": ["benchmark_name"],
"components": [
{
"component": "section",
"title": "{{ first(frame[\"benchmark_name\"]) }}",
"components": [
{
"component": "table_aggregate",
"partition": ["subject_name", "variant_name"],
"groups":
{
"time (kde mode)":
{
"cols": ["time"]
},
"memory":
{
"cols": ["memory"]
}
},
"row":
{
"subject": "first(partition[\"subject_name\"]) ~ \" (\" ~ first(partition[\"variant_name\"]) ~ \")\"",
"time":
{
"type": "expand",
"partition": "suite_tag",
"cols":
{
"Tag: {{ key }}": "mode(partition[\"result_time_avg\"]) as time ~ ' (' ~ rstdev(partition['result_time_avg']) ~ ')'"
}
},
"memory":
{
"type": "expand",
"partition": "suite_tag",
"cols":
{
"Tag: {{ key }} ": "mode(partition[\"result_mem_peak\"]) as memory"
}
}
}
}]
}]
}
}
}