on master help sign in
Move Transformation3 benchmark module to Lift
8dc51e8Harendra Kumar
benchmark/Streamly/Benchmark/Prelude/Serial.hs+2−2
@@ -20,7 +20,7 @@ import qualified Serial.Nested as Nested
20import qualified Serial.Split as Split
20import qualified Serial.Split as Split
21import qualified Serial.Transformation1 as Transformation1
21import qualified Serial.Transformation1 as Transformation1
22import qualified Serial.Transformation2 as Transformation2
22import qualified Serial.Transformation2 as Transformation2
23−import qualified Serial.Transformation3 as Transformation3
23+import qualified Serial.Lift as Lift
24
24
25import Streamly.Benchmark.Common
25import Streamly.Benchmark.Common
26
26
@@ -48,6 +48,6 @@ main = do
48 , Split.benchmarks moduleName env
48 , Split.benchmarks moduleName env
49 , Transformation1.benchmarks moduleName size
49 , Transformation1.benchmarks moduleName size
50 , Transformation2.benchmarks moduleName size
50 , Transformation2.benchmarks moduleName size
51− , Transformation3.benchmarks moduleName size
51+ , Lift.benchmarks moduleName size
52 , Nested.benchmarks moduleName size
52 , Nested.benchmarks moduleName size
53 ]
53 ]
benchmark/Streamly/Benchmark/Prelude/Serial/Transformation3.hs → benchmark/Streamly/Benchmark/Prelude/Serial/Lift.hsrenamed+2−2
@@ -1,5 +1,5 @@
1-- |
1-- |
2−-- Module : Serial.Transformation3
2+-- Module : Serial.Lift
3-- Copyright : (c) 2018 Composewell Technologies
3-- Copyright : (c) 2018 Composewell Technologies
4-- License : BSD-3-Clause
4-- License : BSD-3-Clause
5-- Maintainer : streamly@composewell.com
5-- Maintainer : streamly@composewell.com
@@ -9,7 +9,7 @@
9{-# LANGUAGE ScopedTypeVariables #-}
9{-# LANGUAGE ScopedTypeVariables #-}
10{-# LANGUAGE RankNTypes #-}
10{-# LANGUAGE RankNTypes #-}
11
11
12−module Serial.Transformation3 (benchmarks) where
12+module Serial.Lift (benchmarks) where
13
13
14import Control.Monad.State.Strict (StateT, get, put, MonadState)
14import Control.Monad.State.Strict (StateT, get, put, MonadState)
15import qualified Control.Monad.State.Strict as State
15import qualified Control.Monad.State.Strict as State
benchmark/streamly-benchmarks.cabal+1−1
@@ -188,7 +188,7 @@ benchmark Prelude.Serial
188 , Serial.Elimination
188 , Serial.Elimination
189 , Serial.Transformation1
189 , Serial.Transformation1
190 , Serial.Transformation2
190 , Serial.Transformation2
191− , Serial.Transformation3
191+ , Serial.Lift
192 , Serial.Nested
192 , Serial.Nested
193 , Serial.Exceptions
193 , Serial.Exceptions
194 , Serial.Split
194 , Serial.Split
hie.yaml+1−1
@@ -46,7 +46,7 @@ cradle:
46 component: "bench:Prelude.Serial"
46 component: "bench:Prelude.Serial"
47 - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation2.hs"
47 - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation2.hs"
48 component: "bench:Prelude.Serial"
48 component: "bench:Prelude.Serial"
49− - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation3.hs"
49+ - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Lift.hs"
50 component: "bench:Prelude.Serial"
50 component: "bench:Prelude.Serial"
51 - path: "./benchmark/Streamly/Benchmark/Prelude/WSerial.hs"
51 - path: "./benchmark/Streamly/Benchmark/Prelude/WSerial.hs"
52 component: "bench:Prelude.WSerial"
52 component: "bench:Prelude.WSerial"