This repository has been archived by the owner on Oct 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
parsers-bench.cabal
80 lines (75 loc) · 2.56 KB
/
parsers-bench.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: parsers-bench
version: 0.1.0
cabal-version: >= 1.18
tested-with: GHC==8.0.2
license: BSD3
license-file: LICENSE.md
author: Mark Karpov <markkarpov92@gmail.com>
maintainer: Mark Karpov <markkarpov92@gmail.com>
homepage: https://github.com/mrkkrp/parsers-bench
bug-reports: https://github.com/mrkkrp/parsers-bench/issues
category: Parsing, Benchmark
synopsis: Performance benchmarks: Megaparsec vs Attoparsec
build-type: Simple
description: Performance benchmarks: Megaparsec vs Attoparsec.
extra-doc-files: README.md
source-repository head
type: git
location: https://github.com/mrkkrp/parsers-bench.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
build-depends: base
, attoparsec
, bytestring
, deepseq
, megaparsec
, parser-combinators
, scientific
, text
, time
, unordered-containers
, vector
exposed-modules: ParsersBench.CSV.Attoparsec
, ParsersBench.CSV.Megaparsec
, ParsersBench.Json.Attoparsec
, ParsersBench.Json.Common
, ParsersBench.Json.Megaparsec
, ParsersBench.Log.Attoparsec
, ParsersBench.Log.Common
, ParsersBench.Log.Megaparsec
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
benchmark bench-speed
main-is: Main.hs
hs-source-dirs: bench/speed
type: exitcode-stdio-1.0
build-depends: base
, bytestring
, criterion
, deepseq
, parsers-bench
if flag(dev)
ghc-options: -O2 -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
benchmark bench-memory
main-is: Main.hs
hs-source-dirs: bench/memory
type: exitcode-stdio-1.0
build-depends: base
, bytestring
, deepseq
, parsers-bench
, weigh
if flag(dev)
ghc-options: -O2 -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010