Manishearth / twiggy

Twiggy🌱 is a code size profiler

Home Page:https://rustwasm.github.io/twiggy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twiggy🌱

A code size profiler for Wasm

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

Twiggy is a code size profiler for Wasm. It analyzes a binary's call graph to answer questions like:

  • Why was this function included in the binary in the first place? Who calls it?

  • What is the retained size of this function? I.e. how much space would be saved if I removed it and all the functions that become dead code after its removal.

Use Twiggy to make your binaries slim!

Install Twiggy

Ensure that you have the Rust toolchain installed, then run:

cargo install twiggy

Learn More!

Read the Twiggy guide!

About

Twiggy🌱 is a code size profiler

https://rustwasm.github.io/twiggy

License:Apache License 2.0


Languages

Language:Rust 78.1%Language:JavaScript 8.4%Language:CSS 6.8%Language:Handlebars 5.0%Language:WebAssembly 1.3%Language:C++ 0.2%Language:Shell 0.2%