Skip to main content
method Console.profileEnd
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