diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-03-20 17:49:58 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-03-20 22:00:37 +0100 |
commit | b735e99d79448bd7f416b35d8b0473d8eb5271f1 (patch) | |
tree | 98e970b5d44a91349a18a15c42958c4e9a2ede1e /testsuite | |
parent | ba95f22eb98cc2ee2d8d76e56df80769c379413d (diff) | |
download | haskell-b735e99d79448bd7f416b35d8b0473d8eb5271f1.tar.gz |
DsExpr: Don't build/foldr huge lists
Desugaring long lists with build trades large static data for large
code, which is likely a poor trade-off. See #11707.
Test Plan: Validate, nofib
Reviewers: simonpj, austin
Reviewed By: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2007
GHC Trac Issues: #11707
Diffstat (limited to 'testsuite')
-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 c19d51d434..a1ebe11187 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -722,12 +722,13 @@ test('T9872d', test('T9961', [ only_ways(['normal']), compiler_stats_num_field('bytes allocated', - [(wordsize(64), 745044392, 5), + [(wordsize(64), 519436672, 5), # 2015-01-12 807117816 Initally created # 2015-spring 772510192 Got better # 2015-05-22 663978160 Fix for #10370 improves it more # 2015-10-28 708680480 x86_64/Linux Emit Typeable at definition site # 2015-12-17 745044392 x86_64/Darwin Creep upwards + # 2016-03-20 519436672 x64_64/Linux Don't use build desugaring for large lists (D2007) (wordsize(32), 375647160, 5) ]), ], |