https://github.com/alexene/twiggy
Twiggy🌱 is a code size profiler
https://github.com/alexene/twiggy
profiler size-optimization wasm
Last synced: 4 months ago
JSON representation
Twiggy🌱 is a code size profiler
- Host: GitHub
- URL: https://github.com/alexene/twiggy
- Owner: AlexEne
- License: apache-2.0
- Created: 2018-02-10T01:01:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-02-18T12:23:29.000Z (4 months ago)
- Last Synced: 2026-02-18T16:48:15.438Z (4 months ago)
- Topics: profiler, size-optimization, wasm
- Language: Rust
- Homepage: https://rustwasm.github.io/twiggy
- Size: 4.37 MB
- Stars: 1,420
- Watchers: 10
- Forks: 74
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
Awesome Lists containing this project
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](https://www.rust-lang.org/),
then run:
```
cargo install twiggy
```
## Learn More!
[**Read the Twiggy guide!**](https://alexene.dev/twiggy/)