summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-08-04 11:52:20 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2021-08-04 13:51:38 +0100
commit7f2a2a38f4c3fc6ab63db30b404ecdcac1d83547 (patch)
tree6ffbdf1666f81226d5d4f3588013f036e8d17480
parent5155eafaef2d0cbecd58a808b5b357002a656ffe (diff)
downloadhaskell-wip/multi-layer-j.tar.gz
Add MultiLayerModulesPar test to check performance of parallel driverwip/multi-layer-j
-rw-r--r--testsuite/tests/perf/compiler/all.T9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 6628fb377e..9a398243dc 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -277,6 +277,15 @@ test('MultiLayerModules',
multimod_compile,
['MultiLayerModules', '-v0'])
+test('MultiLayerModulesPar',
+ [ collect_compiler_stats('bytes allocated',3),
+ pre_cmd('./genMultiLayerModules'),
+ extra_files(['genMultiLayerModules']),
+ compile_timeout_multiplier(5)
+ ],
+ multimod_compile,
+ ['MultiLayerModules', '-j2 -v0'])
+
# MultiLayerModules flip flops by 2.5%, depending on the
# number of modules within GHC (#19293). Just widen the
# acceptance window until we figured out how to fix it.