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

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

Created:
5 years, 10 months ago by Peter Kasting
Modified:
5 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, grt+watch_chromium.org, jam, darin-cc_chromium.org, erikwright+watch_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding instrumentation to locate the source of jankiness. 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. 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. This also updates the existing instrumentation for bug 418183 to include the bug number everywhere. BUG=418183, 455423, 455434, 455469 TEST=none R=vadimt@chromium.org TBR=jochen, mmenke, rockot, thestig Committed: https://chromium.googlesource.com/chromium/src/+/650180680cc05b5771628d502bc6803a1d8997ad

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix compile + remove some tracking #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -23 lines) Patch
M base/files/file_path_watcher_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/process/kill_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M base/synchronization/waitable_event_watcher_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/common/service_process_util_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/print_system_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/policy_loader_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/webui/url_data_manager_backend.cc View 2 chunks +14 lines, -1 line 0 comments Download
M content/child/web_data_consumer_handle_impl.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M device/hid/hid_connection_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/base/network_change_notifier_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/dns_config_service_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/proxy/proxy_config_service_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/stream_listen_socket.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/socket/tcp_client_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/tcp_socket_win.cc View 1 10 chunks +37 lines, -6 lines 0 comments Download
M net/udp/udp_socket_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_job.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
Peter Kasting
5 years, 10 months ago (2015-02-05 01:11:11 UTC) #2
vadimt
https://codereview.chromium.org/901773002/diff/1/net/socket/tcp_socket_win.cc File net/socket/tcp_socket_win.cc (right): https://codereview.chromium.org/901773002/diff/1/net/socket/tcp_socket_win.cc#newcode980 net/socket/tcp_socket_win.cc:980: "418183 TCPSocketWin::DidCompleteConnect2")); The instrumentation will interfere with WSAGetLastError, which ...
5 years, 10 months ago (2015-02-05 01:17:14 UTC) #3
Peter Kasting
PTAL. https://codereview.chromium.org/901773002/diff/1/net/socket/tcp_socket_win.cc File net/socket/tcp_socket_win.cc (right): https://codereview.chromium.org/901773002/diff/1/net/socket/tcp_socket_win.cc#newcode980 net/socket/tcp_socket_win.cc:980: "418183 TCPSocketWin::DidCompleteConnect2")); On 2015/02/05 01:17:14, vadimt wrote: > ...
5 years, 10 months ago (2015-02-05 01:59:38 UTC) #4
vadimt
lgtm
5 years, 10 months ago (2015-02-05 02:03:43 UTC) #5
Peter Kasting
TBRing for mechanical change: thestig: base/, chrome/ OWNERS jochen: components/, content/ OWNERS rockot: device/ OWNERS ...
5 years, 10 months ago (2015-02-05 21:37:21 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/650180680cc05b5771628d502bc6803a1d8997ad Cr-Commit-Position: refs/heads/master@{#314885}
5 years, 10 months ago (2015-02-05 21:46:03 UTC) #8
Peter Kasting
Committed patchset #2 (id:20001) manually as 650180680cc05b5771628d502bc6803a1d8997ad (presubmit successful).
5 years, 10 months ago (2015-02-05 21:46:17 UTC) #9
Lei Zhang
5 years, 10 months ago (2015-02-05 21:47:43 UTC) #10
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698