method Console.profileConsole.profile(label?: string): voidStarts recording a performance profile ExamplesExample 1 console.profile('Performance Profile'); // ... code to profile console.profileEnd('Performance Profile'); Parametersoptionallabel: stringProfile label Return Typevoid