streamly-0.9.0: benchmark/Streamly/Benchmark/Data/Stream/ConcurrentOrdered.hs
{-# LANGUAGE FlexibleContexts #-}
-- |
-- Module : Main
-- Copyright : (c) 2018 Composewell Technologies
--
-- License : BSD3
-- Maintainer : streamly@composewell.com
import Stream.ConcurrentCommon (allBenchmarks)
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
import qualified Streamly.Internal.Data.Stream.Concurrent as Async
moduleName :: String
moduleName = "Data.Stream.ConcurrentOrdered"
-------------------------------------------------------------------------------
-- Main
-------------------------------------------------------------------------------
main :: IO ()
main =
runWithCLIOpts
defaultStreamSize
(allBenchmarks moduleName False (Async.ordered True))