@@ -109,6 +109,9 @@ common bench-depends
109109 , gauge >= 0.2.4 && < 0.3
110110 , transformers >= 0.4 && < 0.6
111111 , containers >= 0.5 && < 0.7
112+ , typed-process >= 0.2.3 && < 0.3
113+ , directory >= 1.2.2 && < 1.4
114+ , ghc-prim >= 0.4 && < 0.7
112115
113116 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
114117 build-depends:
@@ -132,10 +135,6 @@ library
132135 exposed-modules: Streamly.Benchmark.Common
133136 , Streamly.Benchmark.Common.Handle
134137 , Streamly.Benchmark.Prelude
135− build-depends:
136− typed-process >= 0.2.3 && < 0.3
137− , directory >= 1.2.2 && < 1.4
138− , ghc-prim >= 0.4 && < 0.7
139138
140139-------------------------------------------------------------------------------
141140-- Benchmarks
@@ -161,7 +160,7 @@ common bench-options-threaded
161160benchmark Prelude.Serial
162161 import: bench-options
163162 type: exitcode-stdio-1.0
164− hs-source-dirs: . Streamly/Benchmark/Prelude
163+ hs-source-dirs: Streamly/Benchmark/Prelude
165164 main-is: Serial.hs
166165 other-modules:
167166 Serial.Generation
@@ -172,16 +171,11 @@ benchmark Prelude.Serial
172171 , Serial.Nested
173172 , Serial.Exceptions
174173 , Serial.Split
175− ghc-options: +RTS -M1000M -RTS
174+ ghc-options: +RTS -M750M -RTS
176175 if impl(ghcjs)
177176 buildable: False
178177 else
179178 buildable: True
180− build-depends:
181− typed-process >= 0.2.3 && < 0.3
182− , directory >= 1.2.2 && < 1.4
183− , ghc-prim >= 0.4 && < 0.7
184− , inspection-testing >= 0.4 && < 0.5
185179
186180benchmark Prelude.WSerial
187181 import: bench-options
@@ -265,10 +259,6 @@ benchmark Data.Unfold
265259 buildable: False
266260 else
267261 buildable: True
268− build-depends:
269− typed-process >= 0.2.3 && < 0.3
270− , directory >= 1.2.2 && < 1.4
271− , ghc-prim >= 0.4 && < 0.7
272262
273263benchmark Data.Fold
274264 import: bench-options
@@ -454,16 +444,11 @@ benchmark Memory.Array
454444benchmark FileSystem.Handle
455445 import: bench-options
456446 type: exitcode-stdio-1.0
457− ghc-options: +RTS -M3000M -RTS
458− hs-source-dirs: . Streamly/Benchmark/FileSystem
447+ hs-source-dirs: Streamly/Benchmark/FileSystem
459448 main-is: Handle.hs
460449 other-modules:
461450 Handle.Read
462451 , Handle.ReadWrite
463− build-depends:
464− typed-process >= 0.2.3 && < 0.3
465− , directory >= 1.2.2 && < 1.4
466− , ghc-prim >= 0.4 && < 0.7
467452
468453-------------------------------------------------------------------------------
469454-- Unicode Benchmarks
@@ -471,12 +456,8 @@ benchmark FileSystem.Handle
471456benchmark Unicode.Stream
472457 import: bench-options
473458 type: exitcode-stdio-1.0
474− hs-source-dirs: . Streamly/Benchmark/Unicode
459+ hs-source-dirs: Streamly/Benchmark/Unicode
475460 main-is: Stream.hs
476− build-depends:
477− typed-process >= 0.2.3 && < 0.3
478− , directory >= 1.2.2 && < 1.4
479− , ghc-prim >= 0.4 && < 0.7
480461
481462-------------------------------------------------------------------------------
482463-- benchmark comparison and presentation