frenchie
frenchie

Reputation: 51997

latency measurement in Chrome network tab

I'm running my app on my local machine and I'm making ajax requests from Chrome. When I make a request, I see that the network tab shows 2 numbers in the Time column.

enter image description here

How should I interpret these numbers? The app is making a database call and then processes the data before sending it to the client. On the first row, it shows 133/106; does this mean that once the requests hits the local machine it only takes 27ms to process on the server?

Thanks.

Upvotes: 13

Views: 7389

Answers (2)

mastercoder
mastercoder

Reputation: 136

Have a look at chrome network tab timeline view.

Waiting is time spent waiting for initial response from server. Receiving is time spent receiving the response data. So, roughly,

  • Latency = Waiting
  • Time = Waiting + Receiving

Upvotes: 3

Shuxiang
Shuxiang

Reputation: 178

Latency, the time between making the request and the server's first response, is shown in the lighter shade within each bar.

106ms is Latency. 133ms is Time. 27ms is receive data time.

Upvotes: 14

Related Questions