Skip to content

Conversation

@kmiller68
Copy link
Contributor

Right now some of the resources are loaded via relative paths in the benchmark. Instead of trying to patch the benchmark to use the blob, this patch makes it easier to redirect fetch so that it can find the already loaded data.

I did this by adding a JetStream.resources object that maps from the original relative path resource to the blobURLOrPath vended by the preloader.

Right now some of the resources are loaded via relative paths in the
benchmark. Instead of trying to patch the benchmark to use the blob,
this patch makes it easier to redirect `fetch` so that it can find
the already loaded data.

I did this by adding a `JetStream.resources` object that maps from
the original relative path resource to the blobURLOrPath vended
by the preloader.
@kmiller68 kmiller68 requested a review from danleh November 12, 2025 17:15
@netlify
Copy link

netlify bot commented Nov 12, 2025

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit 1f6ad81
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/6914c1d557c0110007ed76d6
😎 Deploy Preview https://deploy-preview-238--webkit-jetstream-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@kmiller68
Copy link
Contributor Author

This addresses #183

@kmiller68
Copy link
Contributor Author

I'm just gonna merge this since it's (hopefully) non-controversial. Happy to address any feedback in a followup.

@kmiller68 kmiller68 merged commit f88580e into WebKit:main Nov 13, 2025
23 checks passed
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.

2 participants