measure(measureName: string, startMarkName?: string, endMarkName?: string): void
Creates a named timestamp in the browser's performance entry buffer between two specified marks (known as the start mark and end mark, respectively).
Parameters
measureName: string
a DOMString representing the name of the measure.
startMarkName?: string
endMarkName?: string