Setup benchmarking

This commit is contained in:
jgk
2021-04-01 12:38:49 +02:00
parent 1e9a07d1c8
commit cbcc0f700b
2 changed files with 10 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
import Criterion.Main
main :: IO ()
main = putStrLn "h"
+6 -6
View File
@@ -81,10 +81,10 @@ tests:
- loop
benchmarks:
loop-benchmarks:
dependencies:
- criterion
ghc-options:
loop-benchmarks:
dependencies:
- criterion
ghc-options:
- -threaded
- -O2
- -rtsopts
@@ -96,6 +96,6 @@ benchmarks:
- -funfolding-keeness-factor1000
- -fllvm
- -optlo-O3
main: Bench.hs
source-dirs: bench
main: Bench.hs
source-dirs: bench