{"id":49890262,"url":"https://github.com/boringcache/benchmark-storybook","last_synced_at":"2026-05-15T20:34:20.109Z","repository":{"id":354597521,"uuid":"1224289897","full_name":"boringcache/benchmark-storybook","owner":"boringcache","description":"Standalone Storybook benchmark runner for BoringCache vs GitHub Actions cache","archived":false,"fork":false,"pushed_at":"2026-05-14T06:36:13.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-14T08:32:38.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/boringcache.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-29T06:20:33.000Z","updated_at":"2026-05-14T06:36:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/boringcache/benchmark-storybook","commit_stats":null,"previous_names":["boringcache/benchmark-storybook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boringcache/benchmark-storybook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fbenchmark-storybook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fbenchmark-storybook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fbenchmark-storybook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fbenchmark-storybook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boringcache","download_url":"https://codeload.github.com/boringcache/benchmark-storybook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fbenchmark-storybook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-05-15T20:34:18.698Z","updated_at":"2026-05-15T20:34:20.096Z","avatar_url":"https://github.com/boringcache.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# benchmark-storybook\n\nPublic Storybook benchmark runner for BoringCache vs GitHub Actions cache. Exercises the [Storybook](https://github.com/storybookjs/storybook) Nx workspace as the upstream source.\n\nThis repo exists separately from [`boringcache/benchmarks`](https://github.com/boringcache/benchmarks) so the benchmark keeps:\n\n- one pinned upstream source commit (Storybook)\n- isolated GitHub Actions cache usage\n- one per-repo BoringCache workspace name: `boringcache/benchmark-storybook`\n- independent workflow history plus upstream-sync-driven benchmark runs and manual dispatches\n\n## Source Model\n\n- Upstream source lives in the pinned `upstream/` submodule pointing at `storybookjs/storybook`.\n\nPinned upstream source:\n\n- see committed `upstream/` submodule on `main`\n\n## What It Measures\n\nThis benchmark compares BoringCache's Nx self-hosted remote cache (`mode: nx-proxy` in `boringcache/one` v1.12.75+) with GitHub Actions cache restoring Nx's local task-cache paths.\n\nThe measured build runs Storybook's cacheable Nx target `bench/react-vite-default-ts:build` from the upstream workspace root. It intentionally avoids `code/yarn build`, which bypasses Nx, and the full Storybook `run-many --target=build`, which pulls in the broader sandbox/repro matrix.\n\nSource preparation removes Storybook's checked-in Nx Cloud workspace binding from the temporary checkout. The benchmark measures BoringCache's self-hosted Nx proxy against the actions/cache local `.nx/cache` path, not Storybook's private Nx Cloud workspace.\n\nFresh lane runs a no-prior-cache cold build plus one warm rerun for each backend:\n\n- `cold`\n- `warm1`\n\nRolling lane records the upstream commit build as-is after each upstream sync against the prior rolling cache and intentionally skips `warm1`.\n\nThe story this benchmark is meant to show is:\n\n- speed on fresh cold and warm paths\n- commit-build behavior on normal upstream syncs in the rolling lane\n- storage footprint in each backend\n- whether Nx cache reuse stays reliable on fresh runners\n\nThe BoringCache lane archives Yarn dependency state only. It does not archive\n`upstream/.nx/cache` or `upstream/.nx/workspace-data`; those paths are the\nlocal Nx cache surface used by the actions/cache lane.\n\n## Token Model\n\nThis repo uses split BoringCache tokens as the standard CI shape:\n\n- `BORINGCACHE_RESTORE_TOKEN` for read-only restore and proxy access\n- `BORINGCACHE_SAVE_TOKEN` for trusted write paths\n- `BORINGCACHE_API_TOKEN` only where a single bearer variable is still required for compatibility\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboringcache%2Fbenchmark-storybook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboringcache%2Fbenchmark-storybook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboringcache%2Fbenchmark-storybook/lists"}