clearMarks

fun clearMarks(markName: String = definedExternally)(source)

The clearMarks() method removes all or specific PerformanceMark objects from the browser's performance timeline.

MDN Reference