Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rustwasm/twiggy

Twiggy🌱 is a code size profiler
https://github.com/rustwasm/twiggy

profiler size-optimization wasm

Last synced: 24 days ago
JSON representation

Twiggy🌱 is a code size profiler

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://rustwasm.github.io/twiggy)