From fe3132304b6c25e5bebc9fb327e3ea5d6018be7a Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 20 Feb 2025 10:11:57 +0100 Subject: Attempt at a benchmark (crashes) --- ad-dual.cabal | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ad-dual.cabal') diff --git a/ad-dual.cabal b/ad-dual.cabal index 09697f0..5d3ca39 100644 --- a/ad-dual.cabal +++ b/ad-dual.cabal @@ -8,6 +8,7 @@ build-type: Simple library exposed-modules: Numeric.ADDual + Numeric.ADDual.Internal other-modules: build-depends: base >= 4.14.3, @@ -28,3 +29,17 @@ test-suite test hs-source-dirs: test default-language: Haskell2010 ghc-options: -Wall + +benchmark bench + type: exitcode-stdio-1.0 + main-is: Main.hs + build-depends: + base, + ad-dual, + ad, + criterion, + deepseq, + vector + hs-source-dirs: bench + default-language: Haskell2010 + ghc-options: -Wall -- cgit v1.2.3-70-g09d2