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

Marge Bot gitlab at gitlab.haskell.org
Thu May 30 20:44:51 UTC 2019



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
424e85b2 by Ben Gamari at 2019-05-30T20:44:43Z
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/424e85b2e1fc0f81504fcc2ee2d6c8ffe7e064e9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/424e85b2e1fc0f81504fcc2ee2d6c8ffe7e064e9
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/20190530/a0d13611/attachment.html>


More information about the ghc-commits mailing list