Skip to content

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

rustwasm/twiggy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5f7066a Â· Mar 31, 2025
Mar 31, 2025
Jun 1, 2023
Feb 21, 2023
Feb 13, 2024
Oct 17, 2022
Mar 31, 2025
Mar 31, 2025
Jun 27, 2019
Mar 31, 2025
Mar 31, 2025
Mar 31, 2025
Dec 25, 2019
Jan 7, 2020
Aug 30, 2021
Oct 3, 2018
Mar 31, 2025
Aug 8, 2021
Apr 18, 2018
Apr 18, 2018
Aug 6, 2021
Aug 7, 2021
May 3, 2018

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!