on master help sign in
use lower number of elements in benchmark stream

To enable parallel benchmarks

commitdecdf72e3a28694a5e9738dbf849e4af5e80520e authorHarendra Kumar <harendra.kumar@gmail.com> dateWed 30 May 2018, 09:20 (8 years ago) parent4c00da9
2 files changed+5−5
benchmark/Linear.hs+4−4 benchmark/LinearOps.hs+1−1
benchmark/Linear.hs+4−4
@@ -66,10 +66,10 @@ main = do
6666 , bgroup "parallely"
6767 [ --benchIO "unfoldr" $ Ops.toNull parallely
6868 --, benchSrcIO parallely "fromFoldable" Ops.sourceFromFoldable
69− --, benchSrcIO parallely "foldMapWith" Ops.sourceFoldMapWith
70− -- , benchSrcIO parallely "unfoldrM" Ops.sourceUnfoldrM
71− -- , benchSrcIO parallely "fromFoldableM" Ops.sourceFromFoldableM
72− -- , benchSrcIO parallely "foldMapWithM" Ops.sourceFoldMapWithM
69+ benchSrcIO parallely "foldMapWith" Ops.sourceFoldMapWith
70+ , benchSrcIO parallely "unfoldrM" Ops.sourceUnfoldrM
71+ , benchSrcIO parallely "fromFoldableM" Ops.sourceFromFoldableM
72+ , benchSrcIO parallely "foldMapWithM" Ops.sourceFoldMapWithM
7373 ]
7474 ]
7575 -- XXX this is the same foldMapWith in the above benchmarks, need to dedup
benchmark/LinearOps.hs+1−1
@@ -17,7 +17,7 @@ import qualified Streamly as S
1717import qualified Streamly.Prelude as S
1818
1919value, appendValue, maxValue :: Int
20−value = 1000000
20+value = 100000
2121appendValue = 100000
2222maxValue = value + 1000
2323