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

[Experiment] async_hooks: optimize fast-path promise hook for ALS #34512

Commits on Jul 25, 2020

  1. async_hooks: optimize fast-path promise hook for ALS

    Remove unnecessary native-to-JS code switches in fast-path for
    PromiseHooks. Those switches happen even if a certain type of
    hook (say, before) is not installed, which may lead to sub-optimal
    performance in the AsyncLocalStorage scenario, i.e. when there is
    only an init hook.
    puzpuzpuz committed Jul 25, 2020
    Copy the full SHA
    1274aad View commit details
    Browse the repository at this point in the history