Sites built with next.js are suffering from slow LCP on mobile devices. It appears that the page is loading fast and then something is causing a repaint much later in the load cycle, which is causing the LCP to count then, instead of when it was originally displayed. This is problematic for SEO.
The LCP time should be from when the LCP actually occurs the first time. Something seems to be triggering the LCP much later, without making a visible change.


I'm not sure how this realistically affects performance (I got 91 for vercel.com on Lighthouse) but the lower than usual performance score is caused by https://github.com/vercel/next.js/issues/16932
It's important for SEO. Google is now reporting LCP values in Search Console and less than 2.5 seconds is considered a passing score.
This is due to a change in lighthouse.
Currently the way lighthouse works is that it fetches the trace on unthrottled network. Then simulate throttling on top of it.
What this means is that trace is taken on your high speed network and then simulations are done on top of it. This makes the numbers more in line with what you'd see on pagespeed insight etc. But as a side effect, when you click view trace you see the original/unthrottled network trace.
^ thats the reason why the two numbers doesn't match.
If you want to actually verify that its not the case uncheck the Simulate throttling checkbox and re-run the trace. now the numbers and the trace should match exactly.

Thanks, @prateekbh. Being able to see the stack trace with accurate times confirms that this isn't a next.js issue. Seems like there is some room for improvement in the Chrome UI to avoid confusion here. I can't be the only person looking at traces to debug lighthouse reports.
@rileytomasek yes the feedback was received by the team and changes are on their way: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2339861
Most helpful comment
@rileytomasek yes the feedback was received by the team and changes are on their way: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2339861