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

Issue 685033006: Instrumenting internals of AccountIdFetcher::Start to locate the source of jankiness. (Closed)

Created:
6 years, 1 month ago by vadimt
Modified:
6 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Instrumenting internals of AccountIdFetcher::Start to locate the source of jankiness. Previous instrumentations showed that AccountIdFetcher::Start alone is responsible for 20.5 janks per hour in UI thread, with 203ms average run time. I need to instrument the code inside it to find out which part causes jank. This is a mechanical change that adds instrumentation required to locate the source of jankiness (i.e. a long-running fragment of code executed as a part of the task that causes jank) in the code. See the bug for details on what kind of jank we are after. A number of similar CLs were landed, and none of them caused issues. They've helped to find and fix janky code. The code of the instrumentation is highly optimized and is not expected to affect performance. The code simply creates a diagnostic task which is identical to ones created by PostTask or IPC message handlers. The task gets created only in developer build and in Canary channel. BUG=422460 Committed: https://crrev.com/b259c8718b81478c3e5330604bb133ad50cec684 Cr-Commit-Position: refs/heads/master@{#302649}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rogerta@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M google_apis/gaia/oauth2_token_service.cc View 1 5 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
vadimt
rogerta@, please provide OWNER's approval
6 years, 1 month ago (2014-11-04 01:39:59 UTC) #2
Roger Tawa OOO till Jul 10th
lgtm, which one question below. https://codereview.chromium.org/685033006/diff/1/google_apis/gaia/oauth2_token_service.cc File google_apis/gaia/oauth2_token_service.cc (right): https://codereview.chromium.org/685033006/diff/1/google_apis/gaia/oauth2_token_service.cc#newcode424 google_apis/gaia/oauth2_token_service.cc:424: I wonder if this ...
6 years, 1 month ago (2014-11-04 16:28:08 UTC) #3
vadimt
https://codereview.chromium.org/685033006/diff/1/google_apis/gaia/oauth2_token_service.cc File google_apis/gaia/oauth2_token_service.cc (right): https://codereview.chromium.org/685033006/diff/1/google_apis/gaia/oauth2_token_service.cc#newcode424 google_apis/gaia/oauth2_token_service.cc:424: On 2014/11/04 16:28:08, Roger Tawa wrote: > I wonder ...
6 years, 1 month ago (2014-11-04 16:47:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685033006/20001
6 years, 1 month ago (2014-11-04 16:49:05 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/8353)
6 years, 1 month ago (2014-11-04 18:21:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685033006/20001
6 years, 1 month ago (2014-11-04 19:14:30 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-11-04 20:02:28 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 20:03:21 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b259c8718b81478c3e5330604bb133ad50cec684
Cr-Commit-Position: refs/heads/master@{#302649}

Powered by Google App Engine
This is Rietveld 408576698