packages feed

heapsize-0.2.0: heapsize.cabal

cabal-version:      3.0
name:               heapsize
version:            0.2.0
license:            BSD-3-Clause
license-file:       LICENSE
category:           GHC, Debug, Development
build-type:         Simple
author:             Michail Pardalos <mpardalos@gmail.com>
maintainer:         Pepe Iborra <pepeiborra@gmail.com>
copyright:          Michail Pardalos 2020, Pepe Iborra 2020-2021
synopsis:           Determine the size of runtime data structures
description:        heapsize is a tool to determine the size data structures.
                    Determining the size of recursive data structures is
                    supported. All sizes are in Bytes.

Library
  Exposed-modules:
    HeapSize
  c-sources:
    cbits/heapsize_prim.cmm
  Default-Language: Haskell2010
  Build-depends:
      base >= 4.12 && < 5.0
    , deepseq >= 1.3
    , exceptions
    , ghc-heap >= 8.6
    , hashtables
    , transformers
    , unordered-containers >=0.2
    , hashable >=1.3
    , primitive
  Hs-source-dirs: src/
  Ghc-options: -Wall

benchmark benchmarks
  build-depends:
      base
    , heapsize
    , criterion
    , primitive
    , deepseq
  default-language: Haskell2010
  ghc-options:      -Wall
  hs-source-dirs:   benchmarks
  main-is:          Main.hs
  type:             exitcode-stdio-1.0

source-repository head
    type:     git
    location: https://github.com/pepeiborra/heapsize.git