deno.com
method Console.time
#Console.time(label?: string): void

Starts a timer you can use to track how long an operation takes

Examples #

#
console.time('operation');
// ... some code
console.timeEnd('operation');

Parameters #

optional
#label: string

Timer label. Defaults to 'default'

Return Type #

void