Add a criterion benchmark
This commit is contained in:
4
bench/data/simple-cabal/Main.hs
Normal file
4
bench/data/simple-cabal/Main.hs
Normal file
@@ -0,0 +1,4 @@
|
||||
module Main where
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "Hello, Haskell!"
|
||||
2
bench/data/simple-cabal/Setup.hs
Normal file
2
bench/data/simple-cabal/Setup.hs
Normal file
@@ -0,0 +1,2 @@
|
||||
import Distribution.Simple
|
||||
main = defaultMain
|
||||
13
bench/data/simple-cabal/simple-cabal.cabal
Normal file
13
bench/data/simple-cabal/simple-cabal.cabal
Normal file
@@ -0,0 +1,13 @@
|
||||
name: simple-cabal
|
||||
version: 0.1.0.0
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Daniel Gröber
|
||||
maintainer: dxld@darkboxed.org
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
|
||||
executable simple-cabal
|
||||
main-is: Main.hs
|
||||
build-depends: base
|
||||
default-language: Haskell2010
|
||||
Reference in New Issue
Block a user