WPT vs Performance API content DownloadTimes

Hi @TEAM,
Need Help,

Performance API gives less content download time (responseEnd-responseStart), but WPT gives more. Please help Why WPT giving more time

Hi @pmeenan ,

Please reply

If you have a specific test, it would help so we’re all looking at the same thing.

More likely than not, WPT is measuring a more accurate time for when the bytes arrive on the socket from the netlog and the performance API may be connected a bit higher in the stack when the bytes are read by the browser but it’s hard to say for sure without seeing a specific case (bonus points if you turn on netlog capture so you have the test data from WPT, the trace, dev tools timeline, performance API from custom metric and the netlog all to compare).