Re: firebug says 1.89 second page load but it actually takes 7 seconds for the page to finally render

35 views
Skip to first unread message

Sebastian Zartner

unread,
Jul 27, 2012, 5:49:02 AM7/27/12
to fir...@googlegroups.com
I assume these 7 seconds mean the time when your JavaScript finished executing?
To measure the time it needs to execute the script you can use the profiler or surround your script by console.time()/console.timeEnd().

CSS is another thing. Read here:
Sebastian

Jan Honza Odvarko

unread,
Jul 31, 2012, 3:50:53 AM7/31/12
to Firebug
You can also try console.timeStamp() API - in order to see the log on
the Net panel timeline.
(and so you can compare with other Net panel events)

http://www.softwareishard.com/blog/firebug/firebug-1-8-console-timestamp/

Honza

On Jul 27, 11:49 am, Sebastian Zartner <sebastianzart...@gmail.com>
wrote:
> I assume these 7 seconds mean the time when your JavaScript finished
> executing?
> To measure the time it needs to execute the script you can use the profiler<https://getfirebug.com/wiki/index.php/Profiler#CPU_profiling>or surround your script by
> console.time()<https://getfirebug.com/wiki/index.php/Console_API#console.time.28name.29>/console.timeEnd()<https://getfirebug.com/wiki/index.php/Console_API#console.timeEnd.28n...>
> .
>
> CSS is another thing. Read here:
>
>    -
>    http://stackoverflow.com/questions/2635814/javascript-capturing-load-...
>    -http://www.phpied.com/when-is-a-stylesheet-really-loaded/
>    -
>    http://www.backalleycoder.com/2011/03/20/link-tag-css-stylesheet-load...
>
> Sebastian
Reply all
Reply to author
Forward
0 new messages