2021-01-19 03:23:42 +03:00
|
|
|
name: tasty-bench
|
2024-07-06 13:39:12 +03:00
|
|
|
version: 0.4
|
2021-03-28 03:00:16 +03:00
|
|
|
cabal-version: 1.18
|
2021-01-19 03:23:42 +03:00
|
|
|
build-type: Simple
|
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
copyright: 2021 Andrew Lelechenko
|
2021-06-25 02:37:43 +03:00
|
|
|
author: Andrew Lelechenko
|
2021-01-19 03:23:42 +03:00
|
|
|
maintainer: Andrew Lelechenko <andrew.lelechenko@gmail.com>
|
|
|
|
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
|
2021-02-05 22:18:14 +03:00
|
|
|
@criterion@ and @gauge@, featuring built-in comparison
|
2021-03-23 02:53:51 +03:00
|
|
|
against previous runs and between benchmarks. Our benchmarks are just
|
2021-01-19 03:23:42 +03:00
|
|
|
regular @tasty@ tests.
|
|
|
|
|
|
|
|
extra-source-files:
|
2022-08-11 02:10:14 +03:00
|
|
|
compare_benches.sh
|
2021-03-28 03:00:16 +03:00
|
|
|
extra-doc-files:
|
2023-04-15 17:01:17 +03:00
|
|
|
changelog.md
|
2021-03-28 03:00:16 +03:00
|
|
|
example.svg
|
2023-04-15 17:01:17 +03:00
|
|
|
README.md
|
2021-01-19 03:23:42 +03:00
|
|
|
|
2024-07-06 13:38:58 +03:00
|
|
|
tested-with: GHC == 9.10.1, GHC == 9.8.2, 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
|
2021-01-19 03:23:42 +03:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/Bodigrim/tasty-bench
|
|
|
|
|
2021-10-10 22:06:04 +03:00
|
|
|
flag tasty
|
|
|
|
default: True
|
|
|
|
manual: True
|
|
|
|
description:
|
|
|
|
When disabled, reduces API to functions independent of @tasty@: combinators
|
|
|
|
to construct @Benchmarkable@ and @measureCpuTime@.
|
|
|
|
|
2021-01-19 03:23:42 +03:00
|
|
|
library
|
|
|
|
exposed-modules: Test.Tasty.Bench
|
2022-01-15 13:01:22 +03:00
|
|
|
hs-source-dirs: src
|
2021-01-19 03:23:42 +03:00
|
|
|
default-language: Haskell2010
|
2021-02-04 21:49:45 +03:00
|
|
|
ghc-options: -O2 -Wall -fno-warn-unused-imports
|
2021-03-26 02:33:14 +03:00
|
|
|
if impl(ghc < 7.10)
|
|
|
|
ghc-options: -fcontext-stack=30
|
2021-06-09 03:07:21 +03:00
|
|
|
if impl(ghc >= 8.0)
|
2021-06-13 21:47:45 +03:00
|
|
|
ghc-options: -Wcompat -Widentities
|
2021-01-19 03:23:42 +03:00
|
|
|
|
|
|
|
build-depends:
|
|
|
|
base >= 4.3 && < 5,
|
2023-07-27 23:57:00 +03:00
|
|
|
deepseq >= 1.1 && < 1.6,
|
2023-09-10 12:56:20 +03:00
|
|
|
ghc-prim < 0.12
|
2021-10-10 22:06:04 +03:00
|
|
|
if flag(tasty)
|
|
|
|
build-depends:
|
2023-09-27 23:43:14 +03:00
|
|
|
containers >= 0.4 && < 0.8,
|
2023-09-21 22:49:49 +03:00
|
|
|
tasty >= 1.4 && < 1.6
|
2021-01-19 03:23:42 +03:00
|
|
|
if impl(ghc < 7.8)
|
|
|
|
build-depends:
|
2023-04-15 17:01:17 +03:00
|
|
|
tagged >= 0.2 && < 0.9
|
2023-09-22 02:06:56 +03:00
|
|
|
if impl(ghc < 8.4)
|
|
|
|
build-depends:
|
|
|
|
time >= 1.2 && < 1.13
|
2021-10-11 02:22:49 +03:00
|
|
|
|
2022-01-15 13:01:22 +03:00
|
|
|
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"
|