aports/testing/rakudo/perf-increase-tolerance.patch
Mike Sullivan 31fad81722 testing/rakudo: fix 08-performance/99-misc.t test break by increasing performance tolerance
Also bump testing/moarvm and testing/nqp to cause stucked builders
2018-11-03 16:53:27 +02:00

11 lines
450 B
Diff

--- a/t/08-performance/99-misc.t
+++ b/t/08-performance/99-misc.t
@@ -31,6 +31,6 @@
{ # https://github.com/rakudo/rakudo/issues/1740
my $t-plain = { (^∞).grep(*.is-prime)[1000]; now - ENTER now }();
my $t-hyper = { (^∞).hyper.grep(*.is-prime)[1000]; now - ENTER now }();
- cmp-ok $t-hyper, '≤', $t-plain*2,
+ cmp-ok $t-hyper, '≤', $t-plain*4,
'hypered .grep .is-prime is not hugely slower than plain grep';
}