Reorganize imports
This commit is contained in:
9
bench/Bench.hs
Normal file
9
bench/Bench.hs
Normal file
@@ -0,0 +1,9 @@
|
||||
module Main where
|
||||
|
||||
import Criterion (bench, whnfIO)
|
||||
import Criterion.Main (defaultMain)
|
||||
|
||||
main =
|
||||
defaultMain
|
||||
[ bench "whnfIO readFile" $ whnfIO (readFile "Y2022.cabal")
|
||||
]
|
||||
Reference in New Issue
Block a user