-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
process.hrtime() is much slower in 14.x #36417
Comments
hrtime should be about 2x faster in v15 |
Looks like this is already fixed:
|
You mean fixed in 15? Because what you posted above still shows degradation in 14.15.1 |
spazmodius
added a commit
to spazmodius/now
that referenced
this issue
May 28, 2021
On Node 14.x, hrtime() suffers from a performance regression, making this module worse than Date.now(). See nodejs/node#36417
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
process.hrtime()
takes twice as long to execute in Node.js 14, compared to Node.js 12.process
What steps will reproduce the bug?
Running
benchmark/process/bench-hrtime.js
in Node.js 12 and 14The text was updated successfully, but these errors were encountered: