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.

Fabian Krumbholz
April 8, 2026
1 min read
GET STARTED

Get a free preloading demo for your site

We analyze your website speed, identify web vitals issues, and compare your competitors.

Book free demo
iPhone 15 Device CheckLaser Scanner