[commit: ghc] master: Improved perf for T12227 (74033c4)
git at git.haskell.org
git at git.haskell.org
Wed Dec 21 14:06:54 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/74033c46d31874e7b1cccc9482cba22158121fa4/ghc
>---------------------------------------------------------------
commit 74033c46d31874e7b1cccc9482cba22158121fa4
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Dec 21 14:03:53 2016 +0000
Improved perf for T12227
Improved compiler allocations by abut 5%. It comes from one of
1a4c04b1 Fix 'SPECIALISE instance'
c48595ee Never apply worker/wrapper to DFuns
05d233e8 Move InId/OutId to CoreSyn
e07ad4db Don't eta-expand in stable unfoldings
d250d493 Add INLINE pragamas on Traversable default methods
c66dd05c Move typeSize/coercionSize into TyCoRep
I think d250d493.
But it's good anyway.
>---------------------------------------------------------------
74033c46d31874e7b1cccc9482cba22158121fa4
testsuite/tests/perf/compiler/all.T | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index ec59805..75e361d 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -866,9 +866,11 @@ test('T10547',
test('T12227',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 1822822016, 5),
+ [(wordsize(64), 1715827784, 5),
# 2016-07-11 5650186880 (Windows) before fix for #12227
# 2016-07-11 1822822016 (Windows) after fix for #12227
+ # 2016-12-20 1715827784 after d250d493 (INLINE in Traversable dms)
+ # (or thereabouts in the commit history)
]),
],
compile,
More information about the ghc-commits
mailing list