Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: tools/telemetry/telemetry/core/browser.py

Issue 671713004: [telemetry] Disable measuring renderer CPU usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Something Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/browser.py
diff --git a/tools/telemetry/telemetry/core/browser.py b/tools/telemetry/telemetry/core/browser.py
index 600e26c96156389443e1ec3964eb1092f6fa6c78..dee8f5b4be4c75511129fc2982b2520e822a2bf2 100644
--- a/tools/telemetry/telemetry/core/browser.py
+++ b/tools/telemetry/telemetry/core/browser.py
@@ -215,6 +215,11 @@ class Browser(object):
result = self._GetStatsCommon(self._platform_backend.GetCpuStats)
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.
cpu_timestamp = self._platform_backend.GetCpuTimestamp()
for process_type in result:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698