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

Issue 900793009: 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, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam, zea+watch_chromium.org
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. BUG=455884, 455942, 455952 TEST=none TBR=mmenke,michaeln,zea Committed: https://crrev.com/3b6d4f8fc68682ba786a1a0c8fcb6b7005d7e8cf Cr-Commit-Position: refs/heads/master@{#314970}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Modify instrumentation #

Patch Set 3 : Remove remnant of change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -0 lines) Patch
M chrome/browser/net/pref_proxy_config_tracker_impl.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/appcache/appcache_url_request_job.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_read_from_cache_job.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_write_to_cache_job.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M jingle/glue/proxy_resolving_client_socket.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M net/proxy/polling_proxy_config_service.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/socket/socks_client_socket_pool.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M net/tools/net_watcher/net_watcher.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M net/url_request/url_request.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M net/url_request/url_request_ftp_job.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Peter Kasting
5 years, 10 months ago (2015-02-06 01:11:21 UTC) #2
vadimt
LGTM with an optional comment. https://codereview.chromium.org/900793009/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/900793009/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc#newcode2173 content/browser/loader/resource_dispatcher_host_impl.cc:2173: FROM_HERE_WITH_EXPLICIT_FUNCTION( Will work, but ...
5 years, 10 months ago (2015-02-06 01:48:09 UTC) #3
Peter Kasting
https://codereview.chromium.org/900793009/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/900793009/diff/1/content/browser/loader/resource_dispatcher_host_impl.cc#newcode2173 content/browser/loader/resource_dispatcher_host_impl.cc:2173: FROM_HERE_WITH_EXPLICIT_FUNCTION( On 2015/02/06 01:48:08, vadimt wrote: > Will work, ...
5 years, 10 months ago (2015-02-06 01:54:54 UTC) #4
vadimt
OK, you are hereby granted the "instrumentation readability"; and there is no need to send ...
5 years, 10 months ago (2015-02-06 02:03:13 UTC) #6
Peter Kasting
TBRing for mechanical changes: mmenke: chrome/browser/net/, content/browser/loader/, net/ OWNERS michaeln: content/browser/appcache/, content/browser/service_worker/ OWNERS zea: google_apis/, ...
5 years, 10 months ago (2015-02-06 02:06:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900793009/40001
5 years, 10 months ago (2015-02-06 02:08:12 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-06 03:49:47 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 03:50:43 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3b6d4f8fc68682ba786a1a0c8fcb6b7005d7e8cf
Cr-Commit-Position: refs/heads/master@{#314970}

Powered by Google App Engine
This is Rietveld 408576698