File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 8989 working-directory : " tests/"
9090
9191 - name : " Run phpbench test"
92- run : " tests/vendor/bin/phpbench run --file=tests/bench/storage/baseline.xml --report=aggregate --assert= \" mode(variant.time.avg) < mode(baseline.time.avg) +/- 10% \" "
92+ run : " tests/vendor/bin/phpbench run --file=tests/bench/storage/baseline.xml --report=aggregate"
Original file line number Diff line number Diff line change 88#[Bench \Iterations(iterations: 5 )]
99#[Bench \Warmup(revs: 1 )]
1010#[Bench \RetryThreshold(retryThreshold: 10.0 )]
11+ #[Bench \Assert(expression: '
12+ (mode(baseline.time.avg) < 50 milliseconds and mode(variant.time.avg) < mode(baseline.time.avg) +/- 25%)
13+ or (mode(baseline.time.avg) >= 50 milliseconds and mode(baseline.time.avg) < 500 milliseconds and mode(variant.time.avg) < mode(baseline.time.avg) +/- 10%)
14+ or (mode(baseline.time.avg) >= 500 milliseconds and mode(variant.time.avg) < mode(baseline.time.avg) +/- 5%) ' )]
1115class RegressionBench extends BenchCase
1216{
1317
You can’t perform that action at this time.
0 commit comments