Profile

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Added description of syntax, hint for needing help and linked back to Command Line API)
m (Added categories)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
-
{{needsHelp}}
+
Turns the [[Profiler#CPU_profiling|JavaScript CPU profiler]] on, which creates detailed statistics about function calls.
-
Turns on the JavaScript profiler. The optional argument title contains the text to be printed in the header of the profile report.
+
To stop profiling use <code>[[profileEnd|profileEnd()]]</code>.
 +
 
 +
This command is a shortcut for the [[console.profile]] API.  
== Syntax ==
== Syntax ==
Line 9: Line 11:
== See also ==
== See also ==
 +
* [[profileEnd]]
* [[Command Line API]]
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 00:06, 22 November 2013

Turns the JavaScript CPU profiler on, which creates detailed statistics about function calls.

To stop profiling use profileEnd().

This command is a shortcut for the console.profile API.

[edit] Syntax

profile([title])

[edit] See also

Personal tools