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

Issue 169873002: Telemetry: Look for a page's display name when replaying it. (Closed)

Created:
6 years, 10 months ago by Dominik Grewe
Modified:
6 years, 10 months ago
Reviewers:
tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

Telemetry: Look for a page's display name when replaying it. When recording a page, we identify it by its "display name" (name if it has one, otherwise URL unless it's a file). When replaying a page, however, we always use its URL to look up the correct WPR file. So pages with names cannot be found. R=tonyg@chromium.org BUG=344380 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252052

Patch Set 1 #

Patch Set 2 : Update comments. #

Total comments: 1

Patch Set 3 : Update tests. #

Patch Set 4 : Check for URL if display_name not found. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -39 lines) Patch
M tools/telemetry/telemetry/page/page_set_archive_info.py View 1 2 3 8 chunks +29 lines, -25 lines 0 comments Download
M tools/telemetry/telemetry/page/page_set_archive_info_unittest.py View 1 2 7 chunks +19 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Dominik Grewe
PTAL https://codereview.chromium.org/169873002/diff/30001/tools/telemetry/telemetry/page/page_set_archive_info.py File tools/telemetry/telemetry/page/page_set_archive_info.py (right): https://codereview.chromium.org/169873002/diff/30001/tools/telemetry/telemetry/page/page_set_archive_info.py#newcode61 tools/telemetry/telemetry/page/page_set_archive_info.py:61: wpr_file = self._page_name_to_wpr_file.get(page.display_name, None) This is the only ...
6 years, 10 months ago (2014-02-17 18:00:38 UTC) #1
tonyg
lgtm I recommend adding a test case which demonstrates the bug.
6 years, 10 months ago (2014-02-18 00:03:08 UTC) #2
Dominik Grewe
On 2014/02/18 00:03:08, tonyg wrote: > lgtm > > I recommend adding a test case ...
6 years, 10 months ago (2014-02-18 13:09:24 UTC) #3
tonyg
lgtm
6 years, 10 months ago (2014-02-18 15:59:59 UTC) #4
Dominik Grewe
I just noticed a problem. Older page sets still use the URL instead of the ...
6 years, 10 months ago (2014-02-18 16:13:02 UTC) #5
tonyg
On 2014/02/18 16:13:02, Dominik Grewe wrote: > I just noticed a problem. Older page sets ...
6 years, 10 months ago (2014-02-18 16:36:20 UTC) #6
Dominik Grewe
On 2014/02/18 16:36:20, tonyg wrote: > On 2014/02/18 16:13:02, Dominik Grewe wrote: > > I ...
6 years, 10 months ago (2014-02-18 17:45:27 UTC) #7
tonyg
lgtm
6 years, 10 months ago (2014-02-19 00:35:59 UTC) #8
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 10 months ago (2014-02-19 10:42:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/169873002/160001
6 years, 10 months ago (2014-02-19 10:42:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/169873002/160001
6 years, 10 months ago (2014-02-19 14:56:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/169873002/160001
6 years, 10 months ago (2014-02-19 15:28:13 UTC) #12
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 19:54:09 UTC) #13
Message was sent while issue was closed.
Change committed as 252052

Powered by Google App Engine
This is Rietveld 408576698