Javascript window.performance.now()
TheJavascript window.performance.now()
method returns a timestamp, specifically a high-resolution time stamp measured in milliseconds, indicating the number of milliseconds elapsed since the start of the page's navigation. This method provides a way to measure time more precisely than the traditional Date
object, especially for performance measurements or animations where accuracy is critical.
written
reviewed
updated
Thanks for your feedback!
Your contributions will help us to improve service.
Ad