Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperspeed POC #7116

Draft
wants to merge 3 commits into
base: next
Choose a base branch
from
Draft

Hyperspeed POC #7116

wants to merge 3 commits into from

Conversation

stipsan
Copy link
Member

@stipsan stipsan commented Jul 9, 2024

Description

Experimental branch, not meant to be merged directly, but broken into smaller, and focused, PRs depending on the outcome of the R&D on how to make the Studio faster.

So far the results for moving checkoutPair observable work (which drives mutations, draft and published document state and underpins a lot of async studio state related to form input) are very promising:

hyperspeed.studio.small.mov

What to review

Feel free to share thoughts on the different experiments in this branch that should be graduated to focused initiatives 🙌

Testing

Testing the live vercel deploy for the test studio is the best way to experience the improved perf: https://test-studio-git-hyperspeed-poc.sanity.build/test/structure

Diff since branching

Copy link

vercel bot commented Jul 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 9:40am
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 9:40am
test-compiled-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 9:40am
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 9:40am
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 9:40am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Aug 29, 2024 9:40am

@@ -127,6 +127,7 @@
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"build:bundle": "vite build --config package.bundle.ts",
"build:web-workers": "vite build --config package.worker.ts",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very dirty, and will be replaced by first-class support for Web Worker bundling in @sanity/pkg-utils: sanity-io/pkg-utils#987

Copy link
Contributor

github-actions bot commented Jul 9, 2024

No changes to documentation

Copy link

socket-security bot commented Jul 10, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 5.52 kB types
npm/@web/[email protected] filesystem +26 1.39 MB modern-web
npm/[email protected] environment Transitive: filesystem +16 10.5 MB stipsan

View full report↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant