on master help sign in
Rename Transformation2 benchmark module to NestedFold
4179a3bHarendra Kumar
benchmark/Streamly/Benchmark/Prelude/Serial.hs+2−2
@@ -19,7 +19,7 @@ import qualified Serial.Generation as Generation
19import qualified Serial.NestedStream as NestedStream
19import qualified Serial.NestedStream as NestedStream
20import qualified Serial.Split as Split
20import qualified Serial.Split as Split
21import qualified Serial.Transformation1 as Transformation1
21import qualified Serial.Transformation1 as Transformation1
22−import qualified Serial.Transformation2 as Transformation2
22+import qualified Serial.NestedFold as NestedFold
23import qualified Serial.Lift as Lift
23import qualified Serial.Lift as Lift
24
24
25import Streamly.Benchmark.Common
25import Streamly.Benchmark.Common
@@ -47,7 +47,7 @@ main = do
47 , Exceptions.benchmarks moduleName env size
47 , Exceptions.benchmarks moduleName env size
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+ , NestedFold.benchmarks moduleName size
51 , Lift.benchmarks moduleName size
51 , Lift.benchmarks moduleName size
52 , NestedStream.benchmarks moduleName size
52 , NestedStream.benchmarks moduleName size
53 ]
53 ]
benchmark/Streamly/Benchmark/Prelude/Serial/Transformation2.hs → benchmark/Streamly/Benchmark/Prelude/Serial/NestedFold.hsrenamed+2−2
@@ -1,5 +1,5 @@
1-- |
1-- |
2−-- Module : Serial.Transformation2
2+-- Module : Serial.NestedFold
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
@@ -12,7 +12,7 @@
12{-# LANGUAGE RankNTypes #-}
12{-# LANGUAGE RankNTypes #-}
13{-# LANGUAGE TupleSections #-}
13{-# LANGUAGE TupleSections #-}
14
14
15−module Serial.Transformation2 (benchmarks) where
15+module Serial.NestedFold (benchmarks) where
16
16
17import Control.DeepSeq (NFData(..))
17import Control.DeepSeq (NFData(..))
18import Control.Monad (when)
18import Control.Monad (when)
benchmark/streamly-benchmarks.cabal+3−3
@@ -187,11 +187,11 @@ benchmark Prelude.Serial
187 Serial.Generation
187 Serial.Generation
188 , Serial.Elimination
188 , Serial.Elimination
189 , Serial.Transformation1
189 , Serial.Transformation1
190− , Serial.Transformation2
191− , Serial.Lift
192 , Serial.NestedStream
190 , Serial.NestedStream
193− , Serial.Exceptions
191+ , Serial.NestedFold
194 , Serial.Split
192 , Serial.Split
193+ , Serial.Exceptions
194+ , Serial.Lift
195 if impl(ghcjs)
195 if impl(ghcjs)
196 buildable: False
196 buildable: False
197 else
197 else
hie.yaml+1−1
@@ -44,7 +44,7 @@ cradle:
44 component: "bench:Prelude.Serial"
44 component: "bench:Prelude.Serial"
45 - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation1.hs"
45 - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation1.hs"
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/NestedFold.hs"
48 component: "bench:Prelude.Serial"
48 component: "bench:Prelude.Serial"
49 - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Lift.hs"
49 - path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Lift.hs"
50 component: "bench:Prelude.Serial"
50 component: "bench:Prelude.Serial"