mark

fun mark(markName: String, markOptions: PerformanceMarkOptions = definedExternally): PerformanceMark(source)

The mark() method creates a named PerformanceMark object representing a high resolution timestamp marker in the browser's performance timeline.

MDN Reference