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 - loop
benchmarks: benchmarks:
loop-benchmarks: loop-benchmarks:
dependencies: dependencies:
- criterion - criterion
ghc-options: ghc-options:
- -threaded - -threaded
- -O2 - -O2
- -rtsopts - -rtsopts
@@ -96,6 +96,6 @@ benchmarks:
- -funfolding-keeness-factor1000 - -funfolding-keeness-factor1000
- -fllvm - -fllvm
- -optlo-O3 - -optlo-O3
main: Bench.hs main: Bench.hs
source-dirs: bench source-dirs: bench