-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
deprecate shows increased use of CPU #58218
Copy link
Copy link
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.performanceIssues and PRs related to the performance of Node.js.Issues and PRs related to the performance of Node.js.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.performanceIssues and PRs related to the performance of Node.js.Issues and PRs related to the performance of Node.js.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Version
v24.0.0
Platform
Subsystem
No response
What steps will reproduce the bug?
A simple code with standard library only. Added some limiting to keep it running while inspecting. It might not be balanced for best performance and showing the major perf hit.
How often does it reproduce? Is there a required condition?
100% on node v24.
What is the expected behavior? Why is that the expected behavior?
No time spent on
deprecateshows in performance tools.What do you see instead?
Significant time spent on
deprecate(real project shows higher use than the example).Additional information
FWIW there are no deprecation warnings issued to the console output.
I do not see this behaviour in v23.