-
Notifications
You must be signed in to change notification settings - Fork 18
sync-fs and async-fs improvements #217
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
base: main
Are you sure you want to change the base?
sync-fs and async-fs improvements #217
Conversation
camillobruni
commented
Oct 23, 2025
- Try to bump min measured iteration duration to ~10ms
- Use generator for randomFileContents
- Only measure setupDirectory in the faster sync-fs
- Increase NOF files and folders
- Add FSVisitor to get some more generator action going
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments. Will take a deeper look in a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's get @iainireland to take a look before merging
|
Looks fine to me. I remain unconvinced that generator performance is particularly important in the real world, but if we're going to benchmark it, we might as well do a good job, and it looks from my quick profiles like this patch succeeds at making the benchmark more generator-heavy. |