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

Issue 11434040: [telemetry] Number the trace .json files in trace-dir. (Closed)

Created:
8 years ago by hartmanng
Modified:
8 years ago
Reviewers:
dtu, nduca
CC:
chromium-reviews, chrome-speed-team+watch_google.com, pam+watch_chromium.org, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] Number the trace .json files in trace-dir. Currently if you reuse the same trace-dir, your previous traces will be overwritten. This will number the outputs. Particularly useful if you use the repeat flags (--page-repeat, --pageset-repeat). See if you like the idea. Also contains a minor fix to the repeat flags, which didn't convert the input value to int before trying to use it. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170676

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -6 lines) Patch
M tools/telemetry/telemetry/page_runner.py View 1 2 3 chunks +24 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
hartmanng
Please take a look
8 years ago (2012-11-29 19:50:10 UTC) #1
dtu
Can we also have one number to represent the entire run? I'm worried about getting ...
8 years ago (2012-11-30 02:03:56 UTC) #2
nduca
This may make sense with repeat count, but not sure i buy it when its ...
8 years ago (2012-11-30 02:17:07 UTC) #3
nduca
Think about the implication of this on a bot, for example.
8 years ago (2012-11-30 02:17:23 UTC) #4
nduca
I'd rather we fail if the trace dir is non-empty
8 years ago (2012-11-30 02:17:47 UTC) #5
hartmanng
On 2012/11/30 02:17:47, nduca wrote: > I'd rather we fail if the trace dir is ...
8 years ago (2012-11-30 19:51:35 UTC) #6
nduca
Thats fantastic. Dtu for the review. Its important that these things are determnistic. As long ...
8 years ago (2012-11-30 20:16:03 UTC) #7
dtu
lgtm with nit https://chromiumcodereview.appspot.com/11434040/diff/4002/tools/telemetry/telemetry/page_runner.py File tools/telemetry/telemetry/page_runner.py (right): https://chromiumcodereview.appspot.com/11434040/diff/4002/tools/telemetry/telemetry/page_runner.py#newcode175 tools/telemetry/telemetry/page_runner.py:175: trace_file = "%s_%03d.json" % (trace_file_base, trace_file_index) ...
8 years ago (2012-12-01 01:22:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/11434040/9001
8 years ago (2012-12-01 18:16:23 UTC) #9
commit-bot: I haz the power
8 years ago (2012-12-01 20:26:45 UTC) #10
Message was sent while issue was closed.
Change committed as 170676

Powered by Google App Engine
This is Rietveld 408576698