1

I'm testing out the Google Chrome Speed Tracer on a few common web pages and taking a look through the results. One thing I'm not sure I understand is what the "Request Timing" and "Response Timing" properties of resources are actually measuring.

Initially I thought Request Timing must measure the time from a request for a resource being sent and when that request arrived at the server. However, I then wondered how the Speed Tracer would actually have any way of measuring this. Furthermore, the Response Timing that I'm getting for resources tends to be far less than the Request Timing (e.g. 500ms request, 1ms response), which is a little bit suss.

So is anyone able to explain exactly what Request Timing and Response Timing are measuring?

2 Answers 2

2

The Request Timing is how long the request took before data began to be received from the server. Response Timing is how long that data took to be sent back to the client until completion.

2

I've fooled around with Speed Tracer and my GWT application until I had an idea of what these times could mean (Google doesn't seem to love writing documentation, so I can only guess). My interpretation:

Request Timing: Transfer and processing (server-side) of the request

Response Timing: Transfer and processing (client-side) of the response

The request timing includes everything that happens on the server and the response timing everything that happens on the client, including XmlHttpRequest callback code (as well as object serialization in the case of GWT).

Hope that helps.

2
  • So Request Timing starts the moment a request is issued from the client's browser and stops the moment the last bit of the response is received back at the client from the server? And Response Timing starts the moment the last bit of the response is received at the client browser and stops the moment the client browser has processed and rendered the response locally? I can see this being consistent with the numbers I'm getting... Pity there's no real documented definition. Commented Aug 5, 2010 at 9:13
  • Yeah, that's sad. But I did a fair bit of testing on that assumption and there's not much room for doubt.
    – fhd
    Commented Aug 6, 2010 at 9:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.