mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 15:00:25 +03:00
Rename Async benchmark modules (#1968)
This commit is contained in:
parent
1f376cfd9b
commit
f20360b86e
@ -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
|
@ -6,7 +6,7 @@
|
||||
-- License : BSD3
|
||||
-- Maintainer : streamly@composewell.com
|
||||
|
||||
module Stream.AsyncCommon
|
||||
module Stream.ConcurrentCommon
|
||||
( allBenchmarks
|
||||
)
|
||||
where
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
2
hie.yaml
2
hie.yaml
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user