Skip to content

robur-coop/modulectomy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modulectomy

Dissect OCaml compiled programs, and weight their content.

modulectomy allows you to visualize the size of your OCaml programs and the contributions by various libraries/modules.

  • Input: Currently only supports ELF binaries, optimally compiled with debug-information. JS support might come back.
  • Output:
    • An interactive SVG + CSS treemap, showing how much space each module/library uses relative to eachother.
    • Optionally a scale-SVG extension, showing how much space the treemap constitutes of the full binary.

See an example.

Usage

For simple usage, se the definition of squarify in src/main.ml.

For more advanced usage, including scale-SVG, see how it's used in builder-web.

About

Dissect OCaml compiled programs, and weight their content

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • OCaml 96.0%
  • Shell 3.2%
  • Other 0.8%