Forum Moderators: open

Message Too Old, No Replies

Using Google Analytics to benchmark server performance

         

elos42

8:08 am on Mar 21, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



Hi,

I hope this is the right forum (as there's none dedicated for Google Analytics).

The 'server response time' and 'server connection time' shown in GA are much much higher than should be expected.

I mean, the average page download time is only 50 to 200 ms, but the average connection time and server response time are shown as 0.5 seconds on most days.

When I test my website on Google Pagespeed Insights, it always shows as 'server respond quickly' (which means server response time was below 200 ms).

But GA shows very high values.Some of the values are as high as 2.5 seconds. There's no way that my server's taking that long to respond, unless you're trying to access it from a seriously congested network.

Some of the locations from which these high values are shown are remote and rural areas. See the actual data below

[lh3.googleusercontent.com ]

[lh3.googleusercontent.com ]


My question is, how does Google Analytics calculate 'server response time' and 'server connection time', given that by the time the GA script runs, the connection has been established and the response was already sent?

Should I be worried about such high intervals? (Google documentation says the response time etc including the time taken for the packet to traverse the network as well.)

robzilla

9:30 am on Mar 21, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Google Analytics does not calculate these values, it gathers them directly from the browser using the Navigation Timing API.

For an overview of the attributes collected, see Using Navigation Timing APIs to understand your webpage [community.akamai.com]

The sample size is pretty small for your site, so you're more likely to see highly fluctuating daily averages.

Should you be worried? I suppose that depends on how important specifically those visitors are to you.

elos42

3:47 am on Apr 18, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



Thanks Rob.