Console.timeStamp

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
m (Added categories)
(See also)
 
Line 19: Line 19:
== See also ==
== See also ==
* [[Console API]]
* [[Console API]]
 +
* [http://www.softwareishard.com/blog/firebug/firebug-1-8-console-timestamp/| Honza's blog post]
 +
[[Category:Firebug]]
[[Category:Firebug]]
[[Category:UI]]
[[Category:UI]]
[[Category:API]]
[[Category:API]]

Latest revision as of 08:27, 8 May 2014

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

Contents

[edit] Syntax

console.timeStamp(name)

[edit] Parameters

[edit] name

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

[edit] 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.

[edit] See also

Personal tools