Skip to content

Conversation

@camillobruni
Copy link
Contributor

  • Use plan as options bag for constructor arguments
  • Prefix "protected" instance variables with "_"
  • Rename Benchmark.preload to Benchmark._preloadEntries
  • Move iteration and worstCase count processing to the Benchmark class
  • Add files and preloadEntries getters so we can override it in GroupedBenchmark
  • Rename plan.arguments to plan.args due to "argument" being a reserved word
  • Rename WasmLegacyBenchmark to AsyncWasmLegacyBenchmark

@camillobruni camillobruni requested a review from danleh January 19, 2026 14:12
@netlify
Copy link

netlify bot commented Jan 19, 2026

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit 61bff36
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/696e4e7ab709ed00080aa5ab
😎 Deploy Preview https://deploy-preview-263--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.

@camillobruni
Copy link
Contributor Author

Let's reland this independently from the preload refactoring.

Copy link
Contributor

@danleh danleh left a comment

Choose a reason for hiding this comment

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

LGTM with one small thing.

Also to document and double check the background / high-level idea: #262 reverted these changes (among others) but we assume these changes here should not affect performance, since they are small renames and moves of functions, but not fundamentally changing preloading, unlike #251.

@camillobruni camillobruni merged commit 3900fef into WebKit:main Jan 19, 2026
23 checks passed
@camillobruni camillobruni deleted the 2026-01-19_benchmark_option_bag_reland branch January 19, 2026 15:53
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