@@ -137,6 +137,11 @@ library lib-prelude
137 hs-source-dirs: lib
137 hs-source-dirs: lib
138 exposed-modules:
138 exposed-modules:
139 Streamly.Benchmark.Prelude
139 Streamly.Benchmark.Prelude
140+ -- XXX GHCJS build fails for this library.
141-------------------------------------------------------------------------------
146-------------------------------------------------------------------------------
142-- Benchmarks
147-- Benchmarks
@@ -175,7 +180,11 @@ benchmark linear
175 hs-source-dirs: ., Streamly/Benchmark/Prelude/Serial
180 hs-source-dirs: ., Streamly/Benchmark/Prelude/Serial
176 main-is: O_1_Space.hs
181 main-is: O_1_Space.hs
177 other-modules: NestedOps, NestedUnfoldOps
182 other-modules: NestedOps, NestedUnfoldOps
178− build-depends: lib-prelude
186+ build-depends: lib-prelude
180benchmark serial-o-n-heap
189benchmark serial-o-n-heap
181 import: bench-options
190 import: bench-options
@@ -183,7 +192,11 @@ benchmark serial-o-n-heap
183 ghc-options: -with-rtsopts "-T -K36K -M128M"
192 ghc-options: -with-rtsopts "-T -K36K -M128M"
184 hs-source-dirs: Streamly/Benchmark/Prelude/Serial
193 hs-source-dirs: Streamly/Benchmark/Prelude/Serial
185 main-is: O_n_Heap.hs
194 main-is: O_n_Heap.hs
186− build-depends: lib-prelude
198+ build-depends: lib-prelude
188benchmark serial-o-n-stack
201benchmark serial-o-n-stack
189 import: bench-options
202 import: bench-options
@@ -191,7 +204,11 @@ benchmark serial-o-n-stack
191 ghc-options: -with-rtsopts "-T -K1M -M16M"
204 ghc-options: -with-rtsopts "-T -K1M -M16M"
192 hs-source-dirs: Streamly/Benchmark/Prelude/Serial
205 hs-source-dirs: Streamly/Benchmark/Prelude/Serial
193 main-is: O_n_Stack.hs
206 main-is: O_n_Stack.hs
194− build-depends: lib-prelude
210+ build-depends: lib-prelude
196benchmark serial-o-n-space
213benchmark serial-o-n-space
197 import: bench-options
214 import: bench-options
@@ -200,7 +217,11 @@ benchmark serial-o-n-space
200 hs-source-dirs: ., Streamly/Benchmark/Prelude/Serial
217 hs-source-dirs: ., Streamly/Benchmark/Prelude/Serial
201 main-is: O_n_Space.hs
218 main-is: O_n_Space.hs
202 other-modules: NestedOps, NestedUnfoldOps
219 other-modules: NestedOps, NestedUnfoldOps
203− build-depends: lib-prelude
223+ build-depends: lib-prelude
205-------------------------------------------------------------------------------
226-------------------------------------------------------------------------------
206-- Raw Streams
227-- Raw Streams
@@ -271,7 +292,11 @@ benchmark linear-async
271 ghc-options: -with-rtsopts "-T -N2 -K64K -M16M"
292 ghc-options: -with-rtsopts "-T -N2 -K64K -M16M"
272 hs-source-dirs: .
293 hs-source-dirs: .
273 main-is: LinearAsync.hs
294 main-is: LinearAsync.hs
274− build-depends: lib-prelude
298+ build-depends: lib-prelude
276benchmark nested-concurrent
301benchmark nested-concurrent
277 import: bench-options-threaded
302 import: bench-options-threaded
@@ -289,7 +314,11 @@ benchmark parallel
289 hs-source-dirs: .
314 hs-source-dirs: .
290 main-is: Parallel.hs
315 main-is: Parallel.hs
291 other-modules: NestedOps
316 other-modules: NestedOps
292− build-depends: lib-prelude
320+ build-depends: lib-prelude
294benchmark concurrent
323benchmark concurrent
295 import: bench-options-threaded
324 import: bench-options-threaded
@@ -303,13 +332,21 @@ benchmark adaptive
303 type: exitcode-stdio-1.0
332 type: exitcode-stdio-1.0
304 hs-source-dirs: .
333 hs-source-dirs: .
305 main-is: Adaptive.hs
334 main-is: Adaptive.hs
307benchmark linear-rate
340benchmark linear-rate
308 import: bench-options-threaded
341 import: bench-options-threaded
309 type: exitcode-stdio-1.0
342 type: exitcode-stdio-1.0
310 hs-source-dirs: .
343 hs-source-dirs: .
311 main-is: LinearRate.hs
344 main-is: LinearRate.hs
312− build-depends: lib-prelude
348+ build-depends: lib-prelude
314-------------------------------------------------------------------------------
351-------------------------------------------------------------------------------
315-- Array Benchmarks
352-- Array Benchmarks