Rename Transformation1 benchmark module

to Transformation
This commit is contained in:
Harendra Kumar 2021-10-09 18:32:57 +05:30
parent 4179a3bdf2
commit 0548e36d51
6 changed files with 16 additions and 8 deletions

View File

@ -47,6 +47,5 @@ benchmark/Streamly/Benchmark/Prelude/Rate.hs
benchmark/Streamly/Benchmark/Prelude/Serial/Exceptions.hs
benchmark/Streamly/Benchmark/Prelude/Serial/Nested.hs
benchmark/Streamly/Benchmark/Prelude/Serial/Split.hs
benchmark/Streamly/Benchmark/Prelude/Serial/Transformation1.hs
benchmark/Streamly/Benchmark/Prelude/WAsync.hs
benchmark/Streamly/Benchmark/Prelude/ZipAsync.hs

View File

@ -10,6 +10,8 @@
- suggest: {name: "Unused LANGUAGE pragma"}
- suggest: {name: "Eta reduce"}
- suggest: {name: "Reduce duplication"}
# Warnings currently ignored
- ignore: {name: "Use list literal pattern"}
- ignore: {name: "Use tuple-section"} # requires GHC extension
- ignore: {name: "Use fromMaybe"} # may want to use this suggestion, but it didn't match the common idiom of the library
@ -23,6 +25,13 @@
- ignore: {name: "Redundant $!"}
- ignore: {name: "Use fmap"}
# Warnings ignored in specific places
- ignore: {name: "Use ++", within: Serial.Transformation}
- ignore: {name: "Use mapM", within: Serial.Transformation}
- ignore: {name: "Use traverse", within: Serial.Transformation}
- ignore: {name: "Redundant <*", within: Serial.NestedStream}
- ignore: {name: "Use ++", within: Serial.NestedStream}
# Specify additional command line arguments
#
@ -56,7 +65,7 @@
# Turn on hints that are off by default
#
# Ban "module X(module X) where", to require a real export list
# - warn: {name: Use explicit module export list}
- warn: {name: Use explicit module export list}
#
# Replace a $ b $ c with a . b $ c
# - group: {name: dollar, enabled: true}

View File

@ -18,7 +18,7 @@ import qualified Serial.Exceptions as Exceptions
import qualified Serial.Generation as Generation
import qualified Serial.NestedStream as NestedStream
import qualified Serial.Split as Split
import qualified Serial.Transformation1 as Transformation1
import qualified Serial.Transformation as Transformation
import qualified Serial.NestedFold as NestedFold
import qualified Serial.Lift as Lift
@ -46,7 +46,7 @@ main = do
, Elimination.benchmarks moduleName size
, Exceptions.benchmarks moduleName env size
, Split.benchmarks moduleName env
, Transformation1.benchmarks moduleName size
, Transformation.benchmarks moduleName size
, NestedFold.benchmarks moduleName size
, Lift.benchmarks moduleName size
, NestedStream.benchmarks moduleName size

View File

@ -1,5 +1,5 @@
-- |
-- Module : Serial.Transformation1
-- Module : Serial.Transformation
-- Copyright : (c) 2018 Composewell Technologies
-- License : BSD-3-Clause
-- Maintainer : streamly@composewell.com
@ -18,7 +18,7 @@
{-# OPTIONS_GHC -fplugin Test.Inspection.Plugin #-}
#endif
module Serial.Transformation1 (benchmarks) where
module Serial.Transformation (benchmarks) where
import Control.DeepSeq (NFData(..))
import Control.Monad.IO.Class (MonadIO(..))

View File

@ -186,7 +186,7 @@ benchmark Prelude.Serial
other-modules:
Serial.Generation
, Serial.Elimination
, Serial.Transformation1
, Serial.Transformation
, Serial.NestedStream
, Serial.NestedFold
, Serial.Split

View File

@ -42,7 +42,7 @@ cradle:
component: "bench:Prelude.Serial"
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Split.hs"
component: "bench:Prelude.Serial"
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation1.hs"
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/Transformation.hs"
component: "bench:Prelude.Serial"
- path: "./benchmark/Streamly/Benchmark/Prelude/Serial/NestedFold.hs"
component: "bench:Prelude.Serial"