-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtasty-bench.cabal
65 lines (58 loc) · 1.94 KB
/
tasty-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
name: tasty-bench
version: 0.4.1
cabal-version: 1.18
build-type: Simple
license: MIT
license-file: LICENSE
copyright: 2021 Andrew Lelechenko
author: Andrew Lelechenko
maintainer: Andrew Lelechenko <[email protected]>
homepage: https://github.com/Bodigrim/tasty-bench
bug-reports: https://github.com/Bodigrim/tasty-bench/issues
category: Development, Performance, Testing, Benchmarking
synopsis: Featherlight benchmark framework
description:
Featherlight framework (only one file!)
for performance measurement with API mimicking
@criterion@ and @gauge@, featuring built-in comparison
against previous runs and between benchmarks. Our benchmarks are just
regular @tasty@ tests.
extra-source-files:
compare_benches.sh
extra-doc-files:
changelog.md
example.svg
README.md
tested-with: GHC == 9.12.1, GHC == 9.10.1, GHC == 9.8.4, GHC == 9.6.6, GHC == 9.4.8, GHC == 9.2.8, GHC==9.0.2, GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2
source-repository head
type: git
location: https://github.com/Bodigrim/tasty-bench
flag tasty
default: True
manual: True
description:
When disabled, reduces API to functions independent of @tasty@: combinators
to construct @Benchmarkable@ and @measureCpuTime@.
library
exposed-modules: Test.Tasty.Bench
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -O2 -Wall -fno-warn-unused-imports -Wcompat -Widentities
build-depends:
base >= 4.3 && < 5,
deepseq >= 1.1 && < 1.6,
ghc-prim < 0.14
if flag(tasty)
build-depends:
containers >= 0.5 && < 0.8,
tasty >= 1.4 && < 1.6
if impl(ghc < 8.4)
build-depends:
time >= 1.2 && < 1.13
benchmark bench-fibo
default-language: Haskell2010
hs-source-dirs: bench
main-is: bench-fibo.hs
type: exitcode-stdio-1.0
build-depends: base, tasty-bench
ghc-options: "-with-rtsopts=-A32m"