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

Issue 2127483002: [PCv2] Avoid hash navigation by inserting navigation to different URL. (Closed)

Created:
4 years, 5 months ago by kouhei (in TOK)
Modified:
4 years, 5 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[PCv2] Avoid hash navigation by inserting navigation to different URL. This CL avoids PCv2 perform hash navigation which is not handled well by page.Navigate in inspector_page.py. Suppose we have a page set: ["a.com", "g.com/#hoge"] Given this page set, PCv1 used to cycle pages as: - a.com [cold run] - g.com/#hoge [cold run] - a.com [warm run] - g.com/#hoge [warm run] However, PCv2 cycles the page set as: - a.com [cold run] - a.com [warm run] - g.com/#hoge [cold run] - g.com/#hoge [warm run] While this gives PCv2 more opportunity for more precise cache control, this invokes problematic hash navigation of "g.com/#hoge -> g.com/#hoge" which doesn't flush Blink frame. This CL workarounds the issue by inserting an navigation to "http://does.not.exist" before the second "g.com/#hoge" nav. BUG=chromium:624265 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/9f8a0a8c0d4522f4014fbdba199222d44d638730

Patch Set 1 #

Total comments: 2

Patch Set 2 : add_note #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M telemetry/telemetry/page/cache_temperature.py View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
kouhei (in TOK)
This is blocking https://codereview.chromium.org/2097303002/
4 years, 5 months ago (2016-07-05 06:51:19 UTC) #2
Kunihiko Sakamoto
lgtm
4 years, 5 months ago (2016-07-05 07:09:53 UTC) #4
nednguyen
lgtm
4 years, 5 months ago (2016-07-05 12:31:03 UTC) #5
nednguyen
https://codereview.chromium.org/2127483002/diff/1/telemetry/telemetry/page/cache_temperature.py File telemetry/telemetry/page/cache_temperature.py (right): https://codereview.chromium.org/2127483002/diff/1/telemetry/telemetry/page/cache_temperature.py#newcode75 telemetry/telemetry/page/cache_temperature.py:75: with MarkTelemetryInternal(browser, 'avoid_hash_navigation'): Should 'avoid_hash_navigation' be changed to 'avoid_duplicate_hash_navigation'? ...
4 years, 5 months ago (2016-07-05 12:34:44 UTC) #6
kouhei (in TOK)
https://codereview.chromium.org/2127483002/diff/1/telemetry/telemetry/page/cache_temperature.py File telemetry/telemetry/page/cache_temperature.py (right): https://codereview.chromium.org/2127483002/diff/1/telemetry/telemetry/page/cache_temperature.py#newcode75 telemetry/telemetry/page/cache_temperature.py:75: with MarkTelemetryInternal(browser, 'avoid_hash_navigation'): On 2016/07/05 12:34:44, nednguyen (ooo til ...
4 years, 5 months ago (2016-07-06 01:03:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127483002/20001
4 years, 5 months ago (2016-07-06 01:04:16 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 01:26:53 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698