Skip to content

Conversation

@camillobruni
Copy link
Contributor

@camillobruni camillobruni commented Oct 28, 2025

Both benchmarks seem to spend quite a bit of time in new Date() and extracting file names from the idOrPath variable. The date is never really accessed which makes this a bit a weird pattern to have such a high weight.

  • Remove new Date() for version
  • Use lastIndexOf in one of the two benchmarks to get a bit diversity

This seems to move the scores up on all engines – happy to discuss this.

@netlify
Copy link

netlify bot commented Oct 28, 2025

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit 91edff2
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/6900f5d97c047700081da00d
😎 Deploy Preview https://deploy-preview-231--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.

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

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