From: Debian Rakudo Maintainers <pkg-rakudo-devel@lists.alioth.debian.org>
Date: Fri, 4 Oct 2024 02:19:22 +0000
Subject: Fix perf test

Bug: https://github.com/rakudo/rakudo/issues/2567
Author: dod

On some arch like mipsel and armhf the perf difference checked in this
test is not always greater than 10. Build log shows a delta around 8x
on mipsel. Let's set the limit to 5.
===================================================================
---
 t/08-performance/99-misc.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/08-performance/99-misc.t b/t/08-performance/99-misc.t
index 31aa6ef..cd94f02 100644
--- a/t/08-performance/99-misc.t
+++ b/t/08-performance/99-misc.t
@@ -26,8 +26,8 @@ unless $skip {
     my $took2 = now - $then;
 
     is $result1, $result2, "is $result1 == $result2";
-    ok $took2 < $took1 / 10,
-        "was native .sum $took2 at least 10x as fast as $took1 ({$took1/$took2}x)";
+    ok $took2 < $took1 / 5,
+        "was native .sum $took2 at least 5x as fast as $took1 ({$took1/$took2}x)";
 }
 
 unless $skip { # https://github.com/rakudo/rakudo/issues/1740
