A non-transitory computer usable storage medium, embodying a program of instructions executable by the computer to perform an operation, utilizing a single response time monitor, located on a non-origin node of a public or private network, for determining a total roundtrip response time to an origin node for a web page having embedded HTML frames, the operation comprising:
- (a) receiving a first web page request from an origin node;
- (b) sending a response for the web page request, wherein the response has at least one embedded HTML frame;
- (c) receiving from the origin node at least one HTML frame request corresponding to the at least one embedded HTML frame;
- (d) sending a response for the at least one HTML frame request;
- (e) utilizing the response time monitor to build a relationship tree that associates the web page request and the at least one HTML frame request;
- (f) for the web page request and the at least one HTML frame request, using the response time monitor to detect a start time and end time of each component of a roundtrip response time of the respective request in order to calculate a duration for each of the components;
- (g) calculating and storing, by the response time monitor, roundtrip response times for the web page request and for the at least one HTML frame request by adding together the respective durations of all their respective components;
- (h) associating the stored roundtrip response times with the web page request and the at least one HTML frame request as represented in the relationship tree;
- (i) receiving a second request related to the first web page request;
- (j) sending a response to the second request, the second request corresponding to one of the requests represented in the relationship tree;
- (k) calculating, by the response time monitor, a roundtrip response time for the second request;
- (l) calculating, by the response time monitor, an associated response time for the second request, where the associated response time is the sum of the stored roundtrip response times associated with the relationship tree, except the stored roundtrip response time associated with the second request;
- and
- (m) calculating, by the response time monitor, a total roundtrip response time for the second request by adding the roundtrip response time for the second request to the associated response time for the second request.