P

performance.mark

performance.mark() is a method from the browser's User Timing API that allows a developer to programmatically create a named timestamp at a specific point in their JavaScript code. These "marks" serve as starting or ending points that can then be used with performance.measure() to calculate the duration of a specific operation.

All terms
Fabian Krumbholz
Fabian Krumbholz
April 8, 20261 min read

Related web performance terms

How fast is your website?