on master help sign in
Use bigger stream sizes in some benchmarks
commita41a7b572fb0f50b5df90131e70169b121d209ff authorHarendra Kumar <harendra@composewell.com> dateFri 5 Feb 2021, 18:05 (6 years ago) parentb8ede3e
1 file changed+4−4
benchmark/Streamly/Benchmark/FileSystem/Handle/Read.hs+4−4
benchmark/Streamly/Benchmark/FileSystem/Handle/Read.hs+4−4
@@ -267,7 +267,7 @@ o_1_space_reduce_read env =
267267 readCountBytes inh
268268 , mkBench "US.lines . SS.decodeLatin1" env $ \inh _ ->
269269 readCountLines inh
270− , mkBenchSmall "US.words . SS.decodeLatin1" env $ \inh _ ->
270+ , mkBench "US.words . SS.decodeLatin1" env $ \inh _ ->
271271 readCountWords inh
272272
273273 -- read with utf8 decoding
@@ -357,7 +357,7 @@ o_1_space_reduce_read_grouped env =
357357
358358 -- XXX investigate why we need inline/noinline in these cases (GHC)
359359 -- Chunk using parsers
360− , mkBenchSmall
360+ , mkBench
361361 ("S.foldMany (FL.take " ++ show (bigSize env) ++ " FL.sum)")
362362 env
363363 $ \inh _ -> noinline foldManyChunksOfSum (bigSize env) inh
@@ -365,7 +365,7 @@ o_1_space_reduce_read_grouped env =
365365 "S.foldMany (FL.take 1 FL.sum)"
366366 env
367367 $ \inh _ -> inline foldManyChunksOfSum 1 inh
368− , mkBenchSmall
368+ , mkBench
369369 ("S.foldMany1 (FL.take " ++ show (bigSize env) ++ " FL.sum)")
370370 env
371371 $ \inh _ -> noinline foldMany1ChunksOfSum (bigSize env) inh
@@ -373,7 +373,7 @@ o_1_space_reduce_read_grouped env =
373373 "S.foldMany1 (FL.take 1 FL.sum)"
374374 env
375375 $ \inh _ -> inline foldMany1ChunksOfSum 1 inh
376− , mkBenchSmall
376+ , mkBench
377377 ("S.parseMany (FL.take " ++ show (bigSize env) ++ " FL.sum)")
378378 env
379379 $ \inh _ -> noinline parseManyChunksOfSum (bigSize env) inh