aggreact/src-benchmark/Main.hs

10 lines
149 B
Haskell
Raw Normal View History

2018-12-02 11:33:51 +00:00
import Protolude
import Criterion
import Criterion.Main
import Lib (inc)
main :: IO ()
main = defaultMain [bench "inc 41" (whnf inc (41 :: Int))]