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

Issue 10825025: Make it easy to use Web Page Replay with non-page_cycler tests. (Closed)

Created:
8 years, 5 months ago by slamm_google
Modified:
8 years, 4 months ago
CC:
chromium-reviews, dennis_jeffrey, anantha, dyu1, Nirnimesh, tonyg
Visibility:
Public.

Description

Make it easy to use Web Page Replay with non-page_cycler tests. BUG= TEST= NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148828

Patch Set 1 #

Patch Set 2 : Minimize CL diff. Fix errors. Remove dead code. #

Patch Set 3 : few more tweaks #

Patch Set 4 : minimize CL diff #

Total comments: 2

Patch Set 5 : Fold PerfReplayServer into ReplayServer. Add FormatChromiumPath (was ChromiumPaths class) #

Patch Set 6 : Make replay_options the first optional arg. #

Patch Set 7 : Rename PageCyclerWebPageReplay to shorter PageCyclerReplay. #

Total comments: 16

Patch Set 8 : Fixes for review comments. #

Total comments: 1

Patch Set 9 : Move FormatChromiumPath to perf.py #

Patch Set 10 : Fix webpagereplay.__enter__ (needed to "return self"). #

Total comments: 6

Patch Set 11 : Apply Dennis' suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -91 lines) Patch
M chrome/test/functional/perf.py View 1 2 3 4 5 6 7 8 9 10 8 chunks +42 lines, -55 lines 0 comments Download
M chrome/test/functional/webpagereplay.py View 1 2 3 4 5 6 7 8 9 10 5 chunks +76 lines, -36 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
slamm_google
Hi Fang, Here are the changes I had in mind for your other change (https://chromiumcodereview.appspot.com/10803002/). ...
8 years, 5 months ago (2012-07-26 00:30:24 UTC) #1
fdeng1
Hi Steve, Thanks for working on this. I like your restructure and I feel it ...
8 years, 5 months ago (2012-07-26 07:27:10 UTC) #2
slamm_google
https://chromiumcodereview.appspot.com/10825025/diff/5001/chrome/test/functional/perf.py File chrome/test/functional/perf.py (right): https://chromiumcodereview.appspot.com/10825025/diff/5001/chrome/test/functional/perf.py#newcode2214 chrome/test/functional/perf.py:2214: return webpagereplay.PerfReplayServer(archive_path) The latest CL folds PerfReplayServer into ReplayServer. ...
8 years, 5 months ago (2012-07-26 18:22:55 UTC) #3
fdeng1
Hi Steve, The current structure looks good to me. I am trying to patch your ...
8 years, 5 months ago (2012-07-26 20:51:19 UTC) #4
fdeng1
https://chromiumcodereview.appspot.com/10825025/diff/3002/chrome/test/functional/webpagereplay.py File chrome/test/functional/webpagereplay.py (right): https://chromiumcodereview.appspot.com/10825025/diff/3002/chrome/test/functional/webpagereplay.py#newcode94 chrome/test/functional/webpagereplay.py:94: replay_options.append('--record') sorry, should be self.replay_options.append(...) On 2012/07/26 20:51:19, fdeng1 ...
8 years, 5 months ago (2012-07-26 20:52:51 UTC) #5
slamm_google
Thanks for the comments. I uploaded fixes. BTW, I am going to be out Friday ...
8 years, 5 months ago (2012-07-26 23:46:59 UTC) #6
fdeng1
Hi Steve, Thanks for letting me know. This Cl looks good to me now, except ...
8 years, 5 months ago (2012-07-27 00:45:10 UTC) #7
fdeng1
Hi Steve, It seems that "return self" needs to be added at the end of ...
8 years, 5 months ago (2012-07-27 01:41:56 UTC) #8
slamm_google
PTAL. I think this is ready to go.
8 years, 4 months ago (2012-07-27 21:46:53 UTC) #9
dennis_jeffrey
LGTM with a few nits to consider. Thank you! https://chromiumcodereview.appspot.com/10825025/diff/12005/chrome/test/functional/perf.py File chrome/test/functional/perf.py (right): https://chromiumcodereview.appspot.com/10825025/diff/12005/chrome/test/functional/perf.py#newcode58 chrome/test/functional/perf.py:58: ...
8 years, 4 months ago (2012-07-27 21:46:56 UTC) #10
slamm_google
Thanks for the suggestions. https://chromiumcodereview.appspot.com/10825025/diff/12005/chrome/test/functional/perf.py File chrome/test/functional/perf.py (right): https://chromiumcodereview.appspot.com/10825025/diff/12005/chrome/test/functional/perf.py#newcode58 chrome/test/functional/perf.py:58: _BASE_DIR = os.path.abspath(os.path.join( On 2012/07/27 ...
8 years, 4 months ago (2012-07-27 21:54:31 UTC) #11
dennis_jeffrey
Still LGTM. Thanks for addressing the nits.
8 years, 4 months ago (2012-07-27 21:57:54 UTC) #12
fdeng1
On 2012/07/27 21:54:31, slamm wrote: > Thanks for the suggestions. > > https://chromiumcodereview.appspot.com/10825025/diff/12005/chrome/test/functional/perf.py > File ...
8 years, 4 months ago (2012-07-27 21:58:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/slamm@google.com/10825025/12006
8 years, 4 months ago (2012-07-27 21:59:17 UTC) #14
commit-bot: I haz the power
Presubmit check for 10825025-12006 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-07-27 21:59:22 UTC) #15
slamm_google
8 years, 4 months ago (2012-07-27 22:02:54 UTC) #16
Nirnimesh
rubberstamp LGTM
8 years, 4 months ago (2012-07-27 22:03:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/slamm@google.com/10825025/12006
8 years, 4 months ago (2012-07-27 22:04:28 UTC) #18
commit-bot: I haz the power
8 years, 4 months ago (2012-07-27 22:09:31 UTC) #19
Change committed as 148828

Powered by Google App Engine
This is Rietveld 408576698