Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

profile method

Starts recording profile information under the optional title provided. This command is equivalent to clicking the Start profiling button on the F12 developer tools Profile tab.

Note  This method is removed in Microsoft Edge.
Internet Explorer 10



var retVal = Console.profile(reportName);


reportName [optional]

Type: DOMString

The title of the report you want to appear in the

retVal [out, retval]

Type: boolean


Reports cannot be nested. You need to stop the current profile or call profileEnd before starting another profiling session.

See also

Using the Profiler Tool to analyze the performance of your code



© 2017 Microsoft