From b735e99d79448bd7f416b35d8b0473d8eb5271f1 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sun, 20 Mar 2016 17:49:58 +0100 Subject: 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 --- testsuite/tests/perf/compiler/all.T | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuite') 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) ]), ], -- cgit v1.2.1