Skip to content

Commit cfcce4c

Browse files
Nancy LiDevtools-frontend LUCI CQ
authored andcommitted
[RPP insight] show time for all network request in the network tree
screenshot: https://screenshot.googleplex.com/mNjwtvSJ9TRjmRP Bug: 400708304 Change-Id: Ibb4410a4e54f89b8665e79368b9643ae4e481564 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6333410 Commit-Queue: Nancy Li <[email protected]> Reviewed-by: Jack Franklin <[email protected]>
1 parent 8c23651 commit cfcce4c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

front_end/panels/timeline/components/insights/NetworkDependencyTree.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,9 @@ export class NetworkDependencyTree extends BaseInsightComponent<NetworkDependenc
9494
@mouseover=${hasChildren ? null : this.#onMouseOver.bind(this, chain)}
9595
@mouseout=${hasChildren ? null : this.#onMouseOut.bind(this)}>
9696
<span class="url">${eventRef(request)}</span>
97-
${
98-
// If this is the last request, show the chain time
99-
hasChildren ? Lit.nothing :html`
100-
<span class="chain-time">
101-
${i18n.TimeUtilities.formatMicroSecondsTime(Trace.Types.Timing.Micro(timeFromInitialRequest))}
102-
</span>
103-
`}
97+
<span class="chain-time">
98+
${i18n.TimeUtilities.formatMicroSecondsTime(Trace.Types.Timing.Micro(timeFromInitialRequest))}
99+
</span>
104100
</div>
105101
</li>
106102
${hasChildren ? html`${this.renderTree(children)}` : Lit.nothing}

0 commit comments

Comments
 (0)