[Git][ghc/ghc][wip/backports] testsuite: Specify metrics collected by T17516

Ben Gamari gitlab at gitlab.haskell.org
Thu Aug 13 19:30:15 UTC 2020



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


Commits:
58f2b5d1 by Ben Gamari at 2020-08-13T15:02:33-04:00
testsuite: Specify metrics collected by T17516

Previously it collected everything, including "max bytes used". This is
problematic since the test makes no attempt to control for deviations in
GC timing, resulting in high variability. Fix this by only collecting
"bytes allocated".

(cherry picked from commit f1088b3f31ceddf918a319c97557fb1f08a9a387)

- - - - -


1 changed file:

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


Changes:

=====================================
testsuite/tests/perf/compiler/all.T
=====================================
@@ -370,7 +370,7 @@ test('T16190',
 test('T16473', normal, makefile_test, ['T16473'])
 
 test('T17516',
-      [ collect_compiler_stats(),
+      [ collect_compiler_stats('bytes allocated', 5),
         extra_clean(['T17516A.hi', 'T17516A.o'])
       ],
       multimod_compile,



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/58f2b5d13bd1d1744c3615f806bac2f6af0f45d6
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/20200813/8f1e1483/attachment.html>


More information about the ghc-commits mailing list