Current time: 12-06-2019, 12:39 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Determining Total Image Load Time
06-02-2016, 08:02 AM (This post was last modified: 06-02-2016 08:03 AM by pthompso.)
Post: #1
Determining Total Image Load Time
Hi,

I want to calculate the total time a site spent loading images using the JSON API.

My plan is to loop through the median->firstView->requests node, isolate the images and sum the image load time from one of the metrics in there, but there are a number relating to load time. I just don't know what to use. I tried all_ms, but that actually generated a load time greater than the page load time.

Thanks.

"load_end": 947,
"ttfb_start": "854",
"ttfb_end": 947,
"download_start": 947,
"download_end": 947,
"download_ms": 0,
"all_start": "769",
"all_end": 947,
"all_ms": 178,
Find all posts by this user
Quote this message in a reply
06-02-2016, 09:38 AM
Post: #2
RE: Determining Total Image Load Time
Resources download concurrently so you can't just add up the times for individual resources. When you look at the waterfall the overlapping bars are the times, otherwise it would look like a stair-step the whole way.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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