git.iko.soy/typeable/attoparsec
on master help sign in
Make `cabal bench` work
commit87955381d3977299ad6116d6ddf2b8d9bb16dfed authorSimon Hengel <sol@typeful.net> dateWed 7 May 2014, 13:13 (12 years ago) parentade0962
2 files changed+5−24
attoparsec.cabal+5−3 benchmarks/attoparsec-benchmarks.cabal−21
attoparsec.cabal+5−3
@@ -89,15 +89,17 @@ test-suite tests
8989
9090benchmark benchmarks
9191 type: exitcode-stdio-1.0
92− hs-source-dirs: benchmarks
92+ hs-source-dirs: benchmarks, .
9393 main-is: Benchmarks.hs
94+ ghc-options: -O2
9495 build-depends:
95− attoparsec,
96− base,
96+ base == 4.*,
97+ array,
9798 bytestring,
9899 criterion >= 0.5,
99100 deepseq >= 1.1,
100101 parsec >= 3.1.2,
102+ scientific,
101103 text
102104
103105source-repository head
benchmarks/attoparsec-benchmarks.cabaldeleted−21
@@ -1,21 +0,0 @@
1−-- These benchmarks are not intended to be installed.
2−-- So don't install 'em.
3−
4−name: attoparsec-benchmarks
5−version: 0
6−cabal-version: >=1.6
7−build-type: Simple
8−
9−executable attoparsec-benchmarks
10− main-is: Benchmarks.hs
11− hs-source-dirs: .. .
12− ghc-options: -O2
13− build-depends:
14− array,
15− base == 4.*,
16− bytestring,
17− criterion >= 0.5,
18− deepseq >= 1.1,
19− parsec >= 3.1.2,
20− scientific,
21− text