@@ -584,21 +584,17 @@ test-suite parallel-loops
584584-- Benchmarks
585585-------------------------------------------------------------------------------
586586
587−-- NOTE :
588−-- For linear, linear-async, linear-rate, nested and nested-concurrent if you
589−-- want to pass the number of stream elements for benchmarking, you can pass it
590−-- as the first argument after `--`, as a gauge argument. If you don't give the
591−-- argument, the number of stream elements default to 100000.
592−-- Examples:
593−-- $ cabal run linear -- 1000000 [additional gauge options here...]
594−-- $ cabal run linear -- [additional gauge options here...]
587+-- For linear, linear-async, linear-rate, nested and nested-concurrent
588+-- you can pass the number of elements in the stream using the
589+-- --stream-size option:
590+-- $ cabal run linear -- --stream-size 1000000
595591
596592benchmark linear
597593 import: bench-options
598594 type: exitcode-stdio-1.0
599595 hs-source-dirs: benchmark
600596 main-is: Linear.hs
601− other-modules: Streamly.Benchmark.Prelude
597+ other-modules: Streamly.Benchmark.Prelude, Common
602598 build-depends:
603599 streamly
604600 , base >= 4.8 && < 5
@@ -617,7 +613,7 @@ benchmark nested
617613 type: exitcode-stdio-1.0
618614 hs-source-dirs: benchmark
619615 main-is: Nested.hs
620− other-modules: NestedOps
616+ other-modules: NestedOps, Common
621617 build-depends:
622618 streamly
623619 , base >= 4.8 && < 5
@@ -721,7 +717,7 @@ benchmark linear-async
721717 type: exitcode-stdio-1.0
722718 hs-source-dirs: benchmark
723719 main-is: LinearAsync.hs
724− other-modules: Streamly.Benchmark.Prelude
720+ other-modules: Streamly.Benchmark.Prelude, Common
725721 build-depends:
726722 streamly
727723 , base >= 4.8 && < 5
@@ -740,7 +736,7 @@ benchmark nested-concurrent
740736 type: exitcode-stdio-1.0
741737 hs-source-dirs: benchmark
742738 main-is: NestedConcurrent.hs
743− other-modules: NestedOps
739+ other-modules: NestedOps, Common
744740 build-depends:
745741 streamly
746742 , base >= 4.8 && < 5
@@ -756,7 +752,7 @@ benchmark linear-rate
756752 type: exitcode-stdio-1.0
757753 hs-source-dirs: benchmark
758754 main-is: LinearRate.hs
759− other-modules: Streamly.Benchmark.Prelude
755+ other-modules: Streamly.Benchmark.Prelude, Common
760756 build-depends:
761757 streamly
762758 , base >= 4.8 && < 5