mirror of
https://github.com/kowainik/relude.git
synced 2024-10-05 16:57:30 +03:00
Switch from criterion to tasty-bench (#410)
This commit is contained in:
parent
1cd9f2ebe1
commit
3011495606
@ -9,6 +9,7 @@ The changelog is available [on GitHub][2].
|
||||
* [#372](https://github.com/kowainik/relude/issues/372):
|
||||
Warn on usages of `readFileText`, `readFileLText`, `readFile` and `readFile'`.
|
||||
* Support `hashable ^>=1.4`
|
||||
* Switch benchmarks from `criterion` to `tasty-bench`.
|
||||
|
||||
## 1.0.0.1 — Mar 15, 2021
|
||||
|
||||
|
@ -5,8 +5,7 @@ module Main (main) where
|
||||
import Relude hiding (show)
|
||||
|
||||
import Data.List (nub)
|
||||
import Criterion (Benchmark, bench, bgroup, nf)
|
||||
import Criterion.Main (defaultMain)
|
||||
import Test.Tasty.Bench (Benchmark, bench, bgroup, defaultMain, nf)
|
||||
import Prelude (show)
|
||||
|
||||
import qualified Data.HashSet as HashSet (insert)
|
||||
|
@ -270,9 +270,7 @@ benchmark relude-benchmark
|
||||
main-is: Main.hs
|
||||
|
||||
build-depends: relude
|
||||
, criterion
|
||||
, tasty-bench
|
||||
, unordered-containers
|
||||
|
||||
ghc-options: -threaded
|
||||
-rtsopts
|
||||
-with-rtsopts=-N
|
||||
ghc-options: -rtsopts
|
||||
|
Loading…
Reference in New Issue
Block a user