Crates.io | twiggy-analyze |
lib.rs | twiggy-analyze |
version | 0.7.0 |
source | src |
created_at | 2018-05-03 20:58:04.926075 |
updated_at | 2021-08-30 17:25:37.951402 |
description | Analyses for the Twiggy code size profiler. |
homepage | |
repository | https://github.com/rustwasm/twiggy |
max_upload_size | |
id | 63653 |
size | 70,999 |
A code size profiler for Wasm
Built with 🦀🕸 by The Rust and WebAssembly Working Group
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!
Ensure that you have the Rust toolchain installed, then run:
cargo install twiggy