[Git][ghc/ghc][wip/perf-ci] FIXME: test CI fails correctly on unaccepted metric changes

Hannes Siebenhandl (@fendor) gitlab at gitlab.haskell.org
Fri Aug 23 11:28:34 UTC 2024



Hannes Siebenhandl pushed to branch wip/perf-ci at Glasgow Haskell Compiler / GHC


Commits:
3c77c36a by Fendor at 2024-08-23T13:28:20+02:00
FIXME: test CI fails correctly on unaccepted metric changes

- - - - -


2 changed files:

- testsuite/tests/perf/compiler/genMultiLayerModules
- testsuite/tests/perf/compiler/genMultiLayerModulesCore


Changes:

=====================================
testsuite/tests/perf/compiler/genMultiLayerModules
=====================================
@@ -2,7 +2,7 @@
 # Generate $DEPTH layers of modules with $WIDTH modules on each layer
 # Every module on layer N imports all the modules on layer N-1
 # MultiLayerModules.hs imports all the modules from the last layer
-DEPTH=15
+DEPTH=30
 WIDTH=40
 for i in $(seq -w 1 $WIDTH); do
   echo "module DummyLevel0M$i where" > DummyLevel0M$i.hs;


=====================================
testsuite/tests/perf/compiler/genMultiLayerModulesCore
=====================================
@@ -3,9 +3,9 @@
 # The type has $CONSTRS constructors with each $FIELDS fields.
 # All types derive 'Generic' to generate a large amount of Types.
 # MultiLayerModules.hs imports all the modules
-WIDTH=10
-FIELDS=10
-CONSTRS=15
+WIDTH=1
+FIELDS=1
+CONSTRS=1
 FIELD_VARS=$(for field in $(seq -w 1 $FIELDS); do echo -n "a${field} "; done)
 for i in $(seq -w 1 $WIDTH); do
   echo "module DummyLevel$i where" > DummyLevel$i.hs;



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3c77c36a37df51162670a9fca3981fdfe0116841
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/20240823/6a67cf6b/attachment-0001.html>


More information about the ghc-commits mailing list