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

Issue 687843002: Adding instrumentation to locate the source of jankiness. (Closed)

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

Description

Adding instrumentation to locate the source of jankiness. Previous instrumentations showed that SSLClientSocketNSS::Core::DoHandshake alone is responsible for 14.4 janks per hour in IO thread. 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. BUG=424386 Committed: https://crrev.com/eeee2a4ce82edc3a0db3fd6b39c5891567216ef6 Cr-Commit-Position: refs/heads/master@{#302665}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 3 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
vadimt
asanka@, please provide OWNER's approval. Note that I used to land similar CLs as TBRs ...
6 years, 1 month ago (2014-10-28 22:28:03 UTC) #2
asanka
+davidben FHI I'm guessing we are using running Core in single-threaded mode (based on the ...
6 years, 1 month ago (2014-10-31 18:22:32 UTC) #4
vadimt
Hi! Should I land this as is, or we are waiting for ideas regarding what ...
6 years, 1 month ago (2014-11-04 03:01:47 UTC) #5
davidben
lgtm. Though note that this file is expected not to be used on Windows for ...
6 years, 1 month ago (2014-11-04 19:28:58 UTC) #6
vadimt
Thanks! I'm still landing the changes, at least to rule out other theories regarding the ...
6 years, 1 month ago (2014-11-04 19:36:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/687843002/1
6 years, 1 month ago (2014-11-04 19:37:47 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-11-04 21:04:17 UTC) #10
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 21:05:31 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/eeee2a4ce82edc3a0db3fd6b39c5891567216ef6
Cr-Commit-Position: refs/heads/master@{#302665}

Powered by Google App Engine
This is Rietveld 408576698