This topic has not yet been rated - Rate this topic

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.

Internet Explorer 10

Syntax

var retVal = Console.profile(reportName);

Parameters

reportName [optional]

Type: DOMString

The title of the report you want to appear in the

retVal [out, retval]

Type: boolean

Remarks

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

See also

Console
Using the Profiler Tool to analyze the performance of your code

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.