Mtime
Bun

method

Console.time

label?: string
): void;

Begin a timer to log with console.timeEnd

@param label

The label to use for the timer

 console.time("how long????");
for (let i = 0; i < 999999; i++) {
   // do stuff
   let x = i * i;
}
console.timeEnd("how long????");