René's URL Explorer Experiment


Title: perf(dev): re-enable the Turbopack dev filesystem cache (5.4x faster restarts) by waleedlatif1 · Pull Request #6151 · simstudioai/sim · GitHub

Open Graph Title: perf(dev): re-enable the Turbopack dev filesystem cache (5.4x faster restarts) by waleedlatif1 · Pull Request #6151 · simstudioai/sim

X Title: perf(dev): re-enable the Turbopack dev filesystem cache (5.4x faster restarts) by waleedlatif1 · Pull Request #6151 · simstudioai/sim

Description: Why experimental.turbopackFileSystemCacheForDev has been false since #5408 — a landing-page homepage redesign. That PR's description covers hero cards, feature-card aspect ratios, eyebrow chips and a voice-input button color. It never mentions Turbopack, caching, or dev performance. It was collateral, and it overrode the Next default (true since v16.1). It is not the flag #6078/#6080 measured. That A/B was turbopackFileSystemCacheForBuild, and its conclusion stands — the build cache is a 3.2x regression and stays off in this PR. The two flags look alike and are opposite decisions; both now carry comments saying so, so neither gets flipped from the other's evidence. Forensic corroboration: the abandoned cache on my machine last wrote Jul 7 17:51; #5408 was authored Jul 7 18:02 PDT. Measurement /workspace/[workspaceId]/w (the canvas), n=3 per arm, dev server stopped with SIGINT between every run: restart compile dev-server RSS cache off (current) 31.4s / 30.1s / 31.9s 9.0–9.8 GB cache on (this PR) 5.6s / 5.6s / 5.5s 4.4–5.1 GB 5.4x faster restarts, ~2x less resident memory. Ranges do not overlap. Cold compile against an empty cache is unchanged (~32s either way) — the cache only pays back on restart, which is the loop that actually hurts. Cache growth The dev cache is unbounded on disk. The abandoned one here had reached 78 GB across 1,848 SST files, and a stale cache is slower to read back, so left alone it erodes the win it exists to provide. scripts/prune-turbopack-cache.ts runs on predev (and predev:minimal / predev:capped) and drops the cache once it crosses a cap — default 20 GB, SIM_TURBOPACK_CACHE_MAX_GB to override. bun run dev:cache:prune forces it. It never blocks next dev on a maintenance failure. Verified: keeps under cap, prunes over cap, --dry-run, --force, invalid-env fallback, and that Bun fires pre* hooks. Skill Adds .agents/skills/dev-performance recording the cost model (next dev compiles per route on demand — startup time is meaningless), reference numbers, the two opposite cache flags, and the benchmarking method. Including one trap worth reading: stopping the dev server with kill -9 mid-cache-write discards the cache, which makes this exact win read as no win. It produced a false negative during the investigation. Test plan n=3 per arm A/B, SIGINT restarts, non-overlapping ranges prune script: under cap / over cap / dry-run / force / invalid env bun run skills:check in sync biome clean

Open Graph Description: Why experimental.turbopackFileSystemCacheForDev has been false since #5408 — a landing-page homepage redesign. That PR's description covers hero cards, feature-card aspect ratios, eyebrow chips...

X Description: Why experimental.turbopackFileSystemCacheForDev has been false since #5408 — a landing-page homepage redesign. That PR's description covers hero cards, feature-card aspect ratios, eyebrow c...

Opengraph URL: https://github.com/simstudioai/sim/pull/6151

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:466c57fc-bfe9-05e7-5035-ab64ef36ff65
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id863E:5A71D:5459E5:7495F0:6AFB3BA5
html-safe-nonce15fb307d6334b00fd124c72b1e5455780b0fe429badf7d9ee0bdfb5e9f062cf3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjNFOjVBNzFEOjU0NTlFNTo3NDk1RjA6NkFGQjNCQTUiLCJ2aXNpdG9yX2lkIjoiOTA0MDQxNjU5MjcwNjQyNTk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac960812d731beb6693e10aeb3841d47ca1e94ee6a4f3958f558efc19113d25c6e
hovercard-subject-tagpull_request:4182703496
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6151/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altWhy experimental.turbopackFileSystemCacheForDev has been false since #5408 — a landing-page homepage redesign. That PR's description covers hero cards, feature-card aspect ratios, eyebrow chips...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6151/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6151%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6151%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6151/files
Reloadhttps://github.com/simstudioai/sim/pull/6151/files
Reloadhttps://github.com/simstudioai/sim/pull/6151/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
perf/dev-fs-cachehttps://github.com/simstudioai/sim/tree/perf/dev-fs-cache
Conversation 8 https://github.com/simstudioai/sim/pull/6151
Commits 7 https://github.com/simstudioai/sim/pull/6151/commits
Checks 25 https://github.com/simstudioai/sim/pull/6151/checks
Files changed https://github.com/simstudioai/sim/pull/6151/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6151/files
perf(dev): re-enable the Turbopack dev filesystem cache (5.4x faster restarts) https://github.com/simstudioai/sim/pull/6151/files#top
Show all changes 7 commits https://github.com/simstudioai/sim/pull/6151/files
4aa07e5 perf(dev): re-enable the Turbopack dev filesystem cache (5.4x faster … waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6151/commits/4aa07e5af6790a472e6044cb070468fbd2f7764f
6da0496 improvement(dev): chain the cache prune into dev scripts instead of a… waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6151/commits/6da04962d97975101de23c25ec1b4e836a13e3d5
ba6d45d docs(dev): document cache-corruption recovery, the cost of enabling t… waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6151/commits/ba6d45d5fa3a90ce8dbf97cc7556e681ec305188
2f02f2b refactor(dev): drop the dev-performance skill, keep its findings at t… waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6151/commits/2f02f2b6ab4a674d8078cae13ff2455146ea766e
216d9bc docs(dev): record the measured cost and concurrency behaviour of cach… waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6151/commits/216d9bc29470c48444e196c7eced1999eb436e20
5d64a3e fix(dev): cap every app's Turbopack cache, not just apps/sim waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6151/commits/5d64a3ed37d941e8818f016fd1c768d820342379
01ed9f6 refactor(dev): drop dev:cache:prune in favour of the existing dev:clean waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6151/commits/01ed9f6050c453f920cf77bd9c31d551fc682bd4
Clear filters https://github.com/simstudioai/sim/pull/6151/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6151/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6151/files
package.json https://github.com/simstudioai/sim/pull/6151/files#diff-d03d2ce97fad5059ad6248fca5f5919994b09bca360f883318c03f1f817ae677
next.config.ts https://github.com/simstudioai/sim/pull/6151/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
package.json https://github.com/simstudioai/sim/pull/6151/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
prune-turbopack-cache.ts https://github.com/simstudioai/sim/pull/6151/files#diff-b73ba2fd7eadcb8a66e3870f34f43ea7f718eacb06b913927e7d2b23e84b41a0
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
apps/docs/package.jsonhttps://github.com/simstudioai/sim/pull/6151/files#diff-d03d2ce97fad5059ad6248fca5f5919994b09bca360f883318c03f1f817ae677
View file https://github.com/simstudioai/sim/blob/01ed9f6050c453f920cf77bd9c31d551fc682bd4/apps/docs/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6151/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6151/files#diff-d03d2ce97fad5059ad6248fca5f5919994b09bca360f883318c03f1f817ae677
https://github.com/simstudioai/sim/pull/6151/files#diff-d03d2ce97fad5059ad6248fca5f5919994b09bca360f883318c03f1f817ae677
apps/sim/next.config.tshttps://github.com/simstudioai/sim/pull/6151/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
View file https://github.com/simstudioai/sim/blob/01ed9f6050c453f920cf77bd9c31d551fc682bd4/apps/sim/next.config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6151/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6151/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6151/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
apps/sim/package.jsonhttps://github.com/simstudioai/sim/pull/6151/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
View file https://github.com/simstudioai/sim/blob/01ed9f6050c453f920cf77bd9c31d551fc682bd4/apps/sim/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6151/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6151/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
https://github.com/simstudioai/sim/pull/6151/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
scripts/prune-turbopack-cache.tshttps://github.com/simstudioai/sim/pull/6151/files#diff-b73ba2fd7eadcb8a66e3870f34f43ea7f718eacb06b913927e7d2b23e84b41a0
View file https://github.com/simstudioai/sim/blob/01ed9f6050c453f920cf77bd9c31d551fc682bd4/scripts/prune-turbopack-cache.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6151/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/6151/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.