Skip to content
forked from rustwasm/twiggy

Twiggy is a code size profiler

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

data-pup/twiggy

 
 

Repository files navigation

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

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 77.2%
  • JavaScript 8.5%
  • CSS 6.9%
  • HTML 5.1%
  • WebAssembly 1.3%
  • Shell 0.8%
  • C++ 0.2%