Console.timeStamp

From FirebugWiki
Revision as of 00:27, 8 May 2014 by Honza (Talk | contribs) (See also)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Syntax[edit]

console.timeStamp(name)

Parameters[edit]

name[edit]

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

Examples[edit]

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