# AlexEne/twiggy

Twiggy🌱 is a code size profiler

Repository: https://github.com/AlexEne/twiggy
Canonical: https://ross.abutalabs.com/products/twiggy
Homepage: https://rustwasm.github.io/twiggy
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: size-optimization, profiler, wasm
Archived: true
Last push: 2026-02-18T12:23:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 35, longevity 100
- inputs: {"age_days": 3127, "days_push": 196, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1430, forks 75 (observed 2026-08-28T04:04:42.255716+00:00)

## What it is
Twiggy is a code size profiler for WebAssembly binaries. It analyzes a binary's call graph to explain why functions are included and how much space could be saved by removing them.

## Use cases
- find why a function is included in my wasm binary
- reduce wasm binary size
- analyze retained size of functions in a wasm module
- profile code size of a rust wasm build
- identify dead code bloating my wasm output

## When to choose
- you ship WebAssembly and need to slim binaries
- you want call-graph-based size attribution for wasm

## When to avoid
- profiling native (non-wasm) binaries
- runtime performance profiling rather than size

## Facets
- artifact type: cli-tool
- maturity: active
- function: wasm, cli
- domain: developer-tools, performance
- platform: cli, rust, wasm
- tags: binary-size-analysis, wasm-optimization, profiler

## Member repositories
- AlexEne/twiggy (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:42.255716+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:09.803135+00:00, confidence not recorded.
  - readme: https://github.com/AlexEne/twiggy (fetched 2026-08-28T04:04:42.255716+00:00, sha 29d3c4b4ff33)
- Data as of 2026-08-30T08:39:29.467469+00:00.
