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

Issue 1391013005: Benchmark: `--save-all-traces` argument (Closed)

Created:
5 years, 2 months ago by nellyv
Modified:
5 years, 1 month ago
Reviewers:
nelly, etiennej, qsr, ppi
CC:
mojo-reviews_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Benchmark: `--save-all-traces` argument Benchmark: Replace `--save-trace` argument by `--save-all-traces`. It outputs a .trace file per benchmark as before, but stores all traces, without filtering by the measurements defined in the benchmarks file. fixes #458 BUG= R=etiennej@chromium.org, ppi@chromium.org, qsr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/ebcc63fd341a027acd15b38924779bd63b9bc9a2

Patch Set 1 #

Patch Set 2 : merge #

Total comments: 2

Patch Set 3 : Adding --trace-all argument #

Patch Set 4 : on benchmarking: adding --trace-all argument #

Patch Set 5 : on benchmarking: adding "--trace-all" argument #

Patch Set 6 : benchmark #

Total comments: 11

Patch Set 7 : benchmark #

Patch Set 8 : benchmark #

Patch Set 9 : Benchmark #

Total comments: 4

Patch Set 10 : Benchmark #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -15 lines) Patch
M apps/benchmark/benchmark_app.cc View 1 2 3 4 5 6 7 8 9 2 chunks +22 lines, -13 lines 0 comments Download
M mojo/devtools/common/mojo_benchmark View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (8 generated)
nellyv
5 years, 2 months ago (2015-10-09 13:52:30 UTC) #2
etiennej
Adding qsr@ as a reviewer; otherwise, lgtm
5 years, 2 months ago (2015-10-09 15:24:08 UTC) #4
qsr
lgtm
5 years, 2 months ago (2015-10-09 15:45:57 UTC) #5
ppi
https://codereview.chromium.org/1391013005/diff/20001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (right): https://codereview.chromium.org/1391013005/diff/20001/apps/benchmark/benchmark_app.cc#newcode50 apps/benchmark/benchmark_app.cc:50: if (!args_.write_output_file) { I'd argue that we should record ...
5 years, 2 months ago (2015-10-12 19:30:52 UTC) #7
ppi
https://codereview.chromium.org/1391013005/diff/20001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (left): https://codereview.chromium.org/1391013005/diff/20001/apps/benchmark/benchmark_app.cc#oldcode1 apps/benchmark/benchmark_app.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 2 months ago (2015-10-12 19:32:50 UTC) #8
qsr
On 2015/10/12 19:30:52, ppi wrote: > https://codereview.chromium.org/1391013005/diff/20001/apps/benchmark/benchmark_app.cc > File apps/benchmark/benchmark_app.cc (right): > > https://codereview.chromium.org/1391013005/diff/20001/apps/benchmark/benchmark_app.cc#newcode50 > ...
5 years, 2 months ago (2015-10-13 08:26:45 UTC) #9
ppi
Consider the following scenario: one of the tracing provider impls is broken and doesn't handle ...
5 years, 2 months ago (2015-10-13 16:58:23 UTC) #10
qsr
On 2015/10/13 16:58:23, ppi wrote: > Consider the following scenario: one of the tracing provider ...
5 years, 2 months ago (2015-10-15 08:04:26 UTC) #11
etiennej
On 2015/10/15 08:04:26, qsr wrote: > On 2015/10/13 16:58:23, ppi wrote: > > Consider the ...
5 years, 1 month ago (2015-10-28 09:16:17 UTC) #12
nelly
On 2015/10/28 09:16:17, etiennej wrote: > On 2015/10/15 08:04:26, qsr wrote: > > On 2015/10/13 ...
5 years, 1 month ago (2015-10-28 09:30:40 UTC) #13
ppi
+1
5 years, 1 month ago (2015-10-28 09:34:28 UTC) #14
etiennej
On 2015/10/28 09:34:28, ppi wrote: > +1 --trace-all argument seems fine.
5 years, 1 month ago (2015-10-28 09:40:00 UTC) #15
nelly
On benchmarking: tracing all events when the "--trace-all" argument is given (ignored when not used ...
5 years, 1 month ago (2015-10-28 15:48:55 UTC) #18
etiennej
On 2015/10/28 15:48:55, nelly wrote: > On benchmarking: tracing all events when the "--trace-all" argument ...
5 years, 1 month ago (2015-10-29 09:40:47 UTC) #21
nelly
On 2015/10/29 09:40:47, etiennej wrote: > On 2015/10/28 15:48:55, nelly wrote: > > On benchmarking: ...
5 years, 1 month ago (2015-10-29 13:28:24 UTC) #22
ppi
https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (right): https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc#newcode47 apps/benchmark/benchmark_app.cc:47: // Don't compute the categories string if all categories ...
5 years, 1 month ago (2015-10-29 13:33:43 UTC) #23
etiennej
https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (right): https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc#newcode58 apps/benchmark/benchmark_app.cc:58: new TraceCollectorClient(this, trace_collector.Pass())); Beware of your whitespace.
5 years, 1 month ago (2015-10-29 13:35:51 UTC) #24
qsr
https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (right): https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc#newcode58 apps/benchmark/benchmark_app.cc:58: new TraceCollectorClient(this, trace_collector.Pass())); On 2015/10/29 13:35:51, etiennej wrote: > ...
5 years, 1 month ago (2015-10-29 13:40:49 UTC) #25
nelly
https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (right): https://codereview.chromium.org/1391013005/diff/100001/apps/benchmark/benchmark_app.cc#newcode47 apps/benchmark/benchmark_app.cc:47: // Don't compute the categories string if all categories ...
5 years, 1 month ago (2015-10-29 14:20:17 UTC) #26
nelly
After a discussion with Przemek, I've removed the `--trace-all` argument and replaced `--save-traces` with `--save ...
5 years, 1 month ago (2015-10-29 15:39:07 UTC) #27
etiennej
lgtm
5 years, 1 month ago (2015-10-29 16:01:17 UTC) #28
ppi
https://codereview.chromium.org/1391013005/diff/160001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (right): https://codereview.chromium.org/1391013005/diff/160001/apps/benchmark/benchmark_app.cc#newcode49 apps/benchmark/benchmark_app.cc:49: if (!args_.write_output_file) { nit: it's a bit weird to ...
5 years, 1 month ago (2015-10-29 16:02:09 UTC) #29
nelly
https://codereview.chromium.org/1391013005/diff/160001/apps/benchmark/benchmark_app.cc File apps/benchmark/benchmark_app.cc (right): https://codereview.chromium.org/1391013005/diff/160001/apps/benchmark/benchmark_app.cc#newcode49 apps/benchmark/benchmark_app.cc:49: if (!args_.write_output_file) { On 2015/10/29 16:02:09, ppi wrote: > ...
5 years, 1 month ago (2015-10-29 16:48:22 UTC) #30
ppi
lgtm
5 years, 1 month ago (2015-10-29 16:54:24 UTC) #31
nellyv
5 years, 1 month ago (2015-10-29 17:27:16 UTC) #33
Message was sent while issue was closed.
Committed patchset #10 (id:170001) manually as
ebcc63fd341a027acd15b38924779bd63b9bc9a2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698