Skip to content
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

tiny startup time regression #52804

Open
mcollina opened this issue May 2, 2024 · 2 comments
Open

tiny startup time regression #52804

mcollina opened this issue May 2, 2024 · 2 comments
Labels
performance Issues and PRs related to the performance of Node.js.

Comments

@mcollina
Copy link
Member

mcollina commented May 2, 2024

I've noticed a tiny startup time regression in Node.js v22 vs v20.

Consider this script:

for (let i = 0; i < 10000; i++) {
}

This runs in about 30ms on my system for Node.js v20, but in Node.js v22 it takes about 33ms.

Not really noticeable, but it's there.

@mcollina mcollina changed the title startup time regression tiny startup time regression May 2, 2024
@VoltrexKeyva VoltrexKeyva added the performance Issues and PRs related to the performance of Node.js. label May 2, 2024
@benjamingr
Copy link
Member

@nodejs/startup

@mcollina
Copy link
Member Author

mcollina commented May 3, 2024

You can see more data in #52803 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Issues and PRs related to the performance of Node.js.
Projects
None yet
Development

No branches or pull requests

3 participants