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

Issue 23902027: telemetry: Make trace profiler work with trace-based benchmarks. (Closed)

Created:
7 years, 3 months ago by ernstm
Modified:
7 years, 3 months ago
Reviewers:
teravest, ernstm1, tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Made trace profiler work with trace-based benchmarks. R=tonyg BUG=282712 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223330

Patch Set 1 #

Total comments: 1

Patch Set 2 : Tracking nesting calls on Start/StopTracing. #

Total comments: 6

Patch Set 3 : Changes suggested by tonyg@ #

Total comments: 1

Patch Set 4 : Add subset test for category filters. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -40 lines) Patch
M tools/perf/measurements/rasterize_and_record.py View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M tools/perf/measurements/smoothness.py View 1 2 4 chunks +5 lines, -6 lines 0 comments Download
M tools/perf/metrics/timeline.py View 1 2 chunks +1 line, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/browser_backend.py View 1 1 chunk +0 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py View 1 1 chunk +3 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py View 1 2 3 3 chunks +108 lines, -11 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/tracing_backend_unittest.py View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/browser.py View 1 1 chunk +0 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py View 1 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
ernstm
7 years, 3 months ago (2013-09-11 21:06:18 UTC) #1
tonyg
https://codereview.chromium.org/23902027/diff/1/tools/perf/measurements/rasterize_and_record.py File tools/perf/measurements/rasterize_and_record.py (right): https://codereview.chromium.org/23902027/diff/1/tools/perf/measurements/rasterize_and_record.py#newcode154 tools/perf/measurements/rasterize_and_record.py:154: if self.options.profiler != 'trace': Making this Measurement aware of ...
7 years, 3 months ago (2013-09-11 21:31:44 UTC) #2
ernstm
Here is a new implementation that tracks the nesting depth of calls to Start/StopTracing. The ...
7 years, 3 months ago (2013-09-12 00:12:10 UTC) #3
tonyg
Just some minor remaining questions. I really like your new approach. https://codereview.chromium.org/23902027/diff/6001/tools/perf/measurements/rasterize_and_record.py File tools/perf/measurements/rasterize_and_record.py (right): ...
7 years, 3 months ago (2013-09-12 00:49:54 UTC) #4
ernstm
https://codereview.chromium.org/23902027/diff/6001/tools/perf/measurements/rasterize_and_record.py File tools/perf/measurements/rasterize_and_record.py (right): https://codereview.chromium.org/23902027/diff/6001/tools/perf/measurements/rasterize_and_record.py#newcode169 tools/perf/measurements/rasterize_and_record.py:169: timeline = tab.browser.StopTracing().AsTimelineModel() On 2013/09/12 00:49:55, tonyg wrote: > ...
7 years, 3 months ago (2013-09-12 18:06:07 UTC) #5
ernstm
Tony, did you get a chance to look at the latest changes in this CL?
7 years, 3 months ago (2013-09-13 18:13:38 UTC) #6
tonyg
Oops, thanks for the ping. Just one more comment, else lg https://codereview.chromium.org/23902027/diff/12001/tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py File tools/telemetry/telemetry/core/backends/chrome/tracing_backend.py (right): ...
7 years, 3 months ago (2013-09-13 18:16:04 UTC) #7
ernstm
Given the way the filters are designed, it is not possible to determine with certainty ...
7 years, 3 months ago (2013-09-13 20:29:54 UTC) #8
ernstm
The test in patch set #4 works for category filters that don't contain wildcards. It ...
7 years, 3 months ago (2013-09-13 22:55:26 UTC) #9
tonyg
lgtm
7 years, 3 months ago (2013-09-16 03:20:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/23902027/19001
7 years, 3 months ago (2013-09-16 05:43:34 UTC) #11
commit-bot: I haz the power
Change committed as 223330
7 years, 3 months ago (2013-09-16 11:49:47 UTC) #12
tonyg
Looks like this broke the smoothness_measurement on all the bots with the reference builds. I ...
7 years, 3 months ago (2013-09-16 18:07:12 UTC) #13
teravest
This is probably related to this 8.3% regression. https://chromeperf.appspot.com/report?masters=ChromiumPerf&bots=chromium-rel-win7-gpu-nvidia&tests=smoothness_measurement%2Fmean_frame_time&rev=223232&checked=mean_frame_time%2Cref Is there a bug open for ...
7 years, 3 months ago (2013-09-16 18:44:02 UTC) #14
ernstm1
I think there is a trivial fix: adding back the 'webkit' category should solve the ...
7 years, 3 months ago (2013-09-16 19:31:12 UTC) #15
ernstm
On 2013/09/16 18:44:02, teravest wrote: > This is probably related to this 8.3% regression. > ...
7 years, 3 months ago (2013-09-16 19:35:39 UTC) #16
nduca
7 years, 3 months ago (2013-09-17 19:25:18 UTC) #17
Message was sent while issue was closed.
Belatedly, this is a really nice patch. Really nicely done!

Powered by Google App Engine
This is Rietveld 408576698