Skip to content

Add an unofficial shared-memory ring buffer workload - #322

Open
chicoxyzzy wants to merge 1 commit into
WebKit:mainfrom
chicoxyzzy:atomics-ring-buffer
Open

chicoxyzzy wants to merge 1 commit into
WebKit:mainfrom
chicoxyzzy:atomics-ring-buffer

Conversation

@chicoxyzzy

Copy link
Copy Markdown
Member

Adds atomics-ring-buffer, an unofficial workload. It has no default tag, so the default suite score is unchanged. Run it with --test=atomics-ring-buffer.

The producer claims a slot with Atomics.add, writes the record with Atomics.store, and publishes it with Atomics.compareExchange. The consumer observes the slot with Atomics.load. Both sides run on one agent, so the score does not depend on worker scheduling. A checksum mismatch fails the iteration.

This is the queue pattern behind worker and main-thread buffers such as audio graphs. Proposed from https://issues.chromium.org/issues/497018236 so the pattern is tracked across engines.

@netlify

netlify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit 1130aa8
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/6ad6190e0b1ded8b1bfa6755
😎 Deploy Preview https://deploy-preview-322--webkit-jetstream-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Producer claims a slot with Atomics.add, writes the record with
Atomics.store, and publishes it with Atomics.compareExchange. The
consumer observes the slot with Atomics.load. Both sides run on one
agent so the score does not depend on worker scheduling.

The workload is not in the default suite. Run it with
--test=atomics-ring-buffer.
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