Have a way to send custom Event timing to WPT
|
08-07-2012, 02:12 AM
(This post was last modified: 08-07-2012 02:13 AM by braincracking.)
Post: #1
|
|||
|
|||
Have a way to send custom Event timing to WPT
Hi
as a feature suggestion, I would like to be able to measure the time to interactivity for a specific are of the code. The ultimate goal of the automation of WPT monitoring is to know how much time there is between the page starts to load and the moment the user can use the main functionality of the page (say start to read the article, press the "play" of the video and so on). Obviously WPT can not guess it, and what is closer of that today is to look at the screenshots and know by heart the interface of the site to guess when the UI of a specific page module is really usable. That would be better to have it appear in the waterfall and have numbers to monitor. Could we have a dialog between the page and WPT ? There is something already in the scripting ( https://sites.google.com/a/webpagetest.o...tForJSDone ) Code: window.webpagetest.done(); We could have something like Code: window.webpagetest.markTimer('feature1'); Do you think it's possible ? Jean-pierre VINCENT braincracking.org Fork of WPT monitor private instance : https://github.com/jpvincent/WPT-server |
|||
08-07-2012, 03:30 AM
Post: #2
|
|||
|
|||
RE: Have a way to send custom Event timing to WPT
It's possible but it might be more interesting if we add support for W3C User Timing - https://dvcs.w3.org/hg/webperf/raw-file/...rview.html
That way you would have code on your pages that worked with RUM as well. The catch is that it's not actually implemented in the browsers yet but we might be able to create a fake interface to support the browsers that haven't implemented it yet. |
|||
08-07-2012, 06:55 PM
Post: #3
|
|||
|
|||
RE: Have a way to send custom Event timing to WPT
Even better if we use a standard API !
Polyfilling that by JS injection during the WPT test is doable I guess, since you already had introduced webpagetest.done() Do you think you will do it, and if so when could it happen ? Jean-pierre VINCENT braincracking.org Fork of WPT monitor private instance : https://github.com/jpvincent/WPT-server |
|||
08-11-2012, 04:15 AM
Post: #4
|
|||
|
|||
RE: Have a way to send custom Event timing to WPT
Yes, I'd like to do it but realistically it would be quite a while before I got to it.
|
|||
08-15-2012, 06:36 AM
Post: #5
|
|||
|
|||
RE: Have a way to send custom Event timing to WPT
I can understand
can you think of any way we could measure such stuff in the meantime ? Jean-pierre VINCENT braincracking.org Fork of WPT monitor private instance : https://github.com/jpvincent/WPT-server |
|||
08-15-2012, 12:18 PM
Post: #6
|
|||
|
|||
RE: Have a way to send custom Event timing to WPT
If your are using Chrome for testing you can send console log messages and the time for each message gets recorded (console log is displayed on the screen shot page). For IE the webpagetest.status (I think that's the js command) messages are also logged the same way.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)