Setup benchmarking
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
import Criterion.Main
|
||||||
|
|
||||||
|
main :: IO ()
|
||||||
|
main = putStrLn "h"
|
||||||
+6
-6
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user