summaryrefslogtreecommitdiffstats
path: root/tools/chrome_proxy/live_tests/chrome_proxy_metrics.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/chrome_proxy/live_tests/chrome_proxy_metrics.py')
-rw-r--r--tools/chrome_proxy/live_tests/chrome_proxy_metrics.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/chrome_proxy/live_tests/chrome_proxy_metrics.py b/tools/chrome_proxy/live_tests/chrome_proxy_metrics.py
index 79e4f50..e456a00 100644
--- a/tools/chrome_proxy/live_tests/chrome_proxy_metrics.py
+++ b/tools/chrome_proxy/live_tests/chrome_proxy_metrics.py
@@ -104,6 +104,16 @@ class ChromeProxyMetric(network_metrics.NetworkMetric):
results.current_page, 'request_start', 'ms', request_start,
important=False))
+ response_start = (float(response_start) - navigation_start)
+ results.AddValue(scalar.ScalarValue(
+ results.current_page, 'response_start', 'ms', response_start,
+ important=False))
+
+ response_end = (float(response_end) - navigation_start)
+ results.AddValue(scalar.ScalarValue(
+ results.current_page, 'response_end', 'ms', response_end,
+ important=False))
+
# Phase measurements in milliseconds.
domain_lookup_duration = (float(domain_lookup_end) - domain_lookup_start)
results.AddValue(scalar.ScalarValue(