Skip to main content
Console.profileEnd - Web documentation
method Console.profileEnd
Private
Console.profileEnd(label?: string): void

Stops recording a performance profile

Examples

Example 1

console.profile('Performance Profile');
// ... code to profile
console.profileEnd('Performance Profile');

Parameters

optional
label: string

Profile label to stop

Return Type

void
Back to top