Why we need network throttling to measure UI performance #15923
-
Hi, this question might seem basic however i would like to understand if lighthouse is an UI performance metric tool, and it calculates performance of how UI elements are loaded in client browser after the resources have been retrieved from server, why do we need network throttling? Or we are also measuring how effective UI elements and js pages are retrieved from server so that it impacts the time to load. Please provide some clarification on this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I'm not sure what you are asking. Network load times affect performance. Lighthouse adds performance throttling is added to emulate the imperfect network conditions that real users will experience. |
Beta Was this translation helpful? Give feedback.
I would expect the TBT and CLS metrics to be less sensitive to network throttling (they are typically more sensitive to CPU throttling and other factors). That being said, I can certainly imagine scenarios where changes to the network traffic can indirectly impact TBT and CLS so we can't make any guarantees.