Rename Async benchmark modules (#1968)

This commit is contained in:
Ranjeet Ranjan 2022-10-18 22:53:30 +05:30 committed by GitHub
parent 1f376cfd9b
commit f20360b86e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@
-- License : BSD3
-- Maintainer : streamly@composewell.com
import Stream.AsyncCommon (allBenchmarks)
import Stream.ConcurrentCommon (allBenchmarks)
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
moduleName :: String

View File

@ -6,7 +6,7 @@
-- License : BSD3
-- Maintainer : streamly@composewell.com
module Stream.AsyncCommon
module Stream.ConcurrentCommon
( allBenchmarks
)
where

View File

@ -6,7 +6,7 @@
-- License : BSD3
-- Maintainer : streamly@composewell.com
import Stream.AsyncCommon (allBenchmarks)
import Stream.ConcurrentCommon (allBenchmarks)
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
import qualified Streamly.Internal.Data.Stream.Concurrent as Async

View File

@ -6,7 +6,7 @@
-- License : BSD3
-- Maintainer : streamly@composewell.com
import Stream.AsyncCommon (allBenchmarks)
import Stream.ConcurrentCommon (allBenchmarks)
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
import qualified Streamly.Internal.Data.Stream.Concurrent as Async

View File

@ -6,7 +6,7 @@
-- License : BSD3
-- Maintainer : streamly@composewell.com
import Stream.AsyncCommon (allBenchmarks)
import Stream.ConcurrentCommon (allBenchmarks)
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
import qualified Streamly.Internal.Data.Stream.Concurrent as Async

View File

@ -248,9 +248,9 @@ benchmark Data.Stream.Concurrent
import: bench-options-threaded
type: exitcode-stdio-1.0
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
main-is: Async.hs
main-is: Concurrent.hs
other-modules:
Stream.AsyncCommon
Stream.ConcurrentCommon
Stream.Common
if flag(use-streamly-core) || impl(ghcjs)
buildable: False
@ -263,7 +263,7 @@ benchmark Data.Stream.ConcurrentInterleaved
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
main-is: ConcurrentInterleaved.hs
other-modules:
Stream.AsyncCommon
Stream.ConcurrentCommon
Stream.Common
if flag(use-streamly-core) || impl(ghcjs)
buildable: False
@ -276,7 +276,7 @@ benchmark Data.Stream.ConcurrentEager
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
main-is: ConcurrentEager.hs
other-modules:
Stream.AsyncCommon
Stream.ConcurrentCommon
Stream.Common
if flag(use-streamly-core) || impl(ghcjs)
buildable: False
@ -289,7 +289,7 @@ benchmark Data.Stream.ConcurrentOrdered
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
main-is: ConcurrentOrdered.hs
other-modules:
Stream.AsyncCommon
Stream.ConcurrentCommon
Stream.Common
if flag(use-streamly-core) || impl(ghcjs)
buildable: False

View File

@ -42,7 +42,7 @@ cradle:
component: "bench:Data.Stream"
- path: "./benchmark/Streamly/Benchmark/Data/Stream/Async.hs"
component: "bench:Data.Stream.Concurrent"
- path: "./benchmark/Streamly/Benchmark/Data/Stream/AsyncCommon.hs"
- path: "./benchmark/Streamly/Benchmark/Data/Stream/ConcurrentCommon.hs"
component: "bench:Data.Stream.Concurrent"
- path: "./benchmark/Streamly/Benchmark/Data/Stream/ConcurrentEager.hs"
component: "bench:Data.Stream.ConcurrentEager"