Skip to content

Cleanup/shared#513

Merged
flashdesignory merged 6 commits into
WebKit:mainfrom
flashdesignory:cleanup/shared
Oct 8, 2025
Merged

Cleanup/shared#513
flashdesignory merged 6 commits into
WebKit:mainfrom
flashdesignory:cleanup/shared

Conversation

@flashdesignory

Copy link
Copy Markdown
Contributor

Cleanup as a result from comments in this pr: #509

resources/shared/helpers.mjs:

  • update descriptions
  • rename getParent to recursivelyQuerySelector

resources/shared/test-invoker.mjs:

  • move start method into TestInvoker and remove BaseRAFTestInvoker class

resources/shared/benchmark.mjs

  • rename runAndRecord, to be more specific
  • rename BenchmarkSuite.tests to BenchmarkSuite.steps

Open discussion:
resources/shared/benchmark.mjs - forward url params (current implementation), or grab from top.location.search?

pros: nicer to debug, since you can see the full url of the workload (including params)
cons: we have to propagate and forward the query string from the main document

Follow up:
run build scripts of postmessage enabled workloads

@netlify

netlify Bot commented May 23, 2025

Copy link
Copy Markdown

Deploy Preview for webkit-speedometer-preview ready!

Name Link
🔨 Latest commit ecc2b74
🔍 Latest deploy log https://app.netlify.com/projects/webkit-speedometer-preview/deploys/68e68eed4ff6870008a847da
😎 Deploy Preview https://deploy-preview-513--webkit-speedometer-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.

@julienw julienw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I haven't tried to run it but this looks reasonable

Comment thread resources/shared/benchmark.mjs
Comment thread resources/shared/helpers.mjs
@flashdesignory flashdesignory added the trivial change A change that doesn't affect benchmark results label Jul 15, 2025
@flashdesignory

Copy link
Copy Markdown
Contributor Author

@rniwa - any feedback for this pr?

@flashdesignory flashdesignory merged commit d90b6fd into WebKit:main Oct 8, 2025
8 checks passed
@flashdesignory flashdesignory deleted the cleanup/shared branch October 8, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

trivial change A change that doesn't affect benchmark results

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants