I use boomerang.js for monitoring web site performance for my real users for my site. http://lognormal.github.io/boomerang/doc/
It has a RTPlugin http://lognormal.github.io/boomerang/doc/api/RT.html which measures timeDone (perceived page load time ).
There is also navigationg timing api that boomerang supports for browsers that support navigation timing. Using navigation timing we can calculate page load time using:
totalTime = loadEventEnd - NavigationStart
https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html#processing-model
totalTime and timeDone are different numbers when I look at the data more closely and timeDone is always more than totalTime
My questions are
- Which one of the two is a right metric for finding out when the page is loaded ?
- What does RT plugin do more than what navigation timing captures ?
- When should we use which metric and why ?
Thanks Kunal