Skip to content

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

License

Notifications You must be signed in to change notification settings

mpardalos/Heapsize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%