Loading...

👇🏼 performance measure 👇🏼

const markerNameA = "load.text";
performance.mark(markerNameA);

// load the text
setTimeout(() => {
// ...
performance.measure('measure loading text duration', markerNameA);
}