Skip to content

Conversation

kmiller68
Copy link
Contributor

Add a parameter to pass in the BenchTask batch size from benchmark.js. This makes it possible to change the workload without rebuilding the .wasm blobs. The new batch size is dramatically smaller (100/50/10 for old/aot/interp respectively). I also reduced the frame size for the RayTracing half of the benchmark.

Overall though the distribution of time within the .NET wasm blobs is roughly the same between the two versions (in jsc anyway). With the exception of the interpreter subtest spending roughly 10% longer in the interpreter loop.

Lastly, I added some commentary to the README.md about what the benchmark is doing.

N.B.: I tried to remove the old BenchSize getter but that caused some .NET Out of Memory exceptions in the MONO runtime. The whole build process seems weirdly flakey. Sometimes the build will just not run. In fact 0b7a21d is one that fails and the subsequent commit e3dc40e (which didn't change anything, just rebuilt) works.

Copy link

netlify bot commented Aug 27, 2025

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit b72a665
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/68af384402967d0008294e62
😎 Deploy Preview https://deploy-preview-168--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

@eqrion @danleh please take a look and let me know what you think.

@kmiller68
Copy link
Contributor Author

@maraf Have you seen issues with different builds of the same sources failing? Also, do you have comments or concerns with the PR?

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