Skip to content

Cleanup/shared #513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

flashdesignory
Copy link
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

Copy link

netlify bot commented May 23, 2025

Deploy Preview for webkit-speedometer-preview ready!

Name Link
🔨 Latest commit b593619
🔍 Latest deploy log https://app.netlify.com/projects/webkit-speedometer-preview/deploys/68767a01459bb30008e7dcce
😎 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.

Copy link
Contributor

@julienw julienw left a comment

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

@flashdesignory flashdesignory added the trivial change A change that doesn't affect benchmark results label Jul 15, 2025
@flashdesignory
Copy link
Contributor Author

@rniwa - any feedback for this pr?

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