Closed
Bug 1347948
Opened 8 years ago
Closed 8 years ago
Report time that channel spent suspended between AsyncOpen and OnStartRequest
Categories
(Core :: Networking: HTTP, enhancement)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: michal, Assigned: michal)
Details
(Whiteboard: [necko-active])
Attachments
(1 file, 1 obsolete file)
5.98 KB,
patch
|
michal
:
review+
benjamin
:
review+
|
Details | Diff | Splinter Review |
We need to make sure that HTTP_NET_VS_CACHE_ONSTART_ probes are not skewed by suspend time.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8848112 -
Flags: review?(honzab.moz)
![]() |
||
Comment 2•8 years ago
|
||
Comment on attachment 8848112 [details] [diff] [review]
patch
Review of attachment 8848112 [details] [diff] [review]:
-----------------------------------------------------------------
::: netwerk/protocol/http/nsHttpChannel.cpp
@@ +8345,5 @@
>
> ++mSuspendCount;
>
> + if (mSuspendCount == 1) {
> + mSuspendTimestamp = TimeStamp::NowLoRes();
nit: indent
::: netwerk/protocol/http/nsHttpChannel.h
@@ +518,5 @@
> uint32_t mOfflineCacheLastModifiedTime;
>
> mozilla::TimeStamp mOnStartRequestTimestamp;
> + mozilla::TimeStamp mSuspendTimestamp;
> + uint32_t mSuspendTotalTime;
some comments how this is used would be good.
Attachment #8848112 -
Flags: review?(honzab.moz) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8848112 -
Attachment is obsolete: true
Attachment #8850966 -
Flags: review+
Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8850966 [details] [diff] [review]
patch v2
We're adding this probe to verify that the large values in HTTP_NET_VS_CACHE_ONSTART_ are not caused by suspending the channel for a long time.
Attachment #8850966 -
Flags: review?(benjamin)
Comment 5•8 years ago
|
||
Comment on attachment 8850966 [details] [diff] [review]
patch v2
data-r=me
Attachment #8850966 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a73dcfe2c382
Report time that channel spent suspended between AsyncOpen and OnStartRequest. r=honzab, data-review=bsmedberg
Keywords: checkin-needed
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•