[Git][ghc/ghc][wip/recenter-T9630] testsuite: Compile T9630 with +RTS -G1

David Eichmann gitlab at gitlab.haskell.org
Wed May 29 09:27:00 UTC 2019



David Eichmann pushed to branch wip/recenter-T9630 at Glasgow Haskell Compiler / GHC


Commits:
210b35cf by Ben Gamari at 2019-05-29T09:24:19Z
testsuite: Compile T9630 with +RTS -G1

For the reasons described in Note [residency] we run programs with -G1
when we care about the max_bytes_used metric.

- - - - -


1 changed file:

- testsuite/tests/perf/compiler/all.T


Changes:

=====================================
testsuite/tests/perf/compiler/all.T
=====================================
@@ -382,7 +382,10 @@ test('Naperian',
 
 test ('T9630',
       [ collect_compiler_stats('max_bytes_used',15), # Note [residency]
-      extra_clean(['T9630a.hi', 'T9630a.o'])
+      extra_clean(['T9630a.hi', 'T9630a.o']),
+
+      # Use `+RTS -G1` for more stable residency measurements. Note [residency].
+      extra_hc_opts('+RTS -G1 -RTS')
       ],
       multimod_compile,
       ['T9630', '-v0 -O'])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/210b35cf7df448253f7c17fba5109f7e96cad425

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/210b35cf7df448253f7c17fba5109f7e96cad425
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/20190529/f7ff4dca/attachment.html>


More information about the ghc-commits mailing list