Measure potential impact of sending frame visiblility information to the browser process |
||||
Issue descriptionIt will be very beneficial to the architecture of the browser-side scheduler to know frame visibility status (as defined by blink) in the browser process to make all decisions about throttling in the browser process. At the moment this information is generated by blink and consumed by blink. Sending it to the browser process adds some overhead. To better understand it, we need to add some metrics around total number of IPCs sent by Chrome. It is proposed to record total number of IPCs split by several categories: - GRC ipcs - Total number of IPCs (old-style and mojo, we might split these two given that separate hooks are needed). Also we should record the potential number of IPCs - each time visibility is changed inside WebFrameScheduler::SetFrameVisible.
,
Dec 7 2017
,
Dec 11 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/93b9f9ceeeae60e97105de9e4cacc809b06d08ab commit 93b9f9ceeeae60e97105de9e4cacc809b06d08ab Author: Peiyong Lin <lpy@chromium.org> Date: Mon Dec 11 23:32:38 2017 [GRC] Add IPC volume report. It's very important to understand how much IPC volume GRC needs to handle. This patch adds an IPCVolumeReporter to report IPC count for frame, page and process every minute. The histogram uses a maximum count of 100 with 10 buckets. BUG= 776118 , 790680 Change-Id: Id11ffa4480f7d066f140cf6daba1dedc744e311e Reviewed-on: https://chromium-review.googlesource.com/815280 Reviewed-by: Zhen Wang <zhenw@chromium.org> Reviewed-by: Steven Holte <holte@chromium.org> Commit-Queue: lpy <lpy@chromium.org> Cr-Commit-Position: refs/heads/master@{#523249} [modify] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/services/resource_coordinator/BUILD.gn [modify] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/services/resource_coordinator/observers/background_metrics_reporter.h [modify] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/services/resource_coordinator/observers/coordination_unit_graph_observer.h [add] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/services/resource_coordinator/observers/ipc_volume_reporter.cc [add] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/services/resource_coordinator/observers/ipc_volume_reporter.h [add] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/services/resource_coordinator/observers/ipc_volume_reporter_unittest.cc [modify] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/services/resource_coordinator/resource_coordinator_service.cc [modify] https://crrev.com/93b9f9ceeeae60e97105de9e4cacc809b06d08ab/tools/metrics/histograms/histograms.xml
,
Dec 19 2017
reassign to altimin@.
,
Aug 15
We've looked into the data and concluded that we can send the frame visibility to the browser process without any significant regressions. |
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Dec 6 2017