summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/compiler/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/perf/compiler/all.T')
-rw-r--r--testsuite/tests/perf/compiler/all.T214
1 files changed, 182 insertions, 32 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 03892714c7..7420690232 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -39,7 +39,7 @@ test('T1969',
# 2013-11-13 17 (x86/Windows, 64bit machine)
# 2015-07-11 21 (x86/Linux, 64bit machine) use +RTS -G1
# 2016-04-06 30 (x86/Linux, 64bit machine)
- (wordsize(64), 61, 20)]),
+ (wordsize(64), 73, 20)]),
# 28 (amd64/Linux)
# 34 (amd64/Linux)
# 2012-09-20 23 (amd64/Linux)
@@ -55,6 +55,8 @@ test('T1969',
# See the comment 16 on #8472.
# 2017-02-17 83 (amd64/Linux) Type-indexed Typeable
# 2017-03-31 61 (amd64/Linux) Fix memory leak in simplifier
+ # 2018-01-25 78 (amd64/Linux) Use CoreExpr for EvTerm
+ # 2018-07-10 73 (amd64/Linux) Fix space leaks
compiler_stats_num_field('max_bytes_used',
[(platform('i386-unknown-mingw32'), 5719436, 20),
# 2010-05-17 5717704 (x86/Windows)
@@ -72,7 +74,7 @@ test('T1969',
# 2017-03-24 9261052 (x86/Linux, 64-bit machine)
# 2017-04-06 9418680 (x86/Linux, 64-bit machine)
- (wordsize(64), 16679176, 15)]),
+ (wordsize(64), 19738608, 15)]),
# 2014-09-10 10463640, 10 # post-AMP-update (somewhat stabelish)
# looks like the peak is around ~10M, but we're
# unlikely to GC exactly on the peak.
@@ -87,6 +89,9 @@ test('T1969',
# 2017-02-01 19924328 (amd64/Linux) Join points (#12988)
# 2017-02-14 16393848 Early inline patch
# 2017-03-31 16679176 Fix memory leak in simplifier
+ # 2017-08-25 19199872 Refactor the Mighty Simplifier
+ # 2018-02-19 22311600 (amd64/Linux) Unknown
+ # 2018-07-10 19738608 (amd64/Linux) Fix space leaks
compiler_stats_num_field('bytes allocated',
[(platform('i386-unknown-mingw32'), 301784492, 5),
@@ -105,7 +110,7 @@ test('T1969',
# 2015-07-11 288699104 (x86/Linux, 64-bit machine) use +RTS -G1
# 2016-04-06 344730660 (x86/Linux, 64-bit machine)
# 2017-03-24 324586096 (x86/Linux, 64-bit machine)
- (wordsize(64), 659863176, 5)]),
+ (wordsize(64), 670839456, 5)]),
# 2009-11-17 434845560 (amd64/Linux)
# 2009-12-08 459776680 (amd64/Linux)
# 2010-05-17 519377728 (amd64/Linux)
@@ -129,6 +134,7 @@ test('T1969',
# 2017-02-17 831733376 (x86_64/Linux) Type-indexed Typeable
# 2017-02-25 695354904 (x86_64/Linux) Early inlining patch
# 2017-04-21 659863176 (x86_64/Linux) Unknown
+ # 2018-07-10 670839456 (x86_64/Linux) Unknown (just updating)
only_ways(['normal']),
extra_hc_opts('-dcore-lint -static'),
@@ -196,7 +202,7 @@ test('T3294',
# 2013-11-13: 1478325844 (x86/Windows, 64bit machine)
# 2014-01-12: 1565185140 (x86/Linux)
# 2013-04-04: 1377050640 (x86/Windows, 64bit machine)
- (wordsize(64), 2253557280, 5)]),
+ (wordsize(64), 1858491504, 5)]),
# old: 1357587088 (amd64/Linux)
# 29/08/2012: 2961778696 (amd64/Linux)
# (^ increase due to new codegen, see #7198)
@@ -211,6 +217,7 @@ test('T3294',
# 2016-07-11: 2739731144 (Windows) after fix for #12227 (ignoring)
# 2017-02-17: 2758641264 (amd64/Linux) (Type indexed Typeable)
# 2017-05-14: 2253557280 (amd64/Linux) Two-pass CmmLayoutStack
+ # 2017-10-24: 1858491504 (amd64/Linux) Improved linear regAlloc
conf_3294,
# Use `+RTS -G1` for more stable residency measurements. Note [residency].
@@ -333,7 +340,7 @@ test('T3064',
# 2016-04-06: 153261024 (x86/Linux) probably wildcard refactor
# 2017-03-24: 134044092 (x86/Linux, 64-bit machine) Update
- (wordsize(64), 281509496, 5)]),
+ (wordsize(64), 272759920, 5)]),
# (amd64/Linux) (2011-06-28): 73259544
# (amd64/Linux) (2013-02-07): 224798696
# (amd64/Linux) (2013-08-02): 236404384, increase from roles
@@ -360,6 +367,8 @@ test('T3064',
# (amd64/Linux) (2017-02-14): 259815560 Early inline patch: 9% improvement
# (amd64/Linux) (2017-03-31): 265950920 Fix memory leak in simplifier
# (amd64/Linux) (2017-05-01): 281509496 Avoid excessive space usage from unfoldings in CoreTidy
+ # (amd64/Linux) (2017-05-01): 258505536 I think this is improvement in coercionKind e4ab65bd
+ # (amd64/Linux) (2018-08-04): 272759920 It's unclear
###################################
# deactivated for now, as this metric became too volatile recently
@@ -444,7 +453,7 @@ test('T5631',
# 2014-04-04: 346389856 (x86 Windows, 64 bit machine)
# 2014-12-01: 390199244 (Windows laptop)
# 2016-04-06: 570137436 (amd64/Linux) many reasons
- (wordsize(64), 1037482512, 5)]),
+ (wordsize(64), 1161885448, 5)]),
# expected value: 774595008 (amd64/Linux):
# expected value: 735486328 (amd64/Linux) 2012/12/12:
# expected value: 690742040 (amd64/Linux) Call Arity improvements
@@ -459,6 +468,9 @@ test('T5631',
# 2017-02-17: 1517484488 (amd64/Linux) Type-indexed Typeable
# 2017-03-03: 1065147968 (amd64/Linux) Share Typeable KindReps
# 2017-03-31: 1037482512 (amd64/Linux) Fix memory leak in simplifier
+ # 2017-07-27: 1106015512 (Mac) Regresssion from tracking visibility in TypeEqOrigin
+ # should be fixed by #14037
+ # 2018-06-18: 1161885448 (Mac) Not entirely clear
only_ways(['normal'])
],
compile,
@@ -469,11 +481,13 @@ test('parsing001',
[(wordsize(32), 232777056, 10),
# Initial: 274000576
# 2017-03-24: 232777056
- (wordsize(64), 463931280, 5)]),
+ (wordsize(64), 519401296, 5)]),
# expected value: 587079016 (amd64/Linux)
# 2016-09-01: 581551384 (amd64/Linux) Restore w/w limit (#11565)
# 2016-12-19: 493730288 (amd64/Linux) Join points (#12988)
# 2017-02-14: 463931280 Early inlining patch; acutal improvement 7%
+ # 2017-12-11: 490228304 BlockArguments
+ # 2018-04-09: 519401296 Inexplicable, collateral of #14737
only_ways(['normal']),
],
compile_fail, [''])
@@ -493,7 +507,7 @@ test('T783',
# 2016-04-06: 249332816 (x86/Linux, 64-bit machine)
# 2017-03-24: 225911912 (x86/Linux, 64-bit machine)
- (wordsize(64), 436978192, 10)]),
+ (wordsize(64), 481875416, 10)]),
# prev: 349263216 (amd64/Linux)
# 07/08/2012: 384479856 (amd64/Linux)
# 29/08/2012: 436927840 (amd64/Linux)
@@ -523,6 +537,7 @@ test('T783',
# 2016-02-03: 488592288 (amd64/Linux)
# (D1795: Another overhaul of pattern match checker, #11374)
# 2017-02-14 436978192 Early inlining: 5% improvement
+ # 2017-09-08 481875416 Unknown
extra_hc_opts('-static')
],
@@ -540,7 +555,10 @@ test('T5321Fun',
# 2016-04-06: 279922360 x86/Linux
# 2017-03-24: 244387620 x86/Linux (64-bit machine)
- (wordsize(64), 449577856, 5)])
+ (platform('x86_64-apple-darwin'), 446893600, 5),
+ # 2018-03-17: 423774560 # OS X-only (reason unknown, see #11753)
+
+ (wordsize(64), 423774560, 5)])
# prev: 585521080
# 2012-08-29: 713385808 # (increase due to new codegen)
# 2013-05-15: 628341952 # (reason for decrease unknown)
@@ -567,6 +585,7 @@ test('T5321Fun',
# 2017-02-23: 524706256 # Type-indexed Typeable? (on Darwin)
# 2017-02-25: 488295304 # Early inlining patch
# 2017-05-14: 449577856 # (amd64/Linxu) Two-pass CmmLayoutStack
+ # 2017-12-13: 423774560 # (amd64/Linxu) Typechecker improvements
],
compile,[''])
@@ -581,7 +600,7 @@ test('T5321FD',
# (due to better optCoercion, 5e7406d9, #9233)
# 2016-04-06: 250757460 (x86/Linux)
- (wordsize(64), 415136648, 10)])
+ (wordsize(64), 371826136, 10)])
# prev: 418306336
# 29/08/2012: 492905640
# (increase due to new codegen)
@@ -603,6 +622,7 @@ test('T5321FD',
# 2016-07-16: 477840432
# Optimize handling of built-in OccNames
# 2017-05-14: 415136648 (amd64/Linux) Two-pass CmmLayoutStack
+ # 2018-04-24: 371826136 (amd64/Linux) Store size in LitString
],
compile,[''])
@@ -650,11 +670,12 @@ test('T5837',
# 2016-04-06: 24199320 (x86/Linux, 64-bit machine) TypeInType
# 2017-03-24: 27028956 (x86/Linux, 64-bit machine)
- (platform('x86_64-unknown-mingw32'), 59161648, 7),
+ (platform('x86_64-unknown-mingw32'), 54793816, 7),
# 2017-02-19 59161648 (x64/Windows) - Unknown
# 2017-04-21 54985248 (x64/Windows) - Unknown
+ # 2017-12-24 54793816 (x64/Windows) - Unknown
- (wordsize(64), 52625920, 7)])
+ (wordsize(64), 55813608, 7)])
# sample: 3926235424 (amd64/Linux, 15/2/2012)
# 2012-10-02 81879216
# 2012-09-20 87254264 amd64/Linux
@@ -690,6 +711,9 @@ test('T5837',
# 2017-02-20 58648600 amd64/Linux Type-indexed Typeable
# 2017-02-28 54151864 amd64/Linux Likely drift due to recent simplifier improvements
# 2017-02-25 52625920 amd64/Linux Early inlining patch
+ # 2017-09-06 56782344 amd64/Linux Drift manifest in unrelated LLVM patch
+ # 2017-10-24 52089424 amd64/linux Fix space leak in BinIface.getSymbolTable
+ # 2018-02-19 55813608 amd64/Linux Unknown
],
compile, ['-freduction-depth=50'])
@@ -704,7 +728,7 @@ test('T6048',
# 2014-12-01: 49987836 (x86 Windows)
# 2016-04-06: 55701280 (x86/Linux, 64-bit machine)
- (wordsize(64), 90996312, 10)])
+ (wordsize(64), 100574504, 10)])
# 2012-09-18 97247032 amd64/Linux
# 2014-01-16 108578664 amd64/Linux (unknown, likely foldl-via-foldr)
# 2014-01-18 95960720 amd64/Linux Call Arity improvements
@@ -717,7 +741,8 @@ test('T6048',
# 2016-03-11 108225624 amd64/Linux unknown reason sadly; likely gradual creep.
# 2016-11-25 94327392 amd64/Linux Back down again hooray; still not sure why
# 2017-02-17 115715592 amd64/Linux Type-indexed Typeable
- # 2017-04-28 90996312 Join point refactoring
+ # 2017-04-28 90996312 Join point refactoring
+ # 2018-06-18 100574504 Darwin Unclear
],
compile,[''])
@@ -729,7 +754,7 @@ test('T9020',
# 2014-07-31: 343005716 (Windows) (general round of updates)
# 2017-03-24: 249904136 (x86/Linux, 64-bit machine)
- (wordsize(64), 423163832, 10)])
+ (wordsize(64), 391876936, 10)])
# prev: 795469104
# 2014-07-17: 728263536 (general round of updates)
# 2014-09-10: 785871680 post-AMP-cleanup
@@ -743,13 +768,15 @@ test('T9020',
# Program size collapses in first simplification
# 2017-03-31: 493596312 Fix memory leak in simplifier
# 2017-04-28: 423163832 Remove exponential behaviour in simplifier
+ # 2018-04-09: 562206104 Inexplicable, collateral of #14737
+ # 2018-05-14: 391876936 Improved simplCast performance #15019
],
compile,[''])
test('T9675',
[ only_ways(['optasm']),
compiler_stats_num_field('max_bytes_used', # Note [residency]
- [(wordsize(64), 17675240, 15),
+ [(wordsize(64), 20499224, 15),
# 2014-10-13 29596552
# 2014-10-13 26570896 seq the DmdEnv in seqDmdType as well
# 2014-10-13 18582472 different machines giving different results..
@@ -760,12 +787,13 @@ test('T9675',
# 2016-03-14 38776008 Final demand analyzer run
# 2016-04-01 29871032 Fix leaks in demand analysis
# 2016-04-30 17675240 Fix leaks in tidy unfoldings
+ # 2018-09-21 20499224 See #15663
(wordsize(32), 18043224, 15)
# 2015-07-11 15341228 (x86/Linux, 64-bit machine) use +RTS -G1
# 2016-04-06 18043224 (x86/Linux, 64-bit machine)
]),
compiler_stats_num_field('peak_megabytes_allocated', # Note [residency]
- [(wordsize(64), 63, 15),
+ [(wordsize(64), 75, 15),
# 2014-10-13 66
# 2014-10-13 58 seq the DmdEnv in seqDmdType as well
# 2014-10-13 49 different machines giving different results...
@@ -777,6 +805,7 @@ test('T9675',
# 2016-04-14 144 Final demand analyzer run
# 2016-07-26 121 Unboxed sums?
# 2017-04-30 63 Fix leaks in tidy unfoldings
+ # 2018-09-21 75 See #15663
(wordsize(32), 56, 15)
# 2015-07-11 56 (x86/Linux, 64-bit machine) use +RTS -G1
]),
@@ -802,7 +831,7 @@ test('T9675',
test('T9872a',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 3005891848, 5),
+ [(wordsize(64), 2729927408, 5),
# 2014-12-10 5521332656 Initally created
# 2014-12-16 5848657456 Flattener parameterized over roles
# 2014-12-18 2680733672 Reduce type families even more eagerly
@@ -811,6 +840,7 @@ test('T9872a',
# 2016-10-19 3134866040 Refactor traceRn interface (#12617)
# 2017-02-17 3298422648 Type-indexed Typeable
# 2017-02-25 3005891848 Early inlining patch
+ # 2018-03-26 2729927408 Flattener update with optimizations (#12919)
(wordsize(32), 1493198244, 5)
# was 1325592896
@@ -845,7 +875,7 @@ test('T9872b',
test('T9872c',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 3404346032, 5),
+ [(wordsize(64), 3096670112, 5),
# 2014-12-10 5495850096 Initally created
# 2014-12-16 5842024784 Flattener parameterized over roles
# 2014-12-18 2963554096 Reduce type families even more eagerly
@@ -854,6 +884,7 @@ test('T9872c',
# 2016-04-06: 4306667256 Refactoring of CSE #11781
# 2016-09-15: 3702580928 Fixing #12422
# 2017-02-14 3404346032 Early inlining: 5% improvement
+ # 2018-03-25 3096670112 Flattener patch with optimizations (#12919)
(wordsize(32), 1727582260, 5)
# was 1500000000
@@ -866,7 +897,7 @@ test('T9872c',
test('T9872d',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 462817352, 5),
+ [(wordsize(64), 578498120, 5),
# 2014-12-18 796071864 Initally created
# 2014-12-18 739189056 Reduce type families even more eagerly
# 2015-01-07 687562440 TrieMap leaf compression
@@ -879,6 +910,9 @@ test('T9872d',
# 2017-02-17 535565128 Type-indexed Typeable
# 2017-02-25 498855104 Early inlining
# 2017-03-03 462817352 Share Typeable KindReps
+ # 2018-03-25 526485920 Flattener patch does more work (#12919)
+ # 2018-04-11 572537984 simplCast improvement collateral (#11735)
+ # 2018-07-04 578498120 introduce GRefl (#15192)
(wordsize(32), 232954000, 5)
# some date 328810212
@@ -917,7 +951,7 @@ test('T9961',
test('T9233',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 924299320, 5),
+ [(wordsize(64), 973149832, 5),
# 2015-08-04 999826288 initial value
# 2016-04-14 1066246248 Final demand analyzer run
# 2016-06-18 984268712 shuffling around of Data.Functor.Identity
@@ -929,6 +963,7 @@ test('T9233',
# 2017-02-07 884436192 Another improvement to SetLevels
# 2017-02-17 974530192 Type-indexed Typeable
# 2017-03-21 924299320 It's unclear
+ # 2018-06-09 973149832 It's unclear
(wordsize(32), 460112888, 5)
# 2016-04-06 515672240 (x86/Linux) initial value
@@ -1001,12 +1036,14 @@ test('T10547',
test('T12227',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 1060158624, 5),
+ [(wordsize(64), 752214784, 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)
# 2017-02-14 1060158624 Early inlining: 35% improvement
+ # 2018-01-04 812869424 Drop unused givens (#13032): 23% better
+ # 2018-06-27 752214784 Trac #15421
]),
],
compile,
@@ -1016,13 +1053,17 @@ test('T12227',
test('T12425',
[ only_ways(['optasm']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 127500136, 5),
+ [(wordsize(64), 139100464, 5),
# initial: 125831400
# 2017-01-18: 133380960 Allow top-level string literals in Core
# 2017-02-17: 153611448 Type-indexed Typeable
# 2017-03-03: 142256192 Share Typeable KindReps
# 2017-03-21: 134334800 Unclear
# 2017-04-28: 127500136 Remove exponential behaviour in simplifier
+ # 2017-05-23: 134780272 Addition of llvm-targets in dynflags (D3352)
+ # 2018-04-15: 141952368 Collateral of #14737
+ # 2018-04-26: 150743648 Do not unpack class dictionaries with INLINABLE
+ # 2018-05-14: 139100464 improved simplCast performance #15019
]),
],
compile,
@@ -1035,13 +1076,16 @@ test('T12234',
# initial: 83032768
# 2017-02-19 89180624 (x64/Windows) - Unknown
# 2017-02-25 79889200 (x64/Windows) - Early inline patch
- (wordsize(64), 80245640, 5),
+ # 2018-05-04 86938328 (x64/Windows) - Unknown and horrible
+ (wordsize(64), 85961968, 5),
# initial: 72958288
# 2016-01-17: 76848856 (x86-64, Linux. drift?)
# 2017-02-01: 80882208 (Use superclass instances when solving)
# 2017-02-05: 74374440 (Probably OccAnal fixes)
# 2017-02-17: 86525344 (Type-indexed Typeable)
# 2017-02-25: 83032768 (Early inline patch)
+ # 2017-09-07: 81696664 (Semigroup=>Monoid patch, D3927)
+ # 2018-04-26: 85961968 (Do not unpack class dictionaries with INLINABLE)
]),
],
compile,
@@ -1050,8 +1094,9 @@ test('T12234',
test('T12545',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 3538652464, 5),
+ [(wordsize(64), 3249613688, 5),
# 2017-06-08 3538652464 initial
+ # 2018-06-27 3249613688 Trac #15421
]),
extra_clean(['T12545a.hi', 'T12545a.o'])
],
@@ -1061,7 +1106,7 @@ test('T12545',
test('T13035',
[ only_ways(['normal']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 118665640, 5),
+ [(wordsize(64), 125020728, 5),
# 2017-01-05 90595208 initial
# 2017-01-19 95269000 Allow top-level string literals in Core
# 2017-02-05 88806416 Probably OccAnal fixes
@@ -1069,6 +1114,7 @@ test('T13035',
# 2017-02-25 98390488 Early inline patch
# 2017-03-21 93249744 It's unclear
# 2017-07-19 118665640 Generate Typeable bindings for data instances
+ # 2018-06-10 125020728 It's unclear
]),
],
compile,
@@ -1091,7 +1137,7 @@ test('T13056',
test('T12707',
[ compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 1163821528, 5),
+ [(wordsize(64), 1201750816, 5),
# initial: 1271577192
# 2017-01-22: 1348865648 Allow top-level strings in Core
# 2017-01-31: 1280336112 Join points (#12988)
@@ -1099,11 +1145,28 @@ test('T12707',
# 2017-02-23: 1386110512 Type-indexed Typeable? (on Darwin)
# 2017-03-02: 1231809592 Drift from recent simplifier improvements
# 2017-05-14: 1163821528 (amd64/Linux) Two-pass CmmLayoutStack
+ # 2018-04-09: 1237898376 Inexplicable, collateral of #14737
+ # 2018-04-30: 1141555816 improved simplCast performance #15019
+ # 2018-09-21: 1201750816 (amd64/darwin) Drift
]),
],
compile,
[''])
+test('T12150',
+ [ only_ways(['optasm']),
+ compiler_stats_num_field('bytes allocated',
+ [(wordsize(64), 77557800, 5)
+ # initial: 70773000
+ # 2017-08-25: 74358208 Refactor the Mighty Simplifier
+ # 2017-08-25: 78300680 Drift
+ # 2017-10-25: 73769936 amd64/linux Fix space leak in BinIface.getSymbolTable
+ # 2018-04-26: 77557800 Do not unpack class dictionaries with INLINABLE
+ ]),
+ ],
+ compile,
+ [''])
+
test('T13379',
[ compiler_stats_num_field('bytes allocated',
[(platform('x86_64-apple-darwin'), 453166912, 10),
@@ -1118,29 +1181,67 @@ 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']),
+ compile_timeout_multiplier(5)
+ # this is _a lot_
+ # but this test has been failing every now and then,
+ # especially on i386. Let's just give it some room
+ # to complete successfully reliably everywhere.
],
multimod_compile,
['MultiLayerModules', '-v0'])
+test('ManyConstructors',
+ [ compiler_stats_num_field('bytes allocated',
+ [(wordsize(64), 4246959352, 10),
+ # initial: 8130527160
+ # 2018-01-05: 4246959352 Lift constructor tag allocation out of a loop
+ ]),
+ pre_cmd('./genManyConstructors'),
+ extra_files(['genManyConstructors']),
+ ],
+ multimod_compile,
+ ['ManyConstructors', '-v0'])
+
+test('ManyAlternatives',
+ [ compiler_stats_num_field('bytes allocated',
+ [(wordsize(64), 1398898072, 10),
+ # initial: 1756999240
+ # 2018-01-20: 1398898072 Use IntSet in Dataflow
+ ]),
+ pre_cmd('./genManyAlternatives'),
+ extra_files(['genManyAlternatives']),
+ ],
+ multimod_compile,
+ ['ManyAlternatives', '-v0'])
+
test('T13701',
[ compiler_stats_num_field('bytes allocated',
- [(platform('x86_64-apple-darwin'), 2217187888, 10),
- (platform('x86_64-unknown-linux'), 2133380768, 10),
+ [(platform('x86_64-apple-darwin'), 2549206272, 10),
+ (platform('x86_64-unknown-linux'), 2413253392, 10),
# initial: 2511285600
# 2017-06-23: 2188045288 treat banged variable bindings as FunBinds
# 2017-07-11: 2187920960
# 2017-07-12: 2412223768 inconsistency between Ben's machine and Harbormaster?
# 2017-07-17: 2133380768 Resolved the issue causing the inconsistencies in this test
+ # 2018-05-09: 2413253392 D4659 (Fix GHCi space leaks) added
+ # some strictness which causes some extra
+ # work to be done in this test.
]),
pre_cmd('./genT13701'),
extra_files(['genT13701']),
+ compile_timeout_multiplier(4)
+ # 4 is _a lot_ (timeout after 1200s),
+ # but this test has been failing every now and then,
+ # especially on i386. Let's just give it some room
+ # to complete successfully reliably everywhere.
],
multimod_compile,
['T13701', '-v0'])
@@ -1153,26 +1254,75 @@ test('T13719',
]),
pre_cmd('./genT13719'),
extra_files(['genT13719']),
+ compile_timeout_multiplier(2)
+ # 2 is _a lot_ (timeout after 600s, to build 600 modules),
+ # but this test has been failing every now and then,
+ # especially on i386. Let's just give it some room
+ # to complete successfully reliably everywhere.
],
multimod_compile,
['T13719', '-v0'])
+test('T14697',
+ [ compiler_stats_num_field('bytes allocated',
+ [(wordsize(64), 371030912, 10),
+ # initial: 635573784
+ # 2018-02-23: 337290376 Cache the fingerprint of sOpt_P
+ # 2018-05-24: 371030912 Unknown
+ ]),
+ # This generates too large of a command-line for poor Windows
+ when(opsys('mingw32'), expect_broken(15072)),
+ pre_cmd('./genT14697'),
+ extra_files(['genT14697']),
+ extra_hc_opts('$(cat T14697-flags)'), # 10k -optP arguments
+ ],
+ multimod_compile,
+ ['T14697', '-v0'])
+
+test('T14683',
+ [ compiler_stats_num_field('bytes allocated',
+ [(wordsize(64), 10521594688, 10),
+ # initial: 25189145632
+ # 2018-04-19: 14675353056 Cache NthCo role (#14683)
+ # 2018-04-20: 10521594688 Remove unnecessary check in simplCast
+ ]),
+ ],
+ multimod_compile,
+ ['T14683', '-v0'])
+
test('Naperian',
[ reqlib('vector'),
only_ways(['optasm']),
compiler_stats_num_field('bytes allocated',
- [(wordsize(64), 2381935784, 10)])
+ [(platform('x86_64-unknown-mingw32'), 54116696, 10),
+ # 2017-12-24 54116696 (x64/Windows) - Unknown
+ (wordsize(64), 53576760, 10)])
+ # 2018-01-25 53576760 (x64/Linux) - The previous value looked very wrong
],
compile,
[''])
test ('T9630',
[ compiler_stats_num_field('max_bytes_used', # Note [residency]
- [(wordsize(64), 41568168, 15)
+ [(platform('x86_64-unknown-mingw32'), 39867088, 15),
+ # 2017-12-24: 34171816 (x64/Windows)
+ (wordsize(64), 41365088, 15)
# initial: 56955240
# 2017-06-07: 41568168 Stop the specialiser generating loopy code
+ # 2018-02-25: 35324712 It's not entirely clear
+ # 2018-09-22: 41365088 It's not entirely clear (x86_64/darwin)
]),
extra_clean(['T9630a.hi', 'T9630a.o'])
],
multimod_compile,
['T9630', '-v0 -O'])
+
+test ('T15164',
+ [ compiler_stats_num_field('bytes allocated',
+ [(wordsize(64), 1945564312, 10)
+ # initial: 3423873408
+ # 2018-05-22: 1945564312 Fix bottleneck in CallArity
+ ])
+ ],
+ compile,
+ ['-v0 -O'])