-
-
Notifications
You must be signed in to change notification settings - Fork 132
Expand file tree
/
Copy pathphpbench.json
More file actions
37 lines (37 loc) · 1.06 KB
/
phpbench.json
File metadata and controls
37 lines (37 loc) · 1.06 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
{
"$schema": "phpbench.schema.json",
"$include-glob": "examples/Benchmark/*/*.json",
"runner.file_pattern": "*Bench.php",
"core.extensions": [
"PhpBench\\Extension\\DevelopmentExtension"
],
"runner.bootstrap": "vendor/autoload.php",
"runner.path": "tests/Benchmark",
"runner.php_config": {
"memory_limit": "1G",
"xdebug.mode": "none"
},
"runner.iterations": 10,
"runner.retry_threshold": 5,
"runner.revs": 10,
"runner.assert": "mode(variant.time.avg) as ms <= mode(baseline.time.avg) as ms +/- 5%",
"expression.strip_tailing_zeros": true,
"report.generators": {
"examples": {
"generator": "composite",
"reports": [
"hashing",
"github-action-benchmark",
"config_linters"
]
}
},
"core.profiles": {
"examples": {
"core.extensions": [
"PhpBench\\Examples\\Extension\\AcmeExtension"
],
"runner.path": "examples/Benchmark"
}
}
}