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

Issue 148613014: CC: Add 'cc-benchmark' traces for minimal tracing in benchmarks. (Closed)

Created:
6 years, 10 months ago by epenner
Modified:
6 years, 10 months ago
CC:
chromium-reviews, chrome-speed-team+watch_google.com, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

CC: Add 'cc-benchmark' traces for minimal tracing in benchmarks. We use the swap-buffers for normalizing in benchmarks, so this is the only trace labelled for now. TBR=nduca BUG=342635 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251441

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Use two categories #

Patch Set 4 : Minimum overhead toplevel tracing. #

Total comments: 1

Patch Set 5 : Reduce to cc-benchmark traces. #

Patch Set 6 : Benchmark #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M cc/output/delegating_renderer.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/output/software_renderer.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
epenner
Ptal. It's basically a one-liner, but we need a "SwapBuffers" trace to normalize by frames ...
6 years, 10 months ago (2014-02-11 07:15:46 UTC) #1
epenner
https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc#newcode125 cc/output/delegating_renderer.cc:125: TRACE_EVENT0("toplevel", "DelegatingRenderer::SwapBuffers"); This is obviously a hack to indicate ...
6 years, 10 months ago (2014-02-11 20:10:44 UTC) #2
danakj
https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc#newcode125 cc/output/delegating_renderer.cc:125: TRACE_EVENT0("toplevel", "DelegatingRenderer::SwapBuffers"); On 2014/02/11 20:10:44, epenner wrote: > This ...
6 years, 10 months ago (2014-02-11 20:12:22 UTC) #3
epennerAtGoogle
On 2014/02/11 20:12:22, danakj wrote: > https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc > File cc/output/delegating_renderer.cc (right): > > https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc#newcode125 > ...
6 years, 10 months ago (2014-02-11 20:20:21 UTC) #4
danakj
https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/148613014/diff/30001/cc/output/delegating_renderer.cc#newcode125 cc/output/delegating_renderer.cc:125: TRACE_EVENT0("toplevel", "DelegatingRenderer::SwapBuffers"); On 2014/02/11 20:12:23, danakj wrote: > On ...
6 years, 10 months ago (2014-02-11 20:23:19 UTC) #5
epennerAtGoogle
> > Why does changing the category help? > > Can you stick it in ...
6 years, 10 months ago (2014-02-11 20:25:16 UTC) #6
danakj
On Tue, Feb 11, 2014 at 3:25 PM, <epenner@google.com> wrote: > > Why does changing ...
6 years, 10 months ago (2014-02-11 20:26:41 UTC) #7
epennerAtGoogle
> > Can you stick it in 2 categories then? cc,cc-benchmark or something? I > ...
6 years, 10 months ago (2014-02-11 20:32:02 UTC) #8
enne (OOO)
+1 to two categories
6 years, 10 months ago (2014-02-11 20:32:14 UTC) #9
danakj
On Tue, Feb 11, 2014 at 3:32 PM, <epenner@google.com> wrote: > > Can you stick ...
6 years, 10 months ago (2014-02-11 20:45:38 UTC) #10
epennerAtGoogle
OH! Can a single trace have two categories? Sorry I'm so slow to catch on ...
6 years, 10 months ago (2014-02-11 20:48:27 UTC) #11
epennerAtGoogle
On 2014/02/11 20:48:27, epennerAtGoogle wrote: > OH! Can a single trace have two categories? Sorry ...
6 years, 10 months ago (2014-02-11 20:52:20 UTC) #12
epennerAtGoogle
Found one! Need to brush off my regex skills but looks like we can just ...
6 years, 10 months ago (2014-02-11 20:58:25 UTC) #13
epenner
Ptal. https://codereview.chromium.org/148613014/diff/210001/base/message_loop/message_loop.cc File base/message_loop/message_loop.cc (right): https://codereview.chromium.org/148613014/diff/210001/base/message_loop/message_loop.cc#newcode417 base/message_loop/message_loop.cc:417: // semi-regular tasks (for sufficient measurement granularity). This ...
6 years, 10 months ago (2014-02-12 02:02:15 UTC) #14
nduca
i've lost track of this patch tbh. um, can we split off the bit about ...
6 years, 10 months ago (2014-02-12 03:39:57 UTC) #15
epennerAtGoogle
On 2014/02/12 03:39:57, nduca wrote: > i've lost track of this patch tbh. um, can ...
6 years, 10 months ago (2014-02-12 04:22:20 UTC) #16
epenner
ptal Back to basics with the three liner to report only SwapBuffers traces.
6 years, 10 months ago (2014-02-13 05:58:39 UTC) #17
epenner
On 2014/02/13 05:58:39, epenner wrote: > ptal > > Back to basics with the three ...
6 years, 10 months ago (2014-02-14 03:27:58 UTC) #18
epenner
The CQ bit was checked by epenner@chromium.org
6 years, 10 months ago (2014-02-14 03:28:03 UTC) #19
epenner
The CQ bit was unchecked by epenner@chromium.org
6 years, 10 months ago (2014-02-14 03:28:36 UTC) #20
epenner
The CQ bit was checked by epenner@chromium.org
6 years, 10 months ago (2014-02-14 03:28:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/148613014/270001
6 years, 10 months ago (2014-02-14 03:30:34 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 06:32:10 UTC) #23
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=202043
6 years, 10 months ago (2014-02-14 06:32:10 UTC) #24
ernstm
We already have a 'benchmark' category that was added for the same reason. It is ...
6 years, 10 months ago (2014-02-14 22:15:06 UTC) #25
epennerAtGoogle
On 2014/02/14 22:15:06, ernstm wrote: > We already have a 'benchmark' category that was added ...
6 years, 10 months ago (2014-02-14 22:24:30 UTC) #26
epennerAtGoogle
On 2014/02/14 22:24:30, epennerAtGoogle wrote: > On 2014/02/14 22:15:06, ernstm wrote: > > We already ...
6 years, 10 months ago (2014-02-14 22:25:24 UTC) #27
danakj
On Fri, Feb 14, 2014 at 5:24 PM, <epenner@google.com> wrote: > On 2014/02/14 22:15:06, ernstm ...
6 years, 10 months ago (2014-02-14 22:27:26 UTC) #28
epennerAtGoogle
> > I do want to minimize times in this case but I'll look at ...
6 years, 10 months ago (2014-02-14 22:31:47 UTC) #29
epenner
The CQ bit was checked by epenner@chromium.org
6 years, 10 months ago (2014-02-14 22:32:32 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/148613014/630001
6 years, 10 months ago (2014-02-14 22:34:25 UTC) #31
commit-bot: I haz the power
6 years, 10 months ago (2014-02-14 23:56:24 UTC) #32
Message was sent while issue was closed.
Change committed as 251441

Powered by Google App Engine
This is Rietveld 408576698