twiggy-ir

Crates.iotwiggy-ir
lib.rstwiggy-ir
version0.7.0
sourcesrc
created_at2018-05-03 20:54:46.609695
updated_at2021-08-30 17:15:32.869089
descriptionIntermediate representation for the Twiggy code size profiler.
homepage
repositoryhttps://github.com/rustwasm/twiggy
max_upload_size
id63645
size23,177
Alexandru Ene (AlexEne)

documentation

README

Twiggy🌱

A code size profiler for Wasm

Guide | Contributing | Chat

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!

Commit count: 638

cargo fmt