Skip to content

Glossary: Data Structures and Algorithms in JavaScript

performance.now()

Also written: performance.now

A built-in Node function that returns a precise clock reading in milliseconds. Read it before and after some code and subtract to time it.

Where the book teaches it

Related terms

Big-O notation