@@ -109,6 +109,9 @@ common bench-depends
109 , gauge >= 0.2.4 && < 0.3
109 , gauge >= 0.2.4 && < 0.3
110 , transformers >= 0.4 && < 0.6
110 , transformers >= 0.4 && < 0.6
111 , containers >= 0.5 && < 0.7
111 , 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
113 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
116 if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
114 build-depends:
117 build-depends:
@@ -132,10 +135,6 @@ library
132 exposed-modules: Streamly.Benchmark.Common
135 exposed-modules: Streamly.Benchmark.Common
133 , Streamly.Benchmark.Common.Handle
136 , Streamly.Benchmark.Common.Handle
134 , Streamly.Benchmark.Prelude
137 , Streamly.Benchmark.Prelude
136− typed-process >= 0.2.3 && < 0.3
137− , directory >= 1.2.2 && < 1.4
138− , ghc-prim >= 0.4 && < 0.7
140-------------------------------------------------------------------------------
139-------------------------------------------------------------------------------
141-- Benchmarks
140-- Benchmarks
@@ -161,7 +160,7 @@ common bench-options-threaded
161benchmark Prelude.Serial
160benchmark Prelude.Serial
162 import: bench-options
161 import: bench-options
163 type: exitcode-stdio-1.0
162 type: exitcode-stdio-1.0
164− hs-source-dirs: . Streamly/Benchmark/Prelude
163+ hs-source-dirs: Streamly/Benchmark/Prelude
165 main-is: Serial.hs
164 main-is: Serial.hs
166 other-modules:
165 other-modules:
167 Serial.Generation
166 Serial.Generation
@@ -172,16 +171,11 @@ benchmark Prelude.Serial
172 , Serial.Nested
171 , Serial.Nested
173 , Serial.Exceptions
172 , Serial.Exceptions
174 , Serial.Split
173 , Serial.Split
175− ghc-options: +RTS -M1000M -RTS
174+ ghc-options: +RTS -M750M -RTS
176 if impl(ghcjs)
175 if impl(ghcjs)
177 buildable: False
176 buildable: False
179 buildable: True
178 buildable: True
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
186benchmark Prelude.WSerial
180benchmark Prelude.WSerial
187 import: bench-options
181 import: bench-options
@@ -265,10 +259,6 @@ benchmark Data.Unfold
265 buildable: False
259 buildable: False
267 buildable: True
261 buildable: True
269− typed-process >= 0.2.3 && < 0.3
270− , directory >= 1.2.2 && < 1.4
271− , ghc-prim >= 0.4 && < 0.7
273benchmark Data.Fold
263benchmark Data.Fold
274 import: bench-options
264 import: bench-options
@@ -454,16 +444,11 @@ benchmark Memory.Array
454benchmark FileSystem.Handle
444benchmark FileSystem.Handle
455 import: bench-options
445 import: bench-options
456 type: exitcode-stdio-1.0
446 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
459 main-is: Handle.hs
448 main-is: Handle.hs
460 other-modules:
449 other-modules:
461 Handle.Read
450 Handle.Read
462 , Handle.ReadWrite
451 , Handle.ReadWrite
464− typed-process >= 0.2.3 && < 0.3
465− , directory >= 1.2.2 && < 1.4
466− , ghc-prim >= 0.4 && < 0.7
468-------------------------------------------------------------------------------
453-------------------------------------------------------------------------------
469-- Unicode Benchmarks
454-- Unicode Benchmarks
@@ -471,12 +456,8 @@ benchmark FileSystem.Handle
471benchmark Unicode.Stream
456benchmark Unicode.Stream
472 import: bench-options
457 import: bench-options
473 type: exitcode-stdio-1.0
458 type: exitcode-stdio-1.0
474− hs-source-dirs: . Streamly/Benchmark/Unicode
459+ hs-source-dirs: Streamly/Benchmark/Unicode
475 main-is: Stream.hs
460 main-is: Stream.hs
477− typed-process >= 0.2.3 && < 0.3
478− , directory >= 1.2.2 && < 1.4
479− , ghc-prim >= 0.4 && < 0.7
481-------------------------------------------------------------------------------
462-------------------------------------------------------------------------------
482-- benchmark comparison and presentation
463-- benchmark comparison and presentation