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.
Syntaxvar retVal = Console.profile(reportName);
- reportName [optional]
The title of the report you want to appear in the
- retVal [out, retval]
Reports cannot be nested. You need to stop the current profile or call profileEnd before starting another profiling session.
Build date: 10/26/2012