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

Issue 2442453003: cc: Add back a benchmark category trace for counting renderer frames (Closed)

Created:
4 years, 2 months ago by danakj
Modified:
4 years, 2 months ago
Reviewers:
sullivan, dtu, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, piman, telemetry-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Add back a benchmark category trace for counting renderer frames When deleting DelegatingRenderer::SwapBuffers I failed to notice that the TRACE_EVENT in there had the benchmark category. This category is used by perf tests, and without that event they had no way to count the number of renderer frames produced. This adds benchmark to the DrawLayers trace event in LayerTreeHostImpl instead and points the perf tests at that. Also removes the benchmark category from the GLRenderer and SoftwareRenderer classes as they are never used in the renderer and are not used for perf tests (tools/ no longer refers to the name "SwapBuffers" for perf tests). R=enne@chromium.org TBR=dtu BUG=656947 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/7607802c76a4a0b826d22807213e981025ec734b Cr-Commit-Position: refs/heads/master@{#426952}

Patch Set 1 #

Total comments: 1

Patch Set 2 : swapbuffers-perftests: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M cc/output/gl_renderer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/software_renderer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/metrics/timeline.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (11 generated)
danakj
dtu: tools/perf enne: cc
4 years, 2 months ago (2016-10-20 22:24:06 UTC) #3
danakj
https://codereview.chromium.org/2442453003/diff/1/tools/perf/metrics/timeline.py File tools/perf/metrics/timeline.py (right): https://codereview.chromium.org/2442453003/diff/1/tools/perf/metrics/timeline.py#newcode103 tools/perf/metrics/timeline.py:103: FrameTraceName = "::DrawLayers" Should this be LayerTreeHostImpl::DrawLayers maybe? That'd ...
4 years, 2 months ago (2016-10-20 22:25:43 UTC) #4
enne (OOO)
lgtm
4 years, 2 months ago (2016-10-20 22:32:59 UTC) #7
danakj
+sullivan@chromium.org for tools/perf dtu appears unavail
4 years, 2 months ago (2016-10-21 22:03:43 UTC) #11
danakj
I can't find a perf/ OWNER and this is making bots fail to collect data. ...
4 years, 2 months ago (2016-10-21 23:28:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2442453003/20001
4 years, 2 months ago (2016-10-21 23:29:26 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-22 02:21:32 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7607802c76a4a0b826d22807213e981025ec734b Cr-Commit-Position: refs/heads/master@{#426952}
4 years, 2 months ago (2016-10-22 02:26:14 UTC) #19
sullivan
4 years, 2 months ago (2016-10-22 13:54:04 UTC) #20
Message was sent while issue was closed.
lgtm, but this may need to be disabled on the reference build until it rolls
past these changes being available in chrome stable.

Powered by Google App Engine
This is Rietveld 408576698