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

Issue 14024008: Update GraphingPageCyclerLogProcessor to work with updated Telemetry pagecyclers (Closed)

Created:
7 years, 8 months ago by tonyg
Modified:
7 years, 8 months ago
CC:
chromium-reviews, xusydoc+watch_chromium.org, cmp-cc_chromium.org, ilevy+cc_chromium.org, kjellander+cc_chromium.org, dtu, jochen (gone - plz use gerrit)
Visibility:
Public.

Description

Update GraphingPageCyclerLogProcessor to work with updated Telemetry pagecyclers The GraphingPageCyclerLogProcessor previously expected that any array in perf results would be in the form: [<url1_iter1>, <url2_iter1>, <url1_iter2>, <url2_iter2>, ...] The updated Telemetry page cyclers will continue to output the overall results that way, but will also output results by URL. For example: url1: [<iter1>, <iter2>, ...] url2: [<iter1>, <iter2>, ...] This patch causes the processor to process the by-url results in the same way as other perf results instead of in the page cycler specific manner. This fixes a bug which caused the process to fail with the following error when the page cycler update was submitted the first time: KeyError: 'blog.chromium.org' The new unittest data in this patch was taken from an actual run of the updated page cyclers and includes the by-url traces. Without this patch, it fails in the same way mentioned above. BUG=None TEST=./process_log_test.py && ./runtest_annotator_test.py Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194202

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -0 lines) Patch
M scripts/master/log_parser/process_log.py View 1 chunk +9 lines, -0 lines 0 comments Download
A scripts/master/unittests/data/page_cycler.log View 1 chunk +99 lines, -0 lines 0 comments Download
M scripts/master/unittests/process_log_test.py View 1 chunk +7 lines, -0 lines 0 comments Download
M scripts/slave/process_log_utils.py View 1 chunk +9 lines, -0 lines 0 comments Download
A scripts/slave/unittests/data/page_cycler.log View 1 1 chunk +99 lines, -0 lines 0 comments Download
M scripts/slave/unittests/runtest_annotator_test.py View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tonyg
7 years, 8 months ago (2013-04-11 23:26:22 UTC) #1
tonyg
Marja, Mike suggested I have you review this since you touched performance log processing most ...
7 years, 8 months ago (2013-04-12 19:16:10 UTC) #2
Mike Stip (use stip instead)
Tony, can you add a similar unit test in scripts/slave/unittests/runtest_annotator_test.py? Other than that lg2m.
7 years, 8 months ago (2013-04-12 19:19:38 UTC) #3
tonyg
On 2013/04/12 19:19:38, Mike Stipicevic wrote: > Tony, can you add a similar unit test ...
7 years, 8 months ago (2013-04-12 21:11:00 UTC) #4
Mike Stip (use stip instead)
On 2013/04/12 21:11:00, tonyg wrote: > Also, a question for you. Once this land, do ...
7 years, 8 months ago (2013-04-12 21:15:52 UTC) #5
tonyg
On 2013/04/12 21:15:52, Mike Stipicevic wrote: > On 2013/04/12 21:11:00, tonyg wrote: > > Also, ...
7 years, 8 months ago (2013-04-12 21:25:14 UTC) #6
marja
lgtm Are "<iter1>, <iter2>, ..." the times for each individual iterations when we repeatedly do ...
7 years, 8 months ago (2013-04-15 09:09:26 UTC) #7
tonyg
On 2013/04/15 09:09:26, marja wrote: > lgtm > > Are "<iter1>, <iter2>, ..." the times ...
7 years, 8 months ago (2013-04-15 16:27:43 UTC) #8
Mike Stip (use stip instead)
lgtm
7 years, 8 months ago (2013-04-15 18:22:11 UTC) #9
tonyg
7 years, 8 months ago (2013-04-15 18:25:20 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 manually as r194202 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698