/modulectomy

Dissect OCaml compiled programs, and weight their content

Primary LanguageOCaml

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 and modules. Very WIP.

Currently support:

  • js files compiled with js_of_ocaml, if they have source maps.
  • Will work on native as soon as let-def/owee#3 is fixed.

See an example.

Install

Requires a patched version of js_of_ocaml available here and the dev version of tree_layout.