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

Issue 2432283003: Add traces to HttpCache::Transaction to make it easier to follow URLRequests (Closed)

Created:
4 years, 2 months ago by jkarlin
Modified:
4 years, 1 month ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, gavinp+disk_chromium.org, kinuko+cache_chromium.org, dproy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add traces to HttpCache::Transaction to make it easier to follow URLRequests It's difficult to see how URLRequests interact on the IO thread. Adding traces to the HttpCache::Transaction illuminates what's going on. These traces were used to detect the performance issue in https://crbug.com/655585 and it seems generally beneficial to keep them in master. BUG=657432 Committed: https://crrev.com/255440ce6e8343609c1918c16e97885a14f9ba67 Cr-Commit-Position: refs/heads/master@{#433316}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address comments from PS1 #

Patch Set 3 : Rebase and use normal trace event #

Patch Set 4 : Rename #

Total comments: 1

Patch Set 5 : Change to io category #

Patch Set 6 : Rebase #

Patch Set 7 : Fix ref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
M net/cert/x509_certificate.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 3 4 6 35 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 71 (40 generated)
jkarlin
xunjieli@ PTAL at everything, many thanks!
4 years, 2 months ago (2016-10-19 15:47:03 UTC) #2
xunjieli
On 2016/10/19 15:47:03, jkarlin wrote: > xunjieli@ PTAL at everything, many thanks! Looks good. Could ...
4 years, 2 months ago (2016-10-19 16:04:15 UTC) #4
jkarlin
On 2016/10/19 16:04:15, xunjieli wrote: > On 2016/10/19 15:47:03, jkarlin wrote: > > xunjieli@ PTAL ...
4 years, 2 months ago (2016-10-19 17:18:53 UTC) #5
jkarlin
On 2016/10/19 17:18:53, jkarlin wrote: > On 2016/10/19 16:04:15, xunjieli wrote: > > On 2016/10/19 ...
4 years, 2 months ago (2016-10-19 17:25:24 UTC) #6
xunjieli
On 2016/10/19 17:25:24, jkarlin wrote: > On 2016/10/19 17:18:53, jkarlin wrote: > > On 2016/10/19 ...
4 years, 2 months ago (2016-10-19 17:30:43 UTC) #7
jkarlin
On 2016/10/19 17:30:43, xunjieli wrote: > On 2016/10/19 17:25:24, jkarlin wrote: > > On 2016/10/19 ...
4 years, 2 months ago (2016-10-19 17:33:53 UTC) #8
xunjieli
On 2016/10/19 17:33:53, jkarlin wrote: > On 2016/10/19 17:30:43, xunjieli wrote: > > On 2016/10/19 ...
4 years, 2 months ago (2016-10-19 17:41:27 UTC) #9
jkarlin
Thanks Helen! caseq@ PTAL at the trace events to make sure that what I'm doing ...
4 years, 2 months ago (2016-10-19 17:43:05 UTC) #11
caseq
Here's the flow event docs: https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU But it feels so far that this should rather ...
4 years, 2 months ago (2016-10-20 21:23:31 UTC) #12
xunjieli
https://codereview.chromium.org/2432283003/diff/1/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/2432283003/diff/1/net/http/http_cache_transaction.cc#newcode193 net/http/http_cache_transaction.cc:193: TRACE_EVENT_WITH_FLOW0("net", "HttpCache::Transaction::Transaction", this, On 2016/10/20 21:23:31, caseq wrote: > ...
4 years, 2 months ago (2016-10-20 21:33:12 UTC) #13
caseq
On 2016/10/20 at 21:33:12, xunjieli wrote: > https://codereview.chromium.org/2432283003/diff/1/net/http/http_cache_transaction.cc > File net/http/http_cache_transaction.cc (right): > > https://codereview.chromium.org/2432283003/diff/1/net/http/http_cache_transaction.cc#newcode193 ...
4 years, 2 months ago (2016-10-20 22:07:03 UTC) #14
jkarlin
Thanks! caseq@ PTAL https://codereview.chromium.org/2432283003/diff/1/net/cert/x509_certificate.cc File net/cert/x509_certificate.cc (right): https://codereview.chromium.org/2432283003/diff/1/net/cert/x509_certificate.cc#newcode239 net/cert/x509_certificate.cc:239: TRACE_EVENT0("net", "X509Certificate::CreateFromDERCertChain"); On 2016/10/20 21:23:31, caseq ...
4 years, 1 month ago (2016-10-24 17:20:58 UTC) #17
jkarlin
caseq: PTAL, thanks!
4 years, 1 month ago (2016-10-28 16:46:10 UTC) #21
caseq
Sorry about delay -- I realize that the boundary between async and flow events is ...
4 years, 1 month ago (2016-10-31 18:42:00 UTC) #24
chiniforooshan
On 2016/10/31 18:42:00, caseq wrote: > Sorry about delay -- I realize that the boundary ...
4 years, 1 month ago (2016-10-31 19:39:44 UTC) #25
jkarlin
> Sorry about delay -- I realize that the boundary between async and flow events ...
4 years, 1 month ago (2016-11-01 13:39:25 UTC) #26
caseq
On 2016/11/01 13:39:25, jkarlin wrote: > > Sorry about delay -- I realize that the ...
4 years, 1 month ago (2016-11-03 23:32:15 UTC) #27
jkarlin
caseq@ PTAL Okay, I've changed the names to HttpCacheTransaction. I've made the trace events normal ...
4 years, 1 month ago (2016-11-10 16:51:53 UTC) #28
xunjieli
On 2016/11/10 16:51:53, jkarlin wrote: > caseq@ PTAL > > Okay, I've changed the names ...
4 years, 1 month ago (2016-11-10 17:01:15 UTC) #29
jkarlin
On 2016/11/10 17:01:15, xunjieli wrote: > On 2016/11/10 16:51:53, jkarlin wrote: > > caseq@ PTAL ...
4 years, 1 month ago (2016-11-10 18:03:17 UTC) #32
caseq
https://codereview.chromium.org/2432283003/diff/80001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/2432283003/diff/80001/net/http/http_cache_transaction.cc#newcode193 net/http/http_cache_transaction.cc:193: TRACE_EVENT0("net", "HttpCacheTransaction::Transaction"); Hmm... This does not look quite what ...
4 years, 1 month ago (2016-11-10 21:37:43 UTC) #35
jkarlin
On 2016/11/10 21:37:43, caseq wrote: > https://codereview.chromium.org/2432283003/diff/80001/net/http/http_cache_transaction.cc > File net/http/http_cache_transaction.cc (right): > > https://codereview.chromium.org/2432283003/diff/80001/net/http/http_cache_transaction.cc#newcode193 > ...
4 years, 1 month ago (2016-11-14 15:33:37 UTC) #36
Charlie Harrison
drive-by: these traces will be very useful to have for writing trace based benchmarks to ...
4 years, 1 month ago (2016-11-16 15:30:33 UTC) #38
caseq
On 2016/11/14 15:33:37, jkarlin wrote: > > This CL is about annotating the IO thread ...
4 years, 1 month ago (2016-11-17 01:58:59 UTC) #39
Charlie Harrison
On 2016/11/17 01:58:59, caseq wrote: > On 2016/11/14 15:33:37, jkarlin wrote: > > > > ...
4 years, 1 month ago (2016-11-17 03:13:40 UTC) #40
jkarlin
On 2016/11/17 03:13:40, Charlie Harrison wrote: > On 2016/11/17 01:58:59, caseq wrote: > > On ...
4 years, 1 month ago (2016-11-17 12:05:04 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2432283003/120001
4 years, 1 month ago (2016-11-18 16:21:35 UTC) #53
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years, 1 month ago (2016-11-18 16:21:37 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2432283003/180001
4 years, 1 month ago (2016-11-18 19:36:41 UTC) #67
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 1 month ago (2016-11-18 22:38:53 UTC) #69
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 22:48:24 UTC) #71
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/255440ce6e8343609c1918c16e97885a14f9ba67
Cr-Commit-Position: refs/heads/master@{#433316}

Powered by Google App Engine
This is Rietveld 408576698