Job modulectomy
README
Skip to buildsModulectomy
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.
Builds
Back to readme- ☑ freebsd-14 2024-11-21 00:57:32Z modulectomy.pkg
SHA256:0d3cfcbdd7468cef863cd614209c1c11e04a8d1e9770aacf468c9a36b9a87308
(1.26MB) - ☑ debian-11 2024-11-20 19:19:56Z modulectomy.deb
SHA256:d9b9825e05173b42fb5f7cddc3b828df3cee7e2b94667d738d491c961e5db2a8
(1.43MB) - ☑ debian-12 2024-11-20 19:19:19Z modulectomy.deb
SHA256:71414621da107142fbf68608e87a4d03550117bcf2822d20d050af4a3dbc8479
(1.49MB) - ☑ debian-11 2024-09-12 14:09:33Z modulectomy.deb
SHA256:26718130d79a98409038baf81e6a2f5c4d490f3d078b744c0c658d21c674d857
(1.43MB) - ☑ debian-12 2024-09-12 14:09:22Z modulectomy.deb
SHA256:dd21e1256aef7455087afefebd3c897330f78ae00d08bfa9603b1f295d6d737f
(1.49MB) - ☑ freebsd-14 2024-09-12 13:29:59Z modulectomy.pkg
SHA256:93c91d800f66e4c398fff1222e29b302c48f2b5e1aef74701bbc522fc9a8f96a
(1.26MB) - ☑ debian-11 2024-09-03 14:09:06Z modulectomy.deb
SHA256:879ceeafb1161995bfb21f9e5ceced727a627e3e3ed1df3425a1b2f685d3a037
(1.41MB) - ☑ debian-12 2024-09-03 14:08:42Z modulectomy.deb
SHA256:e735e7bf192db9bb884c518e00d444cd1993c31dd641c9c78e8846142fcef59d
(1.48MB) - ☑ freebsd-14 2024-09-03 13:21:31Z modulectomy.pkg
SHA256:2104769bd5fc14cc7a51670aa8e8a5dff40321a4aab2c527b50ff7e892183c09
(1.25MB)
Including failed builds here.