User Timing API - Web APIs | MDN
The User Timing interface allows the developer to create application specific timestamps that are part of the browser's performance timeline. There are two types of user defined timing event types: the " mark" and the " measure" . mark events are named by the application and can be set at any location in an application.
https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API