File: bench.hs

package info (click to toggle)
haskell-file-location 0.4.5.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 108 kB
  • ctags: 9
  • sloc: haskell: 251; ansic: 13; makefile: 2; sh: 1
file content (13 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
import Criterion.Main

import qualified System.Process as Proc

-- NOT IN USE!

readProcess ""
 main = defaultMain [
        bgroup "fib" [ bench "10" $ 
                     , bench "35" $ whnf fib 35
                     , bench "37" $ whnf fib 37
                     ]
                    ]