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

Issue 14978006: Telemetry: makes profilers a bit more generic. (Closed)

Created:
7 years, 7 months ago by bulach
Modified:
7 years, 7 months ago
Reviewers:
tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

Telemetry: makes profilers a bit more generic. Rather than making assumptions at the "browser" level about pid and output file name, push those as utilities and let each profiler decide those. This will make it easy to implement TCMalloc dump fetcher, etc. in the future. There are no functional changes in this patch. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200773

Patch Set 1 : Patch #

Total comments: 10

Patch Set 2 : Merges latest profilers, removes android-specific for the time being #

Total comments: 8

Patch Set 3 : dict / member name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -75 lines) Patch
M tools/telemetry/telemetry/core/browser.py View 1 2 chunks +4 lines, -13 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/__init__.py View 1 2 2 chunks +22 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/iprofiler_profiler.py View 1 2 3 chunks +33 lines, -17 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py View 1 2 3 chunks +39 lines, -26 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/sample_profiler.py View 1 2 3 chunks +32 lines, -17 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
bulach
tonyg: this is NOT ready, but would appreciate your feedback if it's worth trying... :) ...
7 years, 7 months ago (2013-05-13 13:49:10 UTC) #1
tonyg
I like it. Some suggestions and answers to your questions inline. https://codereview.chromium.org/14978006/diff/2001/tools/telemetry/telemetry/core/browser.py File tools/telemetry/telemetry/core/browser.py (right): ...
7 years, 7 months ago (2013-05-14 02:47:53 UTC) #2
bulach
thanks tony! I addressed all the comments, but most important, removed the android surface flinger ...
7 years, 7 months ago (2013-05-14 10:45:37 UTC) #3
tonyg
Thanks for simplifying. Just a couple of more comments, everything else lg. https://codereview.chromium.org/14978006/diff/11001/tools/telemetry/telemetry/core/platform/profiler/__init__.py File tools/telemetry/telemetry/core/platform/profiler/__init__.py ...
7 years, 7 months ago (2013-05-14 16:27:33 UTC) #4
bulach
thanks tony! all addressed, ptal https://codereview.chromium.org/14978006/diff/11001/tools/telemetry/telemetry/core/platform/profiler/__init__.py File tools/telemetry/telemetry/core/platform/profiler/__init__.py (right): https://codereview.chromium.org/14978006/diff/11001/tools/telemetry/telemetry/core/platform/profiler/__init__.py#newcode36 tools/telemetry/telemetry/core/platform/profiler/__init__.py:36: 'pid_info', ['pid', 'output_file']) On ...
7 years, 7 months ago (2013-05-14 16:55:57 UTC) #5
tonyg
lgtm Really clean, thanks!
7 years, 7 months ago (2013-05-14 17:21:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/14978006/18001
7 years, 7 months ago (2013-05-15 09:10:55 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 7 months ago (2013-05-15 09:17:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/14978006/18001
7 years, 7 months ago (2013-05-16 08:58:23 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=114867
7 years, 7 months ago (2013-05-16 09:38:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/14978006/18001
7 years, 7 months ago (2013-05-16 12:42:02 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=114954
7 years, 7 months ago (2013-05-16 13:49:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/14978006/18001
7 years, 7 months ago (2013-05-16 15:34:27 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=115053
7 years, 7 months ago (2013-05-16 16:05:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/14978006/18001
7 years, 7 months ago (2013-05-17 08:08:53 UTC) #15
commit-bot: I haz the power
7 years, 7 months ago (2013-05-17 09:27:12 UTC) #16
Message was sent while issue was closed.
Change committed as 200773

Powered by Google App Engine
This is Rietveld 408576698