{"id":28972540,"url":"https://github.com/ember-cli/broccoli-viz","last_synced_at":"2026-03-02T07:33:32.740Z","repository":{"id":24708802,"uuid":"28120399","full_name":"ember-cli/broccoli-viz","owner":"ember-cli","description":"library to read/parse and produce various visualizations of broccoli.","archived":false,"fork":false,"pushed_at":"2023-03-01T03:57:23.000Z","size":142,"stargazers_count":23,"open_issues_count":14,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-24T22:51:53.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ember-cli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2014-12-17T04:05:34.000Z","updated_at":"2022-12-15T22:59:02.000Z","dependencies_parsed_at":"2024-06-18T16:59:39.534Z","dependency_job_id":"ac036952-57ef-4f86-bac0-b577afa0d6b9","html_url":"https://github.com/ember-cli/broccoli-viz","commit_stats":null,"previous_names":["stefanpenner/broccoli-viz"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/ember-cli/broccoli-viz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fbroccoli-viz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fbroccoli-viz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fbroccoli-viz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fbroccoli-viz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ember-cli","download_url":"https://codeload.github.com/ember-cli/broccoli-viz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fbroccoli-viz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29995042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-24T11:06:53.540Z","updated_at":"2026-03-02T07:33:32.724Z","avatar_url":"https://github.com/ember-cli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\n\n`npm install -g broccoli-viz`\n\n## Usage\n\nGenerate a heimdall-compatible JSON from an ember build.\n\n```sh\nBROCCOLI_VIZ=1 ember build\n# produces broccoli-viz.0.json\n\nBROCCOLI_VIZ=1 ember serve\n# produces broccoli-viz.{buildNumber}.json for each build\n```\n\nProduce a graphviz dot file from this JSON\n\n```sh\nbroccoli-viz broccoli-viz.0.json \u003e broccoli-viz.0.dot\n```\n\nProduce a PDF of this graph using graphviz (requires graphviz to be installed)\n\n```sh\ndot -Tpdf broccoli-viz.0.dot \u003e broccoli-viz.0.pdf\n```\n\nYou can then explore the PDF to see where time is being spent on your build.\n\n### Stats Filtering\n\nIf you want to show stats other than, or in addition to, the time stats, you can\npass a `--stats` option one or more times.  These are simple glob patterns\nmatched against the full stats key.\n\nIf no `--stats` option is passed, the default is `--stats=time.self --stats=time.total`\n\nExamples:\n\n```sh\n# Show time stats and individual fs counts\nbroccoli-viz --stats='time.*' --stats='fs.*.count' broccoli-viz.0.json \u003e broccoli-viz.0.dot\n\n# Show time stats and lstat, mkdir counts\nbroccoli-viz --stats='time.*' --stats='fs.lstatSync.count' --stats='fs.mkdirSync.count' broccoli-viz.0.json \u003e broccoli-viz.0.dot\n\n# Show all stats\nbroccoli-viz --stats='*' broccoli-viz.0.json \u003e broccoli-viz.0.dot\n```\n\n\n### Render subtree\n\nIf you want to render only a subtree, `--root-id=:id` where `:id` is the id of the\nroot of the subgraph we wish to render\n\nIf no `--root-id` option is passed, the full graph is rendered\n\nExamples:\n\n```sh\n# only renders 255 and its descendents\nbroccoli-viz --root-id=255 broccoli-viz.0.json \u003e broccoli-viz.0.dot\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli%2Fbroccoli-viz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fember-cli%2Fbroccoli-viz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli%2Fbroccoli-viz/lists"}