{"id":13470960,"url":"https://github.com/rustwasm/twiggy","last_synced_at":"2025-05-13T19:05:57.665Z","repository":{"id":29448008,"uuid":"120971961","full_name":"rustwasm/twiggy","owner":"rustwasm","description":"Twiggy🌱 is a code size profiler","archived":false,"fork":false,"pushed_at":"2025-04-14T08:02:40.000Z","size":4778,"stargazers_count":1339,"open_issues_count":47,"forks_count":73,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-25T18:22:44.349Z","etag":null,"topics":["profiler","size-optimization","wasm"],"latest_commit_sha":null,"homepage":"https://rustwasm.github.io/twiggy","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustwasm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-10T01:01:51.000Z","updated_at":"2025-04-25T06:28:19.000Z","dependencies_parsed_at":"2023-02-12T21:30:47.649Z","dependency_job_id":"54c55160-8695-46c1-b36a-2311f9a97d8f","html_url":"https://github.com/rustwasm/twiggy","commit_stats":{"total_commits":522,"total_committers":32,"mean_commits":16.3125,"dds":0.789272030651341,"last_synced_commit":"cadd23a2f971544de25c4a82f88b6099ebf56f75"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Ftwiggy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Ftwiggy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Ftwiggy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Ftwiggy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustwasm","download_url":"https://codeload.github.com/rustwasm/twiggy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250869937,"owners_count":21500410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["profiler","size-optimization","wasm"],"created_at":"2024-07-31T16:00:37.840Z","updated_at":"2025-04-25T18:22:56.933Z","avatar_url":"https://github.com/rustwasm.png","language":"Rust","funding_links":[],"categories":["Rust","Static analysis","Development Tools","Programming Languages","Tools"],"sub_categories":["Size Profiling `.wasm` Binaries"],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003ch1\u003eTwiggy🌱\u003c/h1\u003e\n\n  \u003cstrong\u003eA code size profiler for Wasm\u003c/strong\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://docs.rs/twiggy/\"\u003e\u003cimg src=\"https://docs.rs/twiggy/badge.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/twiggy\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/twiggy.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/twiggy\"\u003e\u003cimg src=\"https://img.shields.io/crates/d/twiggy.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/rustwasm/twiggy\"\u003e\u003cimg src=\"https://travis-ci.org/rustwasm/twiggy.svg?branch=master\"/\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\n  \u003ch3\u003e\n    \u003ca href=\"https://rustwasm.github.io/twiggy\"\u003eGuide\u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://rustwasm.github.io/twiggy/contributing/index.html\"\u003eContributing\u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://discord.gg/FenCKAEaME\"\u003eChat\u003c/a\u003e\n  \u003c/h3\u003e\n\n  \u003csub\u003eBuilt with 🦀🕸 by \u003ca href=\"https://rustwasm.github.io/\"\u003eThe Rust and WebAssembly Working Group\u003c/a\u003e\u003c/sub\u003e\n\u003c/div\u003e\n\n## About\n\nTwiggy is a code size profiler for Wasm. It analyzes a binary's call graph to\nanswer questions like:\n\n* Why was this function included in the binary in the first place? Who calls it?\n\n* What is the *retained size* of this function? I.e. how much space would be\n  saved if I removed it and all the functions that become dead code after its\n  removal.\n\nUse Twiggy to make your binaries slim!\n\n## Install Twiggy\n\nEnsure that you have [the Rust toolchain installed](https://www.rust-lang.org/),\nthen run:\n\n```\ncargo install twiggy\n```\n\n## Learn More!\n\n[**Read the Twiggy guide!**](https://rustwasm.github.io/twiggy)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./guide/src/twiggy.png\"/\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustwasm%2Ftwiggy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustwasm%2Ftwiggy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustwasm%2Ftwiggy/lists"}