views:

822

answers:

4

Hi Folks,

Is there a tool out there to measure the actual Render time of an element(s) on a page? I don't mean download time of the resources, but the actual time the browser took to render something. I know that this time would vary based on factors on the client machine, but would still be very handy in knowing what the rendering engine takes a while to load. I would imagine this should be a useful utility since web apps are becoming pretty client heavy now. Any thoughts?

+2  A: 

You can check out YSlow.

Edit: It seems to me that firebug shows the rendering time with a blue and red line in the net panel.

Zed
I looked at YSlow. It gives you an overall view of performance, load times, and cache stats, but nothing on how long a specific element took to render as far as I saw. Am i missing something?
It only makes suggestions on some DOM elements to be removed. I believe actual rendering times pretty much depend on the browser.
Zed
+1  A: 

I would suggest YSlow.

It not only measures performance times of the elements in your page but it also analyzes your page design to suggest how you can make performance improvements. It is one of the tools they used in the development of Stack Overflow.

Yahoo! YSlow

YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow is a Firefox add-on integrated with the Firebug web development tool. YSlow grades web page based on one of three predefined ruleset or a user-defined ruleset. It offers suggestions for improving the page's performance, summarizes the page's components, displays statistics about the page, and provides tools for performance analysis, including Smush.it™ and JSLint.

Robert Cartaino
How can I see the performance times of the elements on the page with YSlow? I tried looking for it, can't find it...
A: 
Havenard
Sweet man. I'll check it out. Thanks.
PS: It won't consider time needed to load linked resources, like external .CSS files or images, unless you're using mod_expire at them. Maybe you want to hook the document.body.onload too, but then the result will also vary by your connection speed and latency.
Havenard
A: 

The above method does not say anything about the time it takes to render a page. It only tells you how much time it took to execute the javascript, including the transfer of data from the javascript engine to the html parser.

CluPro