MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Where does WPT determine LoadTime and SpeedIndex?
Current time: 04-07-2020, 02:18 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where does WPT determine LoadTime and SpeedIndex?
11-07-2014, 04:45 AM
Post: #1
Where does WPT determine LoadTime and SpeedIndex?
I've been playing around with WPT private agents for some time now. It is an amazing tool.

Now, I am looking at WPT to implement a simple test for Mobile devices (Android & iOS). I am interested in SpeedIndex by Video, SpeedIndex by Paint events and LoadTime. I am not particularly interested in the waterfall, content and optimization functionality.

Ideally I would like to have this as a standalone test (no WPT server/agent separation) - so it can be used in our continuous integration tooling.

I am looking into the nodejs mobile agent and the server php code. It is not entirely clear to me how and where the three metrics I am looking for are generated. I already have a simple page cycler implemented that is capable of grabbing devtools messages from the various devices. The cycler can also initiate video capture on these devices.

Where in the code do I look for calculation of LoadTime, SpeedIndex and SpeedIndex via paint events? Which devtools messages I need to grab for these to work?

I can't seem to find these calculations in the nodejs agent, so I assume this is part of the server code. Can the server side PHP scripts be feasibly run isolated on a local machine?

Thanks a ton!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Where does WPT determine LoadTime and SpeedIndex? - sidbala - 11-07-2014 04:45 AM

Forum Jump:


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