method Console.timeConsole.time(label?: string): voidDeprecatedStarts a timer you can use to track how long an operation takes ExamplesExample 1 console.time('operation'); // ... some code console.timeEnd('operation'); Parametersoptionallabel: stringTimer label. Defaults to 'default' Return Typevoid