How to get the Dns Time from the ligthhouse reports.?? #15644
-
Does google lighthouse report the dns timings in the lighthouse report? if so how to retrieve the values?? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
if not directly also. can it derived based on some calculations? |
Beta Was this translation helpful? Give feedback.
-
DNS timings are not included in the report |
Beta Was this translation helpful? Give feedback.
-
@adamraine thanks for responding.. But after execution there is a directory created called "latest-run" and inside that few files are created. in one of these files if you see i could see "Network.responseReceived", there i could see something called dnsStart dnsEnd params What is that.? i have attached the sample json file
|
Beta Was this translation helpful? Give feedback.
@ashwinrajanta As @adamraine said in a previous reply, Lighthouse does not include DNS timing information. Timing information is available in the remote debugging API (as you've demonstrated above).
However, Lighthouse by default loads pages at full network speed, and then applies network simulation in order to calculate metrics and network timing information. While you can access the timing information from the API (as above), it will represent the unthrottled load, and not the simulated load time.
That's why there's no DNS timings in the report, and afaik why there won't be in the near future.