-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpbench.json
More file actions
93 lines (93 loc) · 3.83 KB
/
Copy pathphpbench.json
File metadata and controls
93 lines (93 loc) · 3.83 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"$schema": "./vendor/phpbench/phpbench/phpbench.schema.json",
"runner.bootstrap": "vendor/autoload.php",
"runner.path": "bench",
"runner.progress": "plain",
"runner.file_pattern": "*Bench.php",
"runner.php_config": {
"opcache.enable": 1,
"zend.assertions": -1,
"opcache.enable_cli": 1,
"opcache.jit": "tracing",
"opcache.jit_buffer_size": "128M",
"opcache.jit_hot_loop": 1,
"opcache.jit_hot_func": 1,
"opcache.jit_hot_return": 1,
"opcache.jit_hot_side_exit": 1,
"xdebug.mode": "off",
"pcov.enabled": 0,
"memory_limit": -1
},
"storage.xml_storage_path": "var",
"storage.store_binary": true,
"storage.driver": "xml",
"report.generators": {
"default": {
"extends": "overview",
"tabbed": false,
"components": [
{
"component": "section",
"title": "Results",
"partition": [
"subject_name"
],
"components": [
{
"component": "table_aggregate",
"title": "{{ first(frame['subject_name']) }}",
"partition": [
"benchmark_name",
"variant_name"
],
"row": {
"benchmark": "first(partition['benchmark_name'])",
"set": "first(partition['variant_name'])",
"memory": "first(partition['result_mem_peak']) as memory",
"min": "min(partition['result_time_avg']) as time",
"max": "max(partition['result_time_avg']) as time",
"mode": "mode(partition['result_time_avg']) as time",
"rstdev": "rstdev(partition['result_time_avg'])"
}
}
]
}
]
},
"compare": {
"extends": "overview",
"tabbed": false,
"components": [
{
"component": "section",
"title": "Comparison",
"partition": [
"subject_name"
],
"components": [
{
"component": "table_aggregate",
"title": "{{ first(frame['subject_name']) }}",
"partition": [
"variant_name"
],
"row": {
"set": "first(partition['variant_name'])",
"tools": {
"type": "expand",
"var": "tool",
"partition": [
"coalesce(first(subject_groups), benchmark_name)"
],
"cols": {
"{{ key }}": "(mode(tool['result_time_avg']) as time) ~ if(count(partition[contains(subject_groups, 'baseline')]['result_time_avg']) > 0, if(mode(partition[contains(subject_groups, 'baseline')]['result_time_avg']) > 0, ' (' ~ format('%.2fx', mode(tool['result_time_avg']) / mode(partition[contains(subject_groups, 'baseline')]['result_time_avg'])) ~ ')', ''), '')"
}
}
}
}
]
}
]
}
}
}