measure page rendering time on IE 6 or FF 3.x

2019-07-15 12:11发布

I have a page constructed using Dojo and I need to measure how long the page takes to complete rendering on my browser (NOT time-to-first-byte, or time-to-last-byte).

In other words, the page (all bytes) might get downloaded to my broswer but the components I'm using (eg. calendar, grid etc) might still initialize and render long after the complete page has been downloaded.

Are there any tools that would allow me to measure when the page and all its components have completely rendered, reliably?

5条回答
可以哭但决不认输i
2楼-- · 2019-07-15 12:36

YSlow will help you with Firebug and as previously mentioned dynaTrace is your best bet for IE.

查看更多
Bombasti
3楼-- · 2019-07-15 12:37

I've found that "Page Speed" for Firefox is a great plugin, and dynaTrace is definitely the best if IE6 is required.

查看更多
做个烂人
4楼-- · 2019-07-15 12:49

Can you just do a dojo.connect to a method like postCreate on one of your widgets and get a timestamp?

dojo.connect(dijit.byId("myCalendar"), "postCreate", function(){ console.log(new Date() - start); });

where 'start' is a global declared in a SCRIPT block in HEAD?

-Adam

查看更多
Luminary・发光体
5楼-- · 2019-07-15 12:50

Firebug's profiler & net tab can be helpful. Chrome has similar functionality in their developer tools.

For Internet Explorer you could use dynaTrace.

查看更多
虎瘦雄心在
6楼-- · 2019-07-15 12:53

For render times in Firefox try Google Page Speed.

EDIT: in Chrome try the new Google Speed Tracer (Chrome 4 and up), it's amazing

查看更多
登录 后发表回答