on master help sign in
disable map-and-filter composition benchmarks for GHC-8.2

GHC-8.2 crashes with this code with out-of-memory

commit6ab3ce0655191d0f66def2893686f9ea1c408e77 authorHarendra Kumar <harendra.kumar@gmail.com> dateSat 14 Jul 2018, 12:21 (8 years ago) parent1ccc5e9
1 file changed+4
benchmark/BaseStreams.hs+4
benchmark/BaseStreams.hs+4
@@ -5,6 +5,8 @@
55-- License : BSD3
66-- Maintainer : harendra.kumar@gmail.com
77
8+{-# LANGUAGE CPP #-}
9+
810import Control.DeepSeq (NFData)
911-- import Data.Functor.Identity (Identity, runIdentity)
1012import System.Random (randomRIO)
@@ -62,9 +64,11 @@ main = do
6264 , benchIO "zip" D.zip D.sourceUnfoldrM
6365 , bgroup "compose"
6466 [ benchIO "mapM" D.composeMapM D.sourceUnfoldrM
67+#if __GLASGOW_HASKELL__ != 802
6568 , benchIO "map-with-all-in-filter" D.composeMapAllInFilter D.sourceUnfoldrM
6669 , benchIO "all-in-filters" D.composeAllInFilters D.sourceUnfoldrM
6770 , benchIO "all-out-filters" D.composeAllOutFilters D.sourceUnfoldrM
71+#endif
6872 ]
6973 -- Scaling with same operation in sequence
7074 , bgroup "compose-scaling"