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

#5 in Profiling

Download history 13/week @ 2019-04-13 20/week @ 2019-04-20 17/week @ 2019-04-27 14/week @ 2019-05-04 52/week @ 2019-05-11 46/week @ 2019-05-18 23/week @ 2019-05-25 29/week @ 2019-06-01 31/week @ 2019-06-08 17/week @ 2019-06-15 67/week @ 2019-06-22 42/week @ 2019-06-29 93/week @ 2019-07-06 17/week @ 2019-07-13 15/week @ 2019-07-20

113 downloads per month

Apache-2.0/MIT

2.5MB
4.5K 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

~7MB
~140K SLoC