Add UMA for per-frame outstanding resource requests

Desktop / Chromium - Kunihiko Sakamoto [chromium.org] - 14 July 2017 07:02 EDT

This adds UMA to track the peak number of requests with "running" state in ResourceLoadScheduler. The value is reported when the frame is reached the network 2-quiet state.

Bug: 729951 Change-Id: I6d2c6f5f5094a0a8071904484cb10d14de087e7c Reviewed-on: https://chromium-review.googlesource.com/564872

b78c75b Add UMA for per-frame outstanding resource requests
.../Source/core/loader/FrameFetchContext.cpp | 6 +-
.../Source/core/loader/NetworkQuietDetector.cpp | 14 +++--
.../Source/platform/loader/fetch/ResourceFetcher.h | 2 +
.../loader/fetch/ResourceLoadScheduler.cpp | 65 ++++++++++++++++++++++
.../platform/loader/fetch/ResourceLoadScheduler.h | 13 +++++
tools/metrics/histograms/histograms.xml | 23 ++++++++
6 files changed, 114 insertions(+), 9 deletions(-)

Upstream: git.chromium.org


  • Share