Skip to content

timers: recent performance regressions #41219

Description

@mscdex

0d9f3bd introduced a noticeable performance regression with various timers benchmarks. For example:

  • timers/immediate.js type="clear" performance dropped 77%
  • timers/timers-cancel-pooled.js performance dropped 55%
  • timers/timers-timeout-pooled.js performance dropped 41%

and many other timers benchmarks/benchmark configs saw double digit drops.

While having a public "get active requests"/"get active handles" API would be nice, I don't think it is worth this kind of penalty if we can't find some way to remedy the performance regressions.

/cc @RaisinTen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceIssues and PRs related to the performance of Node.js.processIssues and PRs related to the process subsystem.regressionIssues related to regressions.timersIssues and PRs related to timers, setImmediate(), setInterval(), and setTimeout().

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions