[commit: ghc] master: Stress test for nested module hierarchies (e527fc2)
git at git.haskell.org
git at git.haskell.org
Mon May 15 11:15:14 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e527fc2e90958280a36645b6bd0223861cc50a55/ghc
>---------------------------------------------------------------
commit e527fc2e90958280a36645b6bd0223861cc50a55
Author: Bartosz Nitka <niteria at gmail.com>
Date: Mon May 15 04:14:01 2017 -0700
Stress test for nested module hierarchies
I'm optimizing a case that is well approximated by
multiple layers of modules where every module in a layer
imports all the modules in the layer below.
It turns out I regressed performance on such cases in 7fea7121.
I'm adding a test case to track improvements and prevent
future regressions.
Test Plan: ./validate
Reviewers: simonmar, austin, bgamari
Reviewed By: simonmar
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3575
>---------------------------------------------------------------
e527fc2e90958280a36645b6bd0223861cc50a55
compiler/deSugar/DsUsage.hs | 4 ++--
compiler/iface/MkIface.hs | 5 ++---
compiler/typecheck/TcRnDriver.hs | 14 ++++++-------
compiler/typecheck/TcRnTypes.hs | 24 ++++++++++++++--------
testsuite/tests/perf/compiler/all.T | 12 +++++++++++
testsuite/tests/perf/compiler/genMultiLayerModules | 21 +++++++++++++++++++
6 files changed, 60 insertions(+), 20 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc e527fc2e90958280a36645b6bd0223861cc50a55
More information about the ghc-commits
mailing list