mirror of
https://github.com/composewell/streamly.git
synced 2024-09-20 07:58:27 +03:00
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:
parent
1ccc5e9d17
commit
6ab3ce0655
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user