diff options
author | Bartosz Nitka <niteria@gmail.com> | 2018-01-21 17:16:33 +0000 |
---|---|---|
committer | Bartosz Nitka <niteria@gmail.com> | 2018-01-23 22:56:36 +0000 |
commit | f00ddea96cc856654ac90fcf7d29556a758d6648 (patch) | |
tree | 8ae887a63b1ce77e96941362dad44aa3b3af32e3 /testsuite/tests | |
parent | 452dee3ff4f385977e56ac0fbb5adf0a90acbcac (diff) | |
download | haskell-f00ddea96cc856654ac90fcf7d29556a758d6648.tar.gz |
Allocate less in plus_mod_dep
This gives a 10% allocation improvement on MultiLayerModules.
The idea is to reuse existing tuples, instead of constantly
constructing new ones.
Test Plan: ./validate
Reviewers: simonpj, bgamari
Reviewed By: simonpj, bgamari
Subscribers: rwbarton, thomie, simonmar, carter
Differential Revision: https://phabricator.haskell.org/D4332
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/perf/compiler/all.T | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index 51dc6e8a99..431b2889e8 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -1143,10 +1143,11 @@ test('T13379', test('MultiLayerModules', [ compiler_stats_num_field('bytes allocated', - [(wordsize(64), 6294813000, 10), + [(wordsize(64), 5619893176, 10), # initial: 12139116496 # 2017-05-12: 6956533312 Revert "Use a deterministic map for imp_dep_mods" # 2017-05-31: 6294813000 Faster checkFamInstConsistency + # 2018-01-21: 5619893176 Allocate less in plus_mod_dep ]), pre_cmd('./genMultiLayerModules'), extra_files(['genMultiLayerModules']), |