Difference between revisions of "Console.timeStamp"

From FirebugWiki
Jump to: navigation, search
(Separate Console API page for console.timeStamp())
 
m (Added categories)
Line 19: Line 19:
 
== See also ==
 
== See also ==
 
* [[Console API]]
 
* [[Console API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Revision as of 16:12, 21 November 2013

Creates a time stamp, which can be used together with HTTP traffic timing to measure when a certain piece of code was executed.

Syntax

console.timeStamp(name)

Parameters

name

Label for the time stamp. This will be displayed together with the time stamp.

Examples

console.timeStamp("Page initialization finished");

This prints something like 10:25:43.841 Page initialization finished to the console and sets a marker within the Net Panel's Timeline.

See also