Commit 26695434 authored by ernstm@chromium.org's avatar ernstm@chromium.org

telemetry: Add webkit.console category to event category filter.

Once https://codereview.chromium.org/23848006/ has landed, we can remove the
webkit category, and leave only webkit.console.

R=nduca@chromium.org, tonyg@chromium.org
BUG=264308

Review URL: https://chromiumcodereview.appspot.com/23777006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221616 0039d316-1c4b-4281-b951-d872f2087c98
parent dd076b6d
...@@ -148,7 +148,7 @@ class RasterizeAndRecord(page_measurement.PageMeasurement): ...@@ -148,7 +148,7 @@ class RasterizeAndRecord(page_measurement.PageMeasurement):
}); });
""") """)
tab.browser.StartTracing('webkit,benchmark', 60) tab.browser.StartTracing('webkit,webkit.console,benchmark', 60)
self._metrics.Start() self._metrics.Start()
tab.ExecuteJavaScript(""" tab.ExecuteJavaScript("""
......
...@@ -35,7 +35,9 @@ class Smoothness(page_measurement.PageMeasurement): ...@@ -35,7 +35,9 @@ class Smoothness(page_measurement.PageMeasurement):
return hasattr(page, 'smoothness') return hasattr(page, 'smoothness')
def WillRunAction(self, page, tab, action): def WillRunAction(self, page, tab, action):
tab.browser.StartTracing('webkit,cc,benchmark', 60) # TODO(ernstm): remove 'webkit' category when
# https://codereview.chromium.org/23848006/ has landed.
tab.browser.StartTracing('webkit,webkit.console,cc,benchmark', 60)
if tab.browser.platform.IsRawDisplayFrameRateSupported(): if tab.browser.platform.IsRawDisplayFrameRateSupported():
tab.browser.platform.StartRawDisplayFrameRateMeasurement() tab.browser.platform.StartRawDisplayFrameRateMeasurement()
self._metrics = smoothness.SmoothnessMetrics(tab) self._metrics = smoothness.SmoothnessMetrics(tab)
......
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