Skip to content

Commit

Permalink
Add interim response times
Browse files Browse the repository at this point in the history
Add 3 response times:
- firstInterimResponseStart: the first 103
- responseHeadersEnd: All headers have been received
- responseBodyStart: The body started streaming

Closes #345
Depends on whatwg/fetch#1483
  • Loading branch information
noamr committed May 4, 2023
1 parent 95c8d0b commit f15de81
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ <h3>
readonly attribute DOMHighResTimeStamp connectEnd;
readonly attribute DOMHighResTimeStamp secureConnectionStart;
readonly attribute DOMHighResTimeStamp requestStart;
readonly attribute DOMHighResTimeStamp firstInterimResponseStart;
readonly attribute DOMHighResTimeStamp responseStart;
readonly attribute DOMHighResTimeStamp responseHeadersEnd;
readonly attribute DOMHighResTimeStamp responseBodyStart;
readonly attribute DOMHighResTimeStamp responseEnd;
readonly attribute unsigned long long transferSize;
readonly attribute unsigned long long encodedBodySize;
Expand Down Expand Up @@ -681,13 +684,34 @@ <h3>
info/final network-request start time=] and the <a>relevant global
object</a> for <a>this</a>. See [=/HTTP fetch=] for more info.
</p>
<p data-dfn-for="PerformanceResourceTiming">
The <dfn>firstInterimResponseStart</dfn> getter steps are to <a>convert fetch
timestamp</a> for <a>this</a>'s <a data-for=
"PerformanceResourceTiming">timing info</a>'s [=fetch timing
info/first interim network-response start time=] and the <a>relevant global
object</a> for <a>this</a>. See [=/HTTP fetch=] for more info.
</p>
<p data-dfn-for="PerformanceResourceTiming">
The <dfn>responseStart</dfn> getter steps are to <a>convert fetch
timestamp</a> for <a>this</a>'s <a data-for=
"PerformanceResourceTiming">timing info</a>'s [=fetch timing
info/final network-response start time=] and the <a>relevant global
object</a> for <a>this</a>. See [=/HTTP fetch=] for more info.
</p>
<p data-dfn-for="PerformanceResourceTiming">
The <dfn>responseHeadersEnd</dfn> getter steps are to <a>convert fetch
timestamp</a> for <a>this</a>'s <a data-for=
"PerformanceResourceTiming">timing info</a>'s [=fetch timing
info/final network-response headers end time=] and the <a>relevant global
object</a> for <a>this</a>. See [=/HTTP fetch=] for more info.
</p>
<p data-dfn-for="PerformanceResourceTiming">
The <dfn>responseBodyStart</dfn> getter steps are to <a>convert fetch
timestamp</a> for <a>this</a>'s <a data-for=
"PerformanceResourceTiming">timing info</a>'s [=fetch timing
info/final network-response body start time=] and the <a>relevant global
object</a> for <a>this</a>. See [=/HTTP fetch=] for more info.
</p>
<p data-dfn-for="PerformanceResourceTiming">
The <dfn>responseEnd</dfn> getter steps are to <a>convert fetch
timestamp</a> for <a>this</a>'s <a data-for=
Expand Down Expand Up @@ -1022,7 +1046,10 @@ <h3>
{{PerformanceResourceTiming/connectStart}},
{{PerformanceResourceTiming/connectEnd}},
{{PerformanceResourceTiming/requestStart}},
{{PerformanceResourceTiming/firstInterimResponseStart}},
{{PerformanceResourceTiming/responseStart}},
{{PerformanceResourceTiming/responseHeadersEnd}},
{{PerformanceResourceTiming/responseBodyStart}},
{{PerformanceResourceTiming/secureConnectionStart}},
{{PerformanceResourceTiming/transferSize}},
{{PerformanceResourceTiming/encodedBodySize}}, and
Expand Down

0 comments on commit f15de81

Please sign in to comment.