I have used the solution given in Measure the render time of a JSF view after a server request, to override the phases of primefaces and when my render phase ends, System.currentTimeMillis()
shows value 1454506208193
and in my javascript file new Date.getTime()
on jQuery(document).ready
gives value 1454506233981
the difference is almost 25 secs. I just want to know, are there any other phases between render phase and elements appearing on UI, that might be taking this much of my time.
Edit : Attaching image : NETWORK IMAGE