Current time: 08-19-2019, 01:01 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
markUserTime
09-04-2014, 11:50 PM
Post: #1
markUserTime
Hi all

I'm looking at using the markUserTime function added to WPT, and have read the notes at http://blog.patrickmeenan.com/2013/07/me...ence.html.

I thought of looking at a website that already has this implemented so I could run a test on the webpagetest.org.uk site and see the results before I start implementing it myself. I found that vestatalentagency.kinja.com has a number of these in the webpage, so ran a test but the results do not show the User Time or the individual marks that I was expecting to see - http://www.webpagetest.org/result/140904...5a890b0c/.

Is there a reason why this is? It would help to know if there is more that needs doing in order to see the expected User Times in the results.

Thanks

Steve
Find all posts by this user
Quote this message in a reply
09-05-2014, 12:09 AM
Post: #2
RE: markUserTime
When you load the page manually in Chrome, try opening dev tools and put this in the console:

window.performance.getEntriesByType("mark");

If the page really instrumented anything, you would get the marks. I didn't get anything. It's also possible that they cleared them out using clearMarks() after reporting them which would prevent WPT from being able to fetch them.

FWIW, WebPagetest itself has it implemented. The more interesting pages are:

Test details page: http://www.webpagetest.org/result/140904...1/details/

Content breakdown: http://www.webpagetest.org/result/140904...1/details/
Visit this user's website Find all posts by this user
Quote this message in a reply
09-09-2014, 12:17 AM
Post: #3
RE: markUserTime
Thanks Patrick.

I had a look at the WPT home page and can see where they are added - time to give it a go on our site!

Steve
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)