Skip to content

Commit

Permalink
Merge pull request #9599 from haskell/tasty-bench
Browse files Browse the repository at this point in the history
Switch from criterion to tasty-bench
  • Loading branch information
mergify[bot] authored Jan 17, 2024
2 parents d89087b + d9f4ad5 commit c58e17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cabal-benchmarks/bench/CabalBenchmarks.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# OPTIONS_GHC -fno-warn-deprecations #-}
module Main where

import Criterion.Main (bench, bgroup, defaultMain, env, nf, whnf)
import Test.Tasty.Bench (bench, bgroup, defaultMain, env, nf, whnf)
import Distribution.PackageDescription.Parsec (parseGenericPackageDescriptionMaybe)
import Distribution.Parsec (eitherParsec)
import Distribution.Version
Expand Down
2 changes: 1 addition & 1 deletion cabal-benchmarks/cabal-benchmarks.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ test-suite cabal-benchmarks
base
, bytestring
, Cabal-syntax
, criterion >=1.5.6.2 && <1.7
, tasty-bench >= 0.3.5 && < 0.4

0 comments on commit c58e17d

Please sign in to comment.