forked from cachewerk/relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpbench.json
34 lines (34 loc) · 1.04 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
{
"core.extensions": [
"CacheWerk\\Relay\\PhpBench\\RedisExtension"
],
"runner.path": "benchmarks",
"runner.bootstrap": "vendor/autoload.php",
"runner.progress": "verbose",
"runner.executor": "redis",
"runner.file_pattern": "*Bench.php",
"runner.php_env": {
"REDIS_HOST": "127.0.0.1",
"REDIS_PORT": 6379
},
"report.generators": {
"redis": {
"extends": "aggregate",
"generator": "expression",
"break": ["benchmark"],
"expressions": {
"diff": "format(\"%.1fx (%.1f%%)\", mode(suite[subject_groups = [\"predis\"]][\"result_time_avg\"]) / mode(result_time_avg), percent_diff(mode(result_time_avg), mode(suite[subject_groups = [\"predis\"]][\"result_time_avg\"])))"
},
"cols": [
"benchmark",
"subject",
"revs",
"its",
"rstdev",
"mem_peak",
"mode",
"diff"
]
}
}
}