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

Issue 14359012: Telemetry: Add option to create a dirty profile as part of a test run (Closed)

Created:
7 years, 8 months ago by jeremy
Modified:
7 years, 7 months ago
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Telemetry: Add option to create a dirty profile as part of a test run Add a dirty_small profile type, when used this creates a "small" dirty profile which is used in the subsequent test run. BUG=136664 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201293

Patch Set 1 #

Patch Set 2 : Ready for review #

Patch Set 3 : Whitespace fixes #

Total comments: 6

Patch Set 4 : Move dirty profile creation to core/profile_creators #

Patch Set 5 : Whitespace fix #

Total comments: 19

Patch Set 6 : Fix review comments #

Total comments: 25

Patch Set 7 : Fix review comments #

Patch Set 8 : Spruce up comments #

Total comments: 38

Patch Set 9 : Fix review comments #

Patch Set 10 : Fix unit tests #

Total comments: 8

Patch Set 11 : Fix review comments. #

Patch Set 12 : Fix run_gpu_tests #

Total comments: 1

Patch Set 13 : Small fix to unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -22 lines) Patch
M content/test/gpu/run_gpu_tests View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A + tools/perf/profile_creators/__init__.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A tools/perf/profile_creators/small_profile_creator.py View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -0 lines 0 comments Download
M tools/perf/run_multipage_benchmarks View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/browser_options.py View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +17 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/android_browser_finder.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/cros_browser_finder.py View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/desktop_browser_backend.py View 1 2 3 4 5 6 7 8 5 chunks +26 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py View 1 2 3 4 5 6 3 chunks +33 lines, -2 lines 0 comments Download
A tools/telemetry/telemetry/core/profile_creator.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/profile_types.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +56 lines, -1 line 0 comments Download
A tools/telemetry/telemetry/core/profile_types_unittest.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +16 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement_runner.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test_runner.py View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
jeremy
7 years, 8 months ago (2013-04-25 23:18:24 UTC) #1
nduca
https://codereview.chromium.org/14359012/diff/4001/tools/perf/perf_tools/small_profile.py File tools/perf/perf_tools/small_profile.py (right): https://codereview.chromium.org/14359012/diff/4001/tools/perf/perf_tools/small_profile.py#newcode1 tools/perf/perf_tools/small_profile.py:1: # Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 7 months ago (2013-04-26 20:09:36 UTC) #2
jeremy
Ready for another look, thanks! https://codereview.chromium.org/14359012/diff/4001/tools/telemetry/telemetry/core/browser_options.py File tools/telemetry/telemetry/core/browser_options.py (left): https://codereview.chromium.org/14359012/diff/4001/tools/telemetry/telemetry/core/browser_options.py#oldcode25 tools/telemetry/telemetry/core/browser_options.py:25: I've added code to ...
7 years, 7 months ago (2013-05-01 11:52:00 UTC) #3
nduca
https://codereview.chromium.org/14359012/diff/16001/tools/telemetry/telemetry/core/browser_options.py File tools/telemetry/telemetry/core/browser_options.py (right): https://codereview.chromium.org/14359012/diff/16001/tools/telemetry/telemetry/core/browser_options.py#newcode25 tools/telemetry/telemetry/core/browser_options.py:25: Do we let people specify the profile dir? If ...
7 years, 7 months ago (2013-05-02 05:43:34 UTC) #4
jeremy
Addressed Nat's comments, ready for another look. Tony: Please see question inline about using WPR ...
7 years, 7 months ago (2013-05-02 15:00:51 UTC) #5
dtu
https://codereview.chromium.org/14359012/diff/16001/tools/telemetry/telemetry/core/profile_creators/small_profile.py File tools/telemetry/telemetry/core/profile_creators/small_profile.py (right): https://codereview.chromium.org/14359012/diff/16001/tools/telemetry/telemetry/core/profile_creators/small_profile.py#newcode7 tools/telemetry/telemetry/core/profile_creators/small_profile.py:7: from telemetry.page import page_set telemetry.core cannot depend on telemetry.page. ...
7 years, 7 months ago (2013-05-02 18:43:05 UTC) #6
jeremy
https://codereview.chromium.org/14359012/diff/16001/tools/telemetry/telemetry/core/profile_creators/small_profile.py File tools/telemetry/telemetry/core/profile_creators/small_profile.py (right): https://codereview.chromium.org/14359012/diff/16001/tools/telemetry/telemetry/core/profile_creators/small_profile.py#newcode7 tools/telemetry/telemetry/core/profile_creators/small_profile.py:7: from telemetry.page import page_set I understand this file is ...
7 years, 7 months ago (2013-05-02 20:47:15 UTC) #7
nduca
its in the right piece, just dont use page_sets and do it by hand, i ...
7 years, 7 months ago (2013-05-03 17:58:56 UTC) #8
nduca
or we could break the core<->page rule... i mean, i dont really think its important ...
7 years, 7 months ago (2013-05-03 17:59:40 UTC) #9
dtu
On 2013/05/03 17:59:40, nduca wrote: > or we could break the core<->page rule... i mean, ...
7 years, 7 months ago (2013-05-03 19:45:58 UTC) #10
nduca
Yeah, definitely telemetry->perf is verbotten. So then this looks relatively solid as is. We just ...
7 years, 7 months ago (2013-05-03 20:03:32 UTC) #11
dtu
On 2013/05/03 20:03:32, nduca wrote: > Yeah, definitely telemetry->perf is verbotten. > > So then ...
7 years, 7 months ago (2013-05-03 21:19:21 UTC) #12
nduca
Thats not good. We'll have to figure something out for that.
7 years, 7 months ago (2013-05-03 21:21:12 UTC) #13
jeremy
On 2013/05/03 20:03:32, nduca wrote: > So then this looks relatively solid as is. We ...
7 years, 7 months ago (2013-05-06 10:43:25 UTC) #14
dtu
https://chromiumcodereview.appspot.com/14359012/diff/25001/tools/telemetry/telemetry/core/browser_unittest.py File tools/telemetry/telemetry/core/browser_unittest.py (right): https://chromiumcodereview.appspot.com/14359012/diff/25001/tools/telemetry/telemetry/core/browser_unittest.py#newcode90 tools/telemetry/telemetry/core/browser_unittest.py:90: def testDirtyProfileCreation(self): On 2013/05/02 15:00:52, jeremy wrote: > This ...
7 years, 7 months ago (2013-05-07 00:48:12 UTC) #15
jeremy
Thanks Dave! Ready for another look... https://codereview.chromium.org/14359012/diff/25001/tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py File tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py (right): https://codereview.chromium.org/14359012/diff/25001/tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py#newcode75 tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py:75: b.Close() On 2013/05/07 ...
7 years, 7 months ago (2013-05-08 09:13:04 UTC) #16
tonyg
https://codereview.chromium.org/14359012/diff/50003/tools/telemetry/telemetry/core/browser_unittest.py File tools/telemetry/telemetry/core/browser_unittest.py (right): https://codereview.chromium.org/14359012/diff/50003/tools/telemetry/telemetry/core/browser_unittest.py#newcode91 tools/telemetry/telemetry/core/browser_unittest.py:91: is_running_on_desktop = p.startswith('linux') or p in ['darwin', 'win32'] I ...
7 years, 7 months ago (2013-05-10 00:41:33 UTC) #17
tonyg
https://codereview.chromium.org/14359012/diff/50003/tools/telemetry/telemetry/core/profile_creators/small_profile_creator.py File tools/telemetry/telemetry/core/profile_creators/small_profile_creator.py (right): https://codereview.chromium.org/14359012/diff/50003/tools/telemetry/telemetry/core/profile_creators/small_profile_creator.py#newcode15 tools/telemetry/telemetry/core/profile_creators/small_profile_creator.py:15: 'perf', 'page_sets', 'top_25.json') On 2013/05/10 00:41:33, tonyg wrote: > ...
7 years, 7 months ago (2013-05-10 15:47:42 UTC) #18
jeremy
All fixed, ready for another look. https://codereview.chromium.org/14359012/diff/50003/tools/telemetry/telemetry/core/browser_unittest.py File tools/telemetry/telemetry/core/browser_unittest.py (right): https://codereview.chromium.org/14359012/diff/50003/tools/telemetry/telemetry/core/browser_unittest.py#newcode91 tools/telemetry/telemetry/core/browser_unittest.py:91: is_running_on_desktop = p.startswith('linux') ...
7 years, 7 months ago (2013-05-13 08:23:53 UTC) #19
jeremy
https://codereview.chromium.org/14359012/diff/64001/tools/perf/profile_creators/__init__.py File tools/perf/profile_creators/__init__.py (right): https://codereview.chromium.org/14359012/diff/64001/tools/perf/profile_creators/__init__.py#newcode8 tools/perf/profile_creators/__init__.py:8: def Init(): Is this really needed here? Copied over ...
7 years, 7 months ago (2013-05-13 08:46:56 UTC) #20
tonyg
https://codereview.chromium.org/14359012/diff/64001/tools/perf/profile_creators/__init__.py File tools/perf/profile_creators/__init__.py (right): https://codereview.chromium.org/14359012/diff/64001/tools/perf/profile_creators/__init__.py#newcode8 tools/perf/profile_creators/__init__.py:8: def Init(): On 2013/05/13 08:46:56, jeremy wrote: > Is ...
7 years, 7 months ago (2013-05-13 18:21:59 UTC) #21
jeremy
Ready for another look, hope this iteration fixes all issues with depencies. kbr: owner review ...
7 years, 7 months ago (2013-05-19 14:53:25 UTC) #22
Ken Russell (switch to Gerrit)
content/test/gpu LGTM
7 years, 7 months ago (2013-05-20 17:57:01 UTC) #23
tonyg
lgtm Looks really clean now. Thanks for sticking with it through the iterations.
7 years, 7 months ago (2013-05-21 02:06:29 UTC) #24
nduca
(Jeremy: you did it! High five!)
7 years, 7 months ago (2013-05-21 02:10:26 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremy@chromium.org/14359012/89001
7 years, 7 months ago (2013-05-21 08:38:51 UTC) #26
commit-bot: I haz the power
Change committed as 201293
7 years, 7 months ago (2013-05-21 12:28:23 UTC) #27
jeremy
7 years, 7 months ago (2013-05-21 12:29:17 UTC) #28
Message was sent while issue was closed.
Thanks Guys!  Still need to get this working with WPR and get the results cached
on the bots before the work is really done.

Powered by Google App Engine
This is Rietveld 408576698