on master help sign in
Use gauge in place of criterion
458f818Harendra Kumar
benchmark/Main.hs+1−1
@@ -6,7 +6,7 @@ module Main where
6import Control.Applicative (Alternative(..))
6import Control.Applicative (Alternative(..))
7import Control.Exception (assert)
7import Control.Exception (assert)
8import Control.Monad (guard)
8import Control.Monad (guard)
9−import Criterion.Main (defaultMain, bgroup, bench, nfIO)
9+import Gauge.Main (defaultMain, bgroup, bench, nfIO)
10import Data.Function ((&))
10import Data.Function ((&))
11
11
12import qualified Streamly as A
12import qualified Streamly as A
streamly.cabal+1−1
@@ -176,7 +176,7 @@ benchmark bench
176 streamly
176 streamly
177 , atomic-primops >= 0.8 && < 0.9
177 , atomic-primops >= 0.8 && < 0.9
178 , base >= 4.8 && < 5
178 , base >= 4.8 && < 5
179− , criterion >= 1 && < 2
179+ , gauge >= 0.2.1 && < 0.3
180 , mtl >= 2.2 && < 3
180 , mtl >= 2.2 && < 3
181
181
182 if impl(ghc < 8.0)
182 if impl(ghc < 8.0)