6 releases (breaking)

✓ Uses Rust 2018 edition

0.6.0 Jun 27, 2019
0.5.0 May 15, 2019
0.4.0 Feb 2, 2019
0.3.0 Oct 3, 2018
0.1.0 May 3, 2018
Download history 10/week @ 2019-07-24 16/week @ 2019-08-07 10/week @ 2019-08-14 44/week @ 2019-08-21 39/week @ 2019-08-28 60/week @ 2019-09-04 28/week @ 2019-09-11 46/week @ 2019-09-18 21/week @ 2019-09-25 25/week @ 2019-10-02 13/week @ 2019-10-09 38/week @ 2019-10-16 29/week @ 2019-10-23 19/week @ 2019-10-30

114 downloads per month
Used in 1 crate

Apache-2.0/MIT

84KB
2K SLoC

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!

Dependencies

~6MB
~126K SLoC