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

Issue 23604005: [Telemetry] Implement dirty profile generation (Closed)

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

Description

[Telemetry] Implement dirty profile generation Teach generation_profiles to actually generate a dirty profile and download it off a device. BUG=136664 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220157

Patch Set 1 #

Patch Set 2 : Ready for review #

Patch Set 3 : Ready for review #

Patch Set 4 : Fix unit tests #

Total comments: 4

Patch Set 5 : Fix review comments. #

Patch Set 6 : Fix run_measurements #

Patch Set 7 : Further tweaks #

Patch Set 8 : Patch for landing #

Patch Set 9 : Rebase against trunk #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -165 lines) Patch
M tools/perf/measurements/tab_switching.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/profile_creators/small_profile_creator.py View 1 2 3 4 5 6 7 1 chunk +27 lines, -10 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_options.py View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/android_browser_backend.py View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 2 comments Download
M tools/telemetry/telemetry/core/chrome/android_browser_finder.py View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/cros_browser_finder.py View 1 2 chunks +3 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/desktop_browser_backend.py View 1 2 3 3 chunks +12 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py View 1 2 chunks +2 lines, -29 lines 0 comments Download
D tools/telemetry/telemetry/core/profile_creator.py View 1 chunk +0 lines, -13 lines 0 comments Download
M tools/telemetry/telemetry/core/profile_types.py View 1 2 3 1 chunk +5 lines, -44 lines 0 comments Download
M tools/telemetry/telemetry/core/profile_types_unittest.py View 1 2 3 2 chunks +1 line, -16 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test_runner.py View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -4 lines 0 comments Download
A tools/telemetry/telemetry/page/profile_creator.py View 1 1 chunk +19 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/profile_generator.py View 1 2 3 4 5 6 7 8 1 chunk +68 lines, -28 lines 0 comments Download
D tools/telemetry/unittest_data/discoverable_classes/dummy_profile_creator.py View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jeremy
7 years, 3 months ago (2013-08-27 23:23:37 UTC) #1
tonyg
This is super clean. I like it. lgtm https://codereview.chromium.org/23604005/diff/8001/tools/perf/profile_creators/small_profile_creator.py File tools/perf/profile_creators/small_profile_creator.py (right): https://codereview.chromium.org/23604005/diff/8001/tools/perf/profile_creators/small_profile_creator.py#newcode23 tools/perf/profile_creators/small_profile_creator.py:23: return ...
7 years, 3 months ago (2013-08-28 00:09:58 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremy@chromium.org/23604005/13001
7 years, 3 months ago (2013-08-28 17:49:49 UTC) #3
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/page/page_test_runner.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-08-28 17:50:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremy@chromium.org/23604005/25001
7 years, 3 months ago (2013-08-28 18:28:39 UTC) #5
commit-bot: I haz the power
Change committed as 220157
7 years, 3 months ago (2013-08-29 01:34:09 UTC) #6
Dominik Grewe
I think I may have found a small bug. See below: https://chromiumcodereview.appspot.com/23604005/diff/25001/tools/telemetry/telemetry/core/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/chrome/android_browser_backend.py (right): ...
7 years, 3 months ago (2013-09-02 09:15:18 UTC) #7
Dominik Grewe
7 years, 3 months ago (2013-09-02 10:43:46 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/23604005/diff/25001/tools/telemetry/telemetry...
File tools/telemetry/telemetry/core/chrome/android_browser_backend.py (right):

https://codereview.chromium.org/23604005/diff/25001/tools/telemetry/telemetry...
tools/telemetry/telemetry/core/chrome/android_browser_backend.py:273: if
self._options.output_profile_path:
On 2013/09/02 09:15:18, Dominik Grewe wrote:
> This crashes with
> AttributeError: 'AndroidBrowserBackend' object has no attribute '_options'
> 
> Should it be self.finder_options.output_profile_path instead?

Because this bug caused the perf bots to fail I've uploaded a fix:
http://crrev.com/23866002.

Powered by Google App Engine
This is Rietveld 408576698