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

async_hooks: add async local storage propagation benchmarks #46414

Merged

Commits on Feb 2, 2023

  1. async_hooks: add async local storage propagation benchmarks

    Add micro-benchmarks to verify the performance degradation related to
    the number of active `AsyncLocalStorage`s.
    
    With these benchmarks, trying to improve the async context propagation
    to be an O(1) operation, which is an operation more frequent compared
    to `asyncLocalStorage.run` and `asyncLocalStorage.getStore`.
    legendecas committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    22c8683 View commit details
    Browse the repository at this point in the history