From fd91563b8c0a93e2833333a127a6277e696f65d4 Mon Sep 17 00:00:00 2001 From: Fawzi Abdulfattah Date: Wed, 10 Jul 2024 01:29:26 +0300 Subject: [PATCH] benchmarks: decreasing benchmarks average time assertions Signed-off-by: Fawzi Abdulfattah --- tests/benchmarks/UtfStringBench.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/benchmarks/UtfStringBench.php b/tests/benchmarks/UtfStringBench.php index eaae4754f..868fe70d1 100644 --- a/tests/benchmarks/UtfStringBench.php +++ b/tests/benchmarks/UtfStringBench.php @@ -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 { @@ -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 {