WebPagetest Forums
User Timings? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: User Timings? (/showthread.php?tid=12993)



User Timings? - pdibona - 05-24-2014 04:26 AM

Hello Patrick,

I just noticed a new purple line on our private instance of WPT labeled 'User Timings'. There also is a new metric being reported in the table that shows up for the median run labeled 'User Time'. Is this sort of a 'Time-to-interactive' per se? How is this timing determined?

Thanks!

Pete


RE: User Timings? - andydavies - 05-25-2014 08:55 PM

The User Timings API (http://www.html5rocks.com/en/tutorials/webperformance/usertiming/) allows you to mark when you reach certain points on the page.

In your example above it looks like there's a windoews.performance.mark call somewhere in the page.


RE: User Timings? - pmeenan - 05-28-2014 12:36 AM

+1 to Andy's comment. Could be your code or being set by 3rd-party code that you include. If you hover over the triangle at the top of the waterfall it should hopefully tell you what the name of the event was.


RE: User Timings? - pdibona - 05-28-2014 12:51 AM

That's pretty sweet. So we literally could have multiple timings setup at various times during the page load for diagnostic/research purposes? The hover over function did work, in case you were wondering.


RE: User Timings? - pmeenan - 05-28-2014 01:27 AM

Yep: http://blog.patrickmeenan.com/2013/07/measuring-performance-of-user-experience.html

Works great for calibrating your synthetic and RUM data against each other as well. If you have multiple marks they should be called out individually and all visible (and also available in the API).


RE: User Timings? - pdibona - 05-28-2014 01:29 AM

Thanks, I thought I had read something about this, but had not found it in the WPT forums. Nice to confirm that Smile