diff options
author | Simon Marlow <marlowsd@gmail.com> | 2018-05-01 16:52:05 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2018-05-17 15:18:20 +0100 |
commit | f27e4f624fe1270e8027ff0a14f03514f5be31b7 (patch) | |
tree | eb711910a70958b0ee9bcfca52050b45be10e178 /testsuite/tests/perf/haddock | |
parent | 5f15d53a98ad2f26465730d8c3463ccc58f6d94a (diff) | |
download | haskell-f27e4f624fe1270e8027ff0a14f03514f5be31b7.tar.gz |
Fix GHCi space leaks (#15111)
Summary:
There were a number of leaks causing previously loaded modules to be
retained after a new `:load`. This fixes enough leaks to get the
tests to pass from D4658.
Test Plan: See new tests in D4658
Reviewers: niteria, bgamari, simonpj, erikd
Subscribers: thomie, carter
GHC Trac Issues: #15111
Differential Revision: https://phabricator.haskell.org/D4659
Diffstat (limited to 'testsuite/tests/perf/haddock')
-rw-r--r-- | testsuite/tests/perf/haddock/all.T | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuite/tests/perf/haddock/all.T b/testsuite/tests/perf/haddock/all.T index 146c2f3ca1..78fd3f8eb7 100644 --- a/testsuite/tests/perf/haddock/all.T +++ b/testsuite/tests/perf/haddock/all.T @@ -10,7 +10,7 @@ test('haddock.base', # 2017-02-19 24286343184 (x64/Windows) - Generalize kind of (->) # 2017-12-24 18733710728 (x64/Windows) - Unknown - ,(wordsize(64), 18971030224, 5) + ,(wordsize(64), 21123660336, 5) # 2012-08-14: 5920822352 (amd64/Linux) # 2012-09-20: 5829972376 (amd64/Linux) # 2012-10-08: 5902601224 (amd64/Linux) @@ -50,6 +50,7 @@ test('haddock.base', # 2018-04-10: 18511324808 (x86_64/Linux) - TTG HsBinds and Data instances # 2018-04-11: 20727464616 (x86_64/Linux) - Collateral of simplCast improvement (#14737) # 2018-04-20: 18971030224 (x86_64/Linux) - Cache coercion roles + # 2018-05-14: 21123660336 (amd64/Linux) D4659: strictness to fix space leaks ,(platform('i386-unknown-mingw32'), 2885173512, 5) # 2013-02-10: 3358693084 (x86/Windows) @@ -76,7 +77,7 @@ test('haddock.Cabal', [extra_files(['../../../../libraries/Cabal/Cabal/dist-install/haddock.t']), unless(in_tree_compiler(), skip), req_haddock ,stats_num_field('bytes allocated', - [(wordsize(64), 23525241536, 5) + [(wordsize(64), 24519860272, 5) # 2012-08-14: 3255435248 (amd64/Linux) # 2012-08-29: 3324606664 (amd64/Linux, new codegen) # 2012-10-08: 3373401360 (amd64/Linux) @@ -130,6 +131,7 @@ test('haddock.Cabal', # 2017-11-09: 20104611952 (amd64/Linux) - Bump Cabal # 2018-01-22: 25261834904 (amd64/Linux) - Bump Cabal # 2018-04-10: 23525241536 (amd64/Linux) - TTG HsBinds and Data instances + # 2018-05-14: 24519860272 (amd64/Linux) D4659: strictness to fix space leaks ,(platform('i386-unknown-mingw32'), 3293415576, 5) # 2012-10-30: 1733638168 (x86/Windows) @@ -155,7 +157,7 @@ test('haddock.compiler', ,stats_num_field('bytes allocated', [(platform('x86_64-unknown-mingw32'), 56775301896, 10), # 2017-12-24: 56775301896 (x64/Windows) - (wordsize(64), 58410358720, 10) + (wordsize(64), 63038317672, 10) # 2012-08-14: 26070600504 (amd64/Linux) # 2012-08-29: 26353100288 (amd64/Linux, new CG) # 2012-09-18: 26882813032 (amd64/Linux) @@ -179,6 +181,7 @@ test('haddock.compiler', # 2017-07-12: 51592019560 (amd64/Linux) Use getNameToInstancesIndex # 2018-04-08: 91115212032 (amd64/Linux) Trees that grow # 2018-04-10: 58410358720 (amd64/Linux) Trees that grow (HsBinds, Data instances) + # 2018-05-14: 63038317672 (amd64/Linux) D4659: strictness to fix space leaks ,(platform('i386-unknown-mingw32'), 367546388, 10) # 2012-10-30: 13773051312 (x86/Windows) |