You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The timestamp is not actually high-resolution. To mitigate security threats such as Spectre, browsers currently round the results to varying degrees. (Firefox started rounding to 1 millisecond in Firefox 60.) Some browsers may also slightly randomize the timestamp. The precision may improve again in future releases; browser developers are still investigating these timing attacks and how best to mitigate them.
Consider using performance.now() for browsers and process.hrtime.bigint() in Node.js.
The text was updated successfully, but these errors were encountered:
Consider using
performance.now()
for browsers andprocess.hrtime.bigint()
in Node.js.The text was updated successfully, but these errors were encountered: