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

fix(website): Optimizations to prevent CPU spikes #1509

Merged
merged 11 commits into from
Nov 4, 2024
Merged

Conversation

saeta-eth
Copy link
Contributor

@saeta-eth saeta-eth commented Oct 30, 2024

When the deployment state is too large—like the SNX Arbitrum deployment with its 300k-line JSON file—it slowed down the Queue Deployment page by processing on the main thread. The solution now uses Web Workers, keeping the main thread free and preventing CPU spikes.

Closes https://linear.app/usecannon/issue/CAN-610/performance-issue-on-builder-page-on-snx-arbitrum-build

Copy link

changeset-bot bot commented Oct 30, 2024

⚠️ No Changeset found

Latest commit: da4e164

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@saeta-eth saeta-eth changed the title fix(website): Implement workers to prevent CPU spikes fix(website): Optimizations to prevent CPU spikes Oct 30, 2024
Copy link
Contributor

@dbeal-eth dbeal-eth left a comment

Choose a reason for hiding this comment

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

Fantasmic

@saeta-eth saeta-eth marked this pull request as ready for review October 31, 2024 13:47
@mjlescano mjlescano merged commit ca43bd3 into dev Nov 4, 2024
8 of 10 checks passed
@mjlescano mjlescano deleted the fix/cpu-spike branch November 4, 2024 10:16
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.

3 participants