Twiggy is a specialized code size profiler designed for analyzing WebAssembly (Wasm) binaries, helping developers understand why their compiled output is large and how different functions contribute to that size. It works by inspecting a binary’s call graph and providing detailed breakdowns of which functions are included and how they are interconnected, allowing developers to trace dependencies and identify unnecessary code paths. This makes Twiggy particularly useful in performance-sensitive environments such as web applications, embedded systems, and blockchain smart contracts, where minimizing binary size is critical. The tool offers multiple analysis modes that answer questions like why a function is present, how much space it consumes, and what dependencies pull it into the final binary. By surfacing insights about symbol sizes and call relationships, Twiggy enables developers to optimize builds, remove dead code, and improve load times.

Features

  • Code size profiling for WebAssembly binaries
  • Call graph analysis for dependency tracing
  • Detailed function-level size breakdowns
  • Identification of unused or bloated code paths
  • Multiple analysis commands for different insights
  • Integration with Rust and Wasm toolchains

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Twiggy

Twiggy Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Twiggy!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Software Development Software

Registered

4 days ago