[Git][ghc/ghc][master] T16190: only measure bytes_allocated

Marge Bot gitlab at gitlab.haskell.org
Wed Jun 17 19:32:03 UTC 2020



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


Commits:
0639dc10 by Sylvain Henry at 2020-06-17T15:31:53-04:00
T16190: only measure bytes_allocated

Just adding `{-# LANGUAGE BangPatterns #-}` makes the two other metrics
fluctuate by 13%.

- - - - -


1 changed file:

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


Changes:

=====================================
testsuite/tests/perf/compiler/all.T
=====================================
@@ -352,7 +352,7 @@ test ('WWRec',
 test('T16190',
       [ req_th,
         unless(have_ncg(), skip), # T16190 tests a NCG feature
-        collect_compiler_stats()
+        collect_compiler_stats('bytes allocated',20)
       ],
       multimod_compile,
       ['T16190.hs', '-v0'])



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0639dc10e214280a90dd6b75ce86cf43d1eb2286
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/20200617/93db22cc/attachment-0001.html>


More information about the ghc-commits mailing list