Skip to content

Use tags for workload selection #82

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

Merged
merged 26 commits into from
Jul 29, 2025

Conversation

camillobruni
Copy link
Contributor

@camillobruni camillobruni commented Jul 3, 2025

  • Remove custom enable-benchmark vars
  • Add "default" tag
  • Auto-add "all" tag to all benchmarks
  • Enable "default" benchmarks
  • Remove disabledByDefault checks
  • Remove forceEnable mechanism (we can always create a custom tag for debugging)
  • Add defaultDisabledTags for WorkerTests in shells
  • Support tag as urlParam

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit f71a98d
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/6888bd401eab4200084f71c5
😎 Deploy Preview https://deploy-preview-82--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

gentle ping.

@@ -1558,7 +1565,7 @@ let BENCHMARKS = [
, "./ARES-6/Air/payload-typescript-scanIdentifier.js"
, "./ARES-6/Air/benchmark.js"
],
tags: ["ARES"],
tags: ["default", "ARES"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: The other tags seem to be CamelCase so maybe this should be Default to be consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

come to think, having tags lower case is probably the most convenient (and would be in sync with what we do in speedometer).
Then we can alos easily ignore the case when trying to enable tags groups.
WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

That's fine with me. Case sensitivity for debugging options is inconvenient in my experience.

Copy link
Contributor

@kmiller68 kmiller68 Jul 14, 2025

Choose a reason for hiding this comment

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

That said, CamelCase is usually easier to read since it demarks different parts of the word. I'm happy to switch to camelCase though too.

Copy link
Contributor Author

@camillobruni camillobruni Jul 14, 2025

Choose a reason for hiding this comment

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

  • Changed to "Default"
  • Internally all tags are lowercase
  • Added check for duplicate tags, so we don't accidentally have an issue mixing same tags with different upper/lower cases

@camillobruni camillobruni requested a review from kmiller68 July 14, 2025 13:51
Copy link
Contributor

@kmiller68 kmiller68 left a comment

Choose a reason for hiding this comment

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

LGTM other than the order change

Copy link
Contributor

@kmiller68 kmiller68 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 some nits.

@camillobruni camillobruni merged commit 0b92f93 into WebKit:main Jul 29, 2025
10 checks passed
@camillobruni camillobruni deleted the 2025-07-01_cleanup branch July 29, 2025 12:27
kmiller68 added a commit to kmiller68/JetStream that referenced this pull request Jul 29, 2025
tag, thus stopped running by default. This adds the "Default" tag
so the dotnet benchmarks run again by default.
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