3 # All the tests in this file are ones that run exceptionally slowly
4 # (each test taking seconds or even minutes) in the absence of particular
5 # optimisations. Thus it is a sort of canary for optimisations being
8 # Although it includes a watchdog timeout, this is set to a generous limit
9 # to allow for running on slow systems; therefore a broken optimisation
10 # might be indicated merely by this test file taking unusually long to
11 # run, rather than actually timing out.
26 require Config; import Config;
38 # RT #121975 COW speedup lost after e8c6a474
40 # without COW, this test takes minutes; with COW, its less than a
43 skip "PERL_NO_COW", 1 if $Config{ccflags} =~ /PERL_NO_COW/;
47 $y = $x for 1..1_000_000;
48 pass("COW 1Mb strings");