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

Issue 808893002: [Telemetry] Remove session_restore's use of PageTest.CanRunForPage. (Closed)

Created:
6 years ago by slamm
Modified:
5 years, 10 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove one use of PageTest.CanRunForPage. After this only the startup benchmarks will have a dependency. The goal is to remove CanRunForPage entirely. session_restore has used CanRunForPage to select one page from the typical_25. The URL is not used because the navigation action is skipped. The only reason it is there is because there is a test when setting up Web Page Replay that the archive has the URL. BUG=440101 Committed: https://crrev.com/bfe184253c64158970e3f3a7cf281c563c10b169 Cr-Commit-Position: refs/heads/master@{#317734}

Patch Set 1 #

Patch Set 2 : Drop session_restore's use of CanRunForPage. #

Total comments: 1

Patch Set 3 : Simpler approach. #

Patch Set 4 : Add UserStorySet.RemoveUserStory #

Total comments: 8

Patch Set 5 : Address comments #

Total comments: 1

Patch Set 6 : Add unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -16 lines) Patch
M tools/perf/benchmarks/session_restore.py View 1 2 3 4 5 chunks +31 lines, -4 lines 0 comments Download
M tools/perf/measurements/session_restore.py View 1 2 3 4 1 chunk +1 line, -5 lines 0 comments Download
M tools/telemetry/telemetry/user_story/user_story_set.py View 1 2 3 4 4 chunks +12 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/user_story/user_story_set_unittest.py View 1 2 3 4 5 2 chunks +30 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (10 generated)
sullivan
lgtm
6 years ago (2014-12-17 00:35:06 UTC) #2
slamm
On 2014/12/17 00:35:06, sullivan wrote: > lgtm Oops, I sent the wrong CL for review. ...
6 years ago (2014-12-17 00:45:52 UTC) #3
slamm
5 years, 11 months ago (2015-01-08 01:04:37 UTC) #6
nednguyen
https://codereview.chromium.org/808893002/diff/20001/tools/perf/benchmarks/session_restore.py File tools/perf/benchmarks/session_restore.py (right): https://codereview.chromium.org/808893002/diff/20001/tools/perf/benchmarks/session_restore.py#newcode15 tools/perf/benchmarks/session_restore.py:15: page_set = session_restore_page_set.SessionRestorePageSet I think this will lead to ...
5 years, 11 months ago (2015-01-08 01:54:14 UTC) #8
slamm
Simpler approach.
5 years, 11 months ago (2015-01-08 18:30:14 UTC) #9
slamm
Simpler approach.
5 years, 11 months ago (2015-01-08 18:30:58 UTC) #10
slamm
On 2015/01/08 18:30:58, slamm wrote: > Simpler approach. Ned, now this creates an instance of ...
5 years, 11 months ago (2015-01-09 00:22:50 UTC) #14
nednguyen
On 2015/01/09 00:22:50, slamm wrote: > On 2015/01/08 18:30:58, slamm wrote: > > Simpler approach. ...
5 years, 11 months ago (2015-01-09 00:29:13 UTC) #15
nednguyen
On 2015/01/09 00:29:13, nednguyen wrote: > On 2015/01/09 00:22:50, slamm wrote: > > On 2015/01/08 ...
5 years, 11 months ago (2015-01-09 17:10:32 UTC) #16
slamm
Add UserStorySet.RemoveUserStory
5 years, 11 months ago (2015-01-09 22:10:06 UTC) #17
qyearsley
Just taking a quick look at this CL and adding a couple optional comments about ...
5 years, 10 months ago (2015-01-28 19:39:08 UTC) #18
slamm
PTAL. https://codereview.chromium.org/808893002/diff/120001/tools/perf/benchmarks/session_restore.py File tools/perf/benchmarks/session_restore.py (right): https://codereview.chromium.org/808893002/diff/120001/tools/perf/benchmarks/session_restore.py#newcode16 tools/perf/benchmarks/session_restore.py:16: """Create a session restore test that is either ...
5 years, 10 months ago (2015-02-23 23:46:35 UTC) #19
slamm
On 2015/02/23 23:46:35, slamm wrote: > PTAL. > > https://codereview.chromium.org/808893002/diff/120001/tools/perf/benchmarks/session_restore.py > File tools/perf/benchmarks/session_restore.py (right): > ...
5 years, 10 months ago (2015-02-23 23:48:30 UTC) #20
nednguyen
https://codereview.chromium.org/808893002/diff/140001/tools/telemetry/telemetry/user_story/user_story_set.py File tools/telemetry/telemetry/user_story/user_story_set.py (right): https://codereview.chromium.org/808893002/diff/140001/tools/telemetry/telemetry/user_story/user_story_set.py#newcode73 tools/telemetry/telemetry/user_story/user_story_set.py:73: def RemoveUserStory(self, user_story): Can you add unittest coverage for ...
5 years, 10 months ago (2015-02-23 23:48:42 UTC) #22
slamm
Add unittest'
5 years, 10 months ago (2015-02-24 00:37:17 UTC) #23
slamm
I added a simple unit test.
5 years, 10 months ago (2015-02-24 00:38:12 UTC) #24
nednguyen
lgtm
5 years, 10 months ago (2015-02-24 00:43:54 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/808893002/160001
5 years, 10 months ago (2015-02-24 00:45:49 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:160001)
5 years, 10 months ago (2015-02-24 01:55:38 UTC) #29
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 01:56:56 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bfe184253c64158970e3f3a7cf281c563c10b169
Cr-Commit-Position: refs/heads/master@{#317734}

Powered by Google App Engine
This is Rietveld 408576698