[Git][ghc/ghc][wip/T18319] testsuite: Increase size of T12150

Ben Gamari gitlab at gitlab.haskell.org
Wed Jun 10 22:43:55 UTC 2020



Ben Gamari pushed to branch wip/T18319 at Glasgow Haskell Compiler / GHC


Commits:
d1accf9a by Ben Gamari at 2020-06-10T18:43:42-04:00
testsuite: Increase size of T12150

As noted in #18319, this test was previously very fragile. Increase its
size to make it more likely that its fails with its newly-increased
acceptance threshold.

Metric Increase:
    T12150

- - - - -


1 changed file:

- testsuite/tests/perf/compiler/T12150.hs


Changes:

=====================================
testsuite/tests/perf/compiler/T12150.hs
=====================================
@@ -8,6 +8,9 @@ data Result a = Success a | Error String
 
    ghc-7.10.3 -O :  0.3s
    ghc-8.0.1 -O  :  1.8s
+
+   Increased to 450 guards in June 2020, along with increasing size of
+   acceptance threshold. 0.4s compile time
 -}
 
 instance Functor Result where
@@ -100,6 +103,413 @@ instance Functor Result where
          | bool = f
          | bool = f
 
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+         | bool = f
+
       where
         bool = undefined
         f = undefined



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d1accf9aa3bff16bddb61ba556ee7b007d00ff17

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d1accf9aa3bff16bddb61ba556ee7b007d00ff17
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200610/3abec33b/attachment-0001.html>


More information about the ghc-commits mailing list