pepeiborra / Heapsize

ghc-datasize is a tool to determine the size of Haskell data structures in GHC's memory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

heapsize

heapsize provides functions to determine the size of Haskell data structures in memory at run time, including circular data structures. All sizes are reported in bytes.

Determining the size of simple data structures is relatively quick, but large and complex data structures can be slow. For large and complex structures the user may want to find a way to and estimate the size of the full data structure from that.

heapsize is originally based on ghc-datasize, but adds support for ghc 8.10.1 and beyond, as well as improving performance.

About

ghc-datasize is a tool to determine the size of Haskell data structures in GHC's memory

License:Other


Languages

Language:Haskell 100.0%