@@ -160,6 +160,7 @@ library lib-prelude
160160
161161common bench-options
162162 import: compile-options, optimization-options, bench-depends
163+ ghc-options: -rtsopts
163164 build-depends: streamly-benchmarks
164165
165166-- Some benchmarks are threaded some are not
@@ -181,7 +182,6 @@ common bench-options-threaded
181182benchmark serial
182183 import: bench-options
183184 type: exitcode-stdio-1.0
184− ghc-options: -rtsopts
185185 hs-source-dirs: Streamly/Benchmark/Prelude
186186 main-is: Serial.hs
187187 if impl(ghcjs)
@@ -204,7 +204,6 @@ benchmark fold
204204benchmark unfold
205205 import: bench-options
206206 type: exitcode-stdio-1.0
207− ghc-options: -rtsopts
208207 hs-source-dirs: ., Streamly/Benchmark/Data
209208 main-is: Unfold.hs
210209 other-modules: Streamly.Benchmark.Data.NestedUnfoldOps
@@ -256,7 +255,6 @@ benchmark parser
256255benchmark Data.Stream.StreamD
257256 import: bench-options
258257 type: exitcode-stdio-1.0
259− ghc-options: -rtsopts
260258 hs-source-dirs: Streamly/Benchmark/Data/Stream
261259 main-is: StreamD.hs
262260 if impl(ghcjs)
@@ -267,7 +265,6 @@ benchmark Data.Stream.StreamD
267265benchmark Data.Stream.StreamK
268266 import: bench-options
269267 type: exitcode-stdio-1.0
270− ghc-options: -rtsopts
271268 hs-source-dirs: Streamly/Benchmark/Data/Stream
272269 main-is: StreamK.hs
273270 if impl(ghcjs)
@@ -278,7 +275,6 @@ benchmark Data.Stream.StreamK
278275benchmark Data.Stream.StreamDK
279276 import: bench-options
280277 type: exitcode-stdio-1.0
281− ghc-options: -rtsopts
282278 hs-source-dirs: Streamly/Benchmark/Data/Stream
283279 main-is: StreamDK.hs
284280 if impl(ghcjs)
@@ -364,34 +360,30 @@ benchmark linear-rate
364360-- Array Benchmarks
365361-------------------------------------------------------------------------------
366362
367−benchmark unpinned-array
363+benchmark Data.Array
368364 import: bench-options
369365 type: exitcode-stdio-1.0
370− ghc-options: -with-rtsopts "-T -K1K -M128M"
371366 hs-source-dirs: .
372367 main-is: Streamly/Benchmark/Data/Array.hs
373368 other-modules: Streamly.Benchmark.Data.ArrayOps
374369
375−benchmark prim-array
370+benchmark Data.Prim.Array
376371 import: bench-options
377372 type: exitcode-stdio-1.0
378− ghc-options: -with-rtsopts "-T -K64K -M32M"
379373 hs-source-dirs: .
380374 main-is: Streamly/Benchmark/Data/Prim/Array.hs
381375 other-modules: Streamly.Benchmark.Data.Prim.ArrayOps
382376
383−benchmark small-array
377+benchmark Data.SmallArray
384378 import: bench-options
385379 type: exitcode-stdio-1.0
386− ghc-options: -with-rtsopts "-T -K128K -M16M"
387380 hs-source-dirs: .
388381 main-is: Streamly/Benchmark/Data/SmallArray.hs
389382 other-modules: Streamly.Benchmark.Data.SmallArrayOps
390383
391−benchmark array
384+benchmark Memory.Array
392385 import: bench-options
393386 type: exitcode-stdio-1.0
394− ghc-options: -with-rtsopts "-T -K64K -M128M"
395387 hs-source-dirs: .
396388 main-is: Streamly/Benchmark/Memory/Array.hs
397389 other-modules: Streamly.Benchmark.Memory.ArrayOps