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

dfinity-lab/ghc-datasize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghc-datasize

Build Status

Ghc-datasize provides functions to determine the size of Haskell data structures in memory at run time. Determining the size of circular data structures is supported. 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 calculate the size of a small subset of the data and estimate the size of the full data structure from that.

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%