on master help sign in
Rename Async benchmark modules (#1968)
f20360bRanjeet Ranjan
benchmark/Streamly/Benchmark/Data/Stream/Async.hs → benchmark/Streamly/Benchmark/Data/Stream/Concurrent.hsrenamed+1−1
@@ -6,7 +6,7 @@
6-- License : BSD3
6-- License : BSD3
7-- Maintainer : streamly@composewell.com
7-- Maintainer : streamly@composewell.com
8
8
9−import Stream.AsyncCommon (allBenchmarks)
9+import Stream.ConcurrentCommon (allBenchmarks)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
11
11
12moduleName :: String
12moduleName :: String
benchmark/Streamly/Benchmark/Data/Stream/AsyncCommon.hs → benchmark/Streamly/Benchmark/Data/Stream/ConcurrentCommon.hsrenamed+1−1
@@ -6,7 +6,7 @@
6-- License : BSD3
6-- License : BSD3
7-- Maintainer : streamly@composewell.com
7-- Maintainer : streamly@composewell.com
8
8
9−module Stream.AsyncCommon
9+module Stream.ConcurrentCommon
10 ( allBenchmarks
10 ( allBenchmarks
11 )
11 )
12where
12where
benchmark/Streamly/Benchmark/Data/Stream/ConcurrentEager.hs+1−1
@@ -6,7 +6,7 @@
6-- License : BSD3
6-- License : BSD3
7-- Maintainer : streamly@composewell.com
7-- Maintainer : streamly@composewell.com
8
8
9−import Stream.AsyncCommon (allBenchmarks)
9+import Stream.ConcurrentCommon (allBenchmarks)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
11
11
12import qualified Streamly.Internal.Data.Stream.Concurrent as Async
12import qualified Streamly.Internal.Data.Stream.Concurrent as Async
benchmark/Streamly/Benchmark/Data/Stream/ConcurrentInterleaved.hs+1−1
@@ -6,7 +6,7 @@
6-- License : BSD3
6-- License : BSD3
7-- Maintainer : streamly@composewell.com
7-- Maintainer : streamly@composewell.com
8
8
9−import Stream.AsyncCommon (allBenchmarks)
9+import Stream.ConcurrentCommon (allBenchmarks)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
11
11
12import qualified Streamly.Internal.Data.Stream.Concurrent as Async
12import qualified Streamly.Internal.Data.Stream.Concurrent as Async
benchmark/Streamly/Benchmark/Data/Stream/ConcurrentOrdered.hs+1−1
@@ -6,7 +6,7 @@
6-- License : BSD3
6-- License : BSD3
7-- Maintainer : streamly@composewell.com
7-- Maintainer : streamly@composewell.com
8
8
9−import Stream.AsyncCommon (allBenchmarks)
9+import Stream.ConcurrentCommon (allBenchmarks)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
10import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
11
11
12import qualified Streamly.Internal.Data.Stream.Concurrent as Async
12import qualified Streamly.Internal.Data.Stream.Concurrent as Async
benchmark/streamly-benchmarks.cabal+5−5
@@ -248,9 +248,9 @@ benchmark Data.Stream.Concurrent
248 import: bench-options-threaded
248 import: bench-options-threaded
249 type: exitcode-stdio-1.0
249 type: exitcode-stdio-1.0
250 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
250 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
251− main-is: Async.hs
251+ main-is: Concurrent.hs
252 other-modules:
252 other-modules:
253− Stream.AsyncCommon
253+ Stream.ConcurrentCommon
254 Stream.Common
254 Stream.Common
255 if flag(use-streamly-core) || impl(ghcjs)
255 if flag(use-streamly-core) || impl(ghcjs)
256 buildable: False
256 buildable: False
@@ -263,7 +263,7 @@ benchmark Data.Stream.ConcurrentInterleaved
263 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
263 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
264 main-is: ConcurrentInterleaved.hs
264 main-is: ConcurrentInterleaved.hs
265 other-modules:
265 other-modules:
266− Stream.AsyncCommon
266+ Stream.ConcurrentCommon
267 Stream.Common
267 Stream.Common
268 if flag(use-streamly-core) || impl(ghcjs)
268 if flag(use-streamly-core) || impl(ghcjs)
269 buildable: False
269 buildable: False
@@ -276,7 +276,7 @@ benchmark Data.Stream.ConcurrentEager
276 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
276 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
277 main-is: ConcurrentEager.hs
277 main-is: ConcurrentEager.hs
278 other-modules:
278 other-modules:
279− Stream.AsyncCommon
279+ Stream.ConcurrentCommon
280 Stream.Common
280 Stream.Common
281 if flag(use-streamly-core) || impl(ghcjs)
281 if flag(use-streamly-core) || impl(ghcjs)
282 buildable: False
282 buildable: False
@@ -289,7 +289,7 @@ benchmark Data.Stream.ConcurrentOrdered
289 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
289 hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
290 main-is: ConcurrentOrdered.hs
290 main-is: ConcurrentOrdered.hs
291 other-modules:
291 other-modules:
292− Stream.AsyncCommon
292+ Stream.ConcurrentCommon
293 Stream.Common
293 Stream.Common
294 if flag(use-streamly-core) || impl(ghcjs)
294 if flag(use-streamly-core) || impl(ghcjs)
295 buildable: False
295 buildable: False
hie.yaml+1−1
@@ -42,7 +42,7 @@ cradle:
42 component: "bench:Data.Stream"
42 component: "bench:Data.Stream"
43 - path: "./benchmark/Streamly/Benchmark/Data/Stream/Async.hs"
43 - path: "./benchmark/Streamly/Benchmark/Data/Stream/Async.hs"
44 component: "bench:Data.Stream.Concurrent"
44 component: "bench:Data.Stream.Concurrent"
45− - path: "./benchmark/Streamly/Benchmark/Data/Stream/AsyncCommon.hs"
45+ - path: "./benchmark/Streamly/Benchmark/Data/Stream/ConcurrentCommon.hs"
46 component: "bench:Data.Stream.Concurrent"
46 component: "bench:Data.Stream.Concurrent"
47 - path: "./benchmark/Streamly/Benchmark/Data/Stream/ConcurrentEager.hs"
47 - path: "./benchmark/Streamly/Benchmark/Data/Stream/ConcurrentEager.hs"
48 component: "bench:Data.Stream.ConcurrentEager"
48 component: "bench:Data.Stream.ConcurrentEager"