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

timers: use ref counts to count timers #41231

Commits on Dec 31, 2021

  1. timers: use ref counts to count timers

    The additional objects that were getting added and deleted from the
    activeTimersMap object were slowing down the rest of the timers code,
    so this change falls back to using the ref counts to count the active
    timers inside process.getActiveResourcesInfo().
    
    Fixes: nodejs#41219
    
    Signed-off-by: Darshan Sen <darshan.sen@postman.com>
    RaisinTen committed Dec 31, 2021
    Copy the full SHA
    4446606 View commit details
    Browse the repository at this point in the history