This method does not display anything unless used in the inspector. The console.profile()
method starts a JavaScript CPU profile with an optional label until profileEnd is called. The profile is then added to the Profile panel of the inspector.
method
Console.profile
label?: string
): void;