GoogleChrome / GoogleChrome/lighthouse

Audit: Total count of RTT to FCP/FMP/etc

Open
#2,621 4 comments 0 reactions 0 assignees View on GitHub
feature new_audit P3
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 14h
Merged PRs (30d)
20

Description

@paulirish and I discussed about surfacing the # of round-trips to FMP in Lighthouse / DevTools. The advantage of this metric is that it's directly controlled by the developer and isn't dependent on throttling settings. For example, conditions such as TCP slow start, TLS handshake, latency & bandwidth constraints are for all intents and purposes out of the control of developers.

Today, Lighthouse surfaces the critical request chain based on network priority (I'm not too familiar with this so correct me if I'm wrong) and the duration until FMP.

Two ideas:
* 1) short-term - show # of round trips till FMP in the Lighthouse report (just talked with @patrickhulce and he's already doing something along these lines!)
* 2) longer-term - prototype a "perf" mode in Network panel of DevTools that highlights the critical rendering chain and displays the # of round trip till FMP in the summary bar.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Lighthouse’s existing critical request chain and FMP reporting, then examine the proposed Network panel “perf” mode in DevTools. The scope must first be decided between surfacing round trips in the Lighthouse report and prototyping the DevTools experience; done means the selected proposal has a defined implementation and validation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.