Cycligent automatically starts timing as soon as it is loaded. You can
measure from an earlier point by adding a script tag to the top of your
HEAD section, in the initial HTML file loaded, that sets the global
variable cycligentRunningBase to the time from which you want to being
the running timer. See the example below. The example provided
measures everything but the time it takes to load the initial HTML
file. All scripts, css, etc that it loads, even in the head section,
are measured.
Type:
- Source:
Example
Setting the starting load time via cycligentRunningBase (place at the
top of your HEAD section):
<script>window.cycligentRunningBase = (new Date()).getTime();</script>