[Git][ghc/ghc][wip/libdir-bytes] 2 commits: testsuite: Track size of libdir in bytes
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Thu Nov 30 09:13:50 UTC 2023
Matthew Pickering pushed to branch wip/libdir-bytes at Glasgow Haskell Compiler / GHC
Commits:
925ff0ff by Matthew Pickering at 2023-11-30T09:13:43+00:00
testsuite: Track size of libdir in bytes
For consistency it's better if we track all size metrics in bytes.
Metric Increase:
libdir
- - - - -
a5891b24 by Matthew Pickering at 2023-11-30T09:13:43+00:00
testsuite: Remove rogue trace in testsuite
I accidentally left a trace in the generics metric patch.
- - - - -
2 changed files:
- testsuite/driver/testlib.py
- testsuite/tests/perf/size/Makefile
Changes:
=====================================
testsuite/driver/testlib.py
=====================================
@@ -1810,7 +1810,6 @@ def metric_dict(name, way, metric, value) -> PerfStat:
def check_generic_stats(name, way, get_stats):
for (metric, gen_stat) in get_stats.items():
res = report_stats(name, way, metric, gen_stat)
- print(res)
if badResult(res):
return res
return passed()
=====================================
testsuite/tests/perf/size/Makefile
=====================================
@@ -3,5 +3,5 @@ include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
libdir_size:
- du -s `$(TEST_HC) --print-libdir` | cut -f1 > SIZE
+ du -B1 -s `$(TEST_HC) --print-libdir` | cut -f1 > SIZE
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/521f1f1aa43449d4d1e310e4196ebcf38f325bf4...a5891b249a8f9a411375da739580638141ed8dfe
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/521f1f1aa43449d4d1e310e4196ebcf38f325bf4...a5891b249a8f9a411375da739580638141ed8dfe
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/20231130/9bdc7431/attachment-0001.html>
More information about the ghc-commits
mailing list