-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
phpbench.json
32 lines (32 loc) · 939 Bytes
/
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
{
"$schema":"./vendor/phpbench/phpbench/phpbench.schema.json",
"runner.bootstrap": "./vendor/autoload.php",
"runner.file_pattern": "*Benchmark.php",
"runner.path": "Monorepo/Benchmark",
"core.profiles": {
"opcache_disabled": {
"runner.php_config": {
"opcache.enable": 0,
"opcache.enable_cli": 0
}
},
"opcache_enabled": {
"runner.php_config": {
"opcache.enable": 1,
"opcache.enable_cli": 1,
"opcache.revalidate_freq": 0,
"opcache.validate_timestamps": 0,
"opcache.max_accelerated_files": 20000,
"opcache.memory_consumption": 256,
"opcache.jit_buffer_size": "0"
}
}
},
"report.generators": {
"github-report": {
"generator": "expression",
"aggregate": ["benchmark_class", "subject_name", "variant_name"],
"cols": ["benchmark", "subject", "revs", "its", "mem_peak", "mode", "rstdev"]
}
}
}