Skip to content

Commit

Permalink
Merge #566 - benchmarks: decreasing benchmarks average time assertions
Browse files Browse the repository at this point in the history
benchmarks: decreasing benchmarks average time assertions
  • Loading branch information
williamdes authored Aug 14, 2024
2 parents 38386c0 + fd91563 commit 6dc815b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/benchmarks/UtfStringBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UtfStringBench
* @Revs(4)
* @OutputTimeUnit("milliseconds")
* @Assert("mode(variant.time.avg) < 100 milliseconds +/- 10%")
* @Assert("mode(variant.time.avg) > 30 milliseconds +/- 10%")
* @Assert("mode(variant.time.avg) > 25 milliseconds +/- 10%")
*/
public function benchBuildUtfString(): void
{
Expand All @@ -36,7 +36,7 @@ public function benchBuildUtfString(): void
* @Revs(2)
* @OutputTimeUnit("microseconds")
* @Assert("mode(variant.time.avg) < 800 microseconds +/- 20%")
* @Assert("mode(variant.time.avg) > 100 microseconds +/- 10%")
* @Assert("mode(variant.time.avg) > 60 microseconds +/- 10%")
*/
public function benchGetCharLength(): void
{
Expand Down

0 comments on commit 6dc815b

Please sign in to comment.