Commit 65ee0192 authored by dtu's avatar dtu Committed by Commit bot

[telemetry] Disable measuring renderer CPU usage.

They're causing failures on the bots, and are incorrect anyway.

BUG=419786
TEST=None.

Review URL: https://codereview.chromium.org/671713004

Cr-Commit-Position: refs/heads/master@{#301549}
parent 854fc333
...@@ -212,6 +212,11 @@ class Browser(app.App): ...@@ -212,6 +212,11 @@ class Browser(app.App):
result = self._GetStatsCommon(self._platform_backend.GetCpuStats) result = self._GetStatsCommon(self._platform_backend.GetCpuStats)
del result['ProcessCount'] del result['ProcessCount']
# FIXME: Renderer process CPU times are impossible to compare correctly.
# http://crbug.com/419786#c11
if 'Renderer' in result:
del result['Renderer']
# We want a single time value, not the sum for all processes. # We want a single time value, not the sum for all processes.
cpu_timestamp = self._platform_backend.GetCpuTimestamp() cpu_timestamp = self._platform_backend.GetCpuTimestamp()
for process_type in result: for process_type in result:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment