> I'm trying to use the Navigation Timing package to measure how long a
> page takes to be rendered.

So you don't want to include all the lookups? Just the "rendering" part?

> So that would be loadEventEnd-responseEnd,
> however I am finding that loadEventEnd is always 0 for me, even though
> I am accessing it from within a window.onload function, e.g:
>
> window.onload = function() {
>     var t = performance.timing;
>     var render_time = parseInt(t['loadEventEnd']) - 
> parseInt(t['responseEnd']);
> }
>
> What do I have to wait for before loadEventEnd gets set?

Stupid question, but when does the onload event occur, before or after
loadEventEnd? Running it in a console as I type this email, it gives
me a non-zero value.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to