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

Issue 25883003: telemetry: Add Android Systrace profiler (Closed)

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

Description

telemetry: Add Android Systrace profiler Add support for capturing Android Systrace profiles in telemetry. The resulting profile will contain events from both the Chrome trace as well as systrace. TEST=tools/perf/run_benchmark run --profiler=android-systrace --browser=android-chrome smoothness.top_25 --page-filter=facebook Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229130

Patch Set 1 #

Total comments: 8

Patch Set 2 : Tony's comments. #

Total comments: 1

Patch Set 3 : Record a combined trace. #

Patch Set 4 : Removed dupe print. #

Total comments: 1

Patch Set 5 : Address nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -2 lines) Patch
M build/android/adb_profile_chrome.py View 1 2 2 chunks +2 lines, -1 line 0 comments Download
A tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Sami
7 years, 2 months ago (2013-10-03 16:10:38 UTC) #1
tonyg
https://codereview.chromium.org/25883003/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py File tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py (right): https://codereview.chromium.org/25883003/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py#newcode13 tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py:13: 'gfx', Any way we can avoid the hardcoding? https://codereview.chromium.org/25883003/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py#newcode42 ...
7 years, 2 months ago (2013-10-04 04:24:48 UTC) #2
Sami
https://codereview.chromium.org/25883003/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py File tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py (right): https://codereview.chromium.org/25883003/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py#newcode13 tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py:13: 'gfx', On 2013/10/04 04:24:49, tonyg wrote: > Any way ...
7 years, 2 months ago (2013-10-04 13:41:46 UTC) #3
tonyg
On Fri, Oct 4, 2013 at 6:41 AM, <skyostil@chromium.org> wrote: > > https://codereview.chromium.**org/25883003/diff/1/tools/** > telemetry/telemetry/core/**platform/profiler/android_** ...
7 years, 2 months ago (2013-10-04 15:01:32 UTC) #4
bulach
https://codereview.chromium.org/25883003/diff/6001/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py File tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py (right): https://codereview.chromium.org/25883003/diff/6001/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py#newcode61 tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py:61: self._trace_data = ''.join([zlib.decompress(d) for d in trace_data]) it's a ...
7 years, 2 months ago (2013-10-04 15:01:51 UTC) #5
tonyg
On 2013/10/04 15:01:51, bulach wrote: > https://codereview.chromium.org/25883003/diff/6001/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py > File > tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py > (right): > > ...
7 years, 2 months ago (2013-10-04 15:40:26 UTC) #6
bulach
On 2013/10/04 15:40:26, tonyg wrote: > On 2013/10/04 15:01:51, bulach wrote: > > > https://codereview.chromium.org/25883003/diff/6001/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py ...
7 years, 2 months ago (2013-10-07 07:57:19 UTC) #7
Sami
I've updated this to use adb_profile_chrome.py directly, which makes the patch much simpler than before. ...
7 years, 2 months ago (2013-10-16 11:45:16 UTC) #8
bulach
lgtm, neat, thanks!! https://codereview.chromium.org/25883003/diff/18001/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py File tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py (right): https://codereview.chromium.org/25883003/diff/18001/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py#newcode35 tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py:35: self._browser_backend.StartTracing(None, 10) nit: categories=None, timeout=10
7 years, 2 months ago (2013-10-16 16:45:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/25883003/22001
7 years, 2 months ago (2013-10-17 09:02:16 UTC) #10
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=178366
7 years, 2 months ago (2013-10-17 12:40:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/25883003/22001
7 years, 2 months ago (2013-10-17 13:14:47 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-10-17 15:05:24 UTC) #13
Message was sent while issue was closed.
Change committed as 229130

Powered by Google App Engine
This is Rietveld 408576698