wasp/waspc/benchmark/Main.hs

7 lines
228 B
Haskell
Raw Normal View History

-- You can benchmark your code quickly and effectively with Criterion. See its
-- website for help: <http://www.serpentine.com/criterion/>.
import Criterion.Main
main :: IO ()
main = defaultMain [bench "const" (whnf const ())]