disable map-and-filter composition benchmarks for GHC-8.2

GHC-8.2 crashes with this code with out-of-memory
This commit is contained in:
Harendra Kumar 2018-07-14 12:21:00 +05:30
parent 1ccc5e9d17
commit 6ab3ce0655

View File

@ -5,6 +5,8 @@
-- License : BSD3
-- Maintainer : harendra.kumar@gmail.com
{-# LANGUAGE CPP #-}
import Control.DeepSeq (NFData)
-- import Data.Functor.Identity (Identity, runIdentity)
import System.Random (randomRIO)
@ -62,9 +64,11 @@ main = do
, benchIO "zip" D.zip D.sourceUnfoldrM
, bgroup "compose"
[ benchIO "mapM" D.composeMapM D.sourceUnfoldrM
#if __GLASGOW_HASKELL__ != 802
, benchIO "map-with-all-in-filter" D.composeMapAllInFilter D.sourceUnfoldrM
, benchIO "all-in-filters" D.composeAllInFilters D.sourceUnfoldrM
, benchIO "all-out-filters" D.composeAllOutFilters D.sourceUnfoldrM
#endif
]
-- Scaling with same operation in sequence
, bgroup "compose-scaling"