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

Speed up async hooks (former domain module) #57724

Open
ORESoftware opened this issue Apr 1, 2025 · 0 comments
Open

Speed up async hooks (former domain module) #57724

ORESoftware opened this issue Apr 1, 2025 · 0 comments
Labels
feature request Issues that request new features to be added to Node.js.

Comments

@ORESoftware
Copy link
Contributor

What is the problem this feature will solve?

the current async_hooks implementation of the deprecated domain module runs about the same speed as original domain implementation

as a relatively unbiased observer both new and old implementations will slow a server down by around 30%

with current async/await uncaught exceptions are less of an issue

but still might be good to investigate how to optimize it - something makes it slow - probably a lot of function binding calls

@isaacs

What is the feature you are proposing to solve the problem?

perf optimizations

What alternatives have you considered?

its a core thing

@ORESoftware ORESoftware added the feature request Issues that request new features to be added to Node.js. label Apr 1, 2025
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to Node.js.
Projects
Status: Awaiting Triage
Development

No branches or pull requests

1 participant