how to fix the mobile in lighthouse test

sure the website in desktop scores good but in mobile it's soo bad, i just need to mimic the mobile lighthouse test in the perf tab just to see what's going on i keep getting 60~65 ish on mobile lighthouse, mainly because of the LCP; i tried to mimic the lighthouse testing in the performance tab i chose recalibrate to get the accurate measures of testing in the browser (x4 is too much relatively to the lighthouse test) most tasks are long because of the recalculated styles the thing is it just says that it took "x" ms with no info... how am i supposed to do performance auditing
No description
No description
No description
No description
No description
24 Replies
ἔρως
ἔρως3d ago
what's the link to test it?
Dev_HK
Dev_HKOP3d ago
https://tayyurt-surf.com/ here's the site you can get the lighthouse test from https://pagespeed.web.dev/
Tayyurt Surf School in Agadir
Surf School in Agadir - Tayyurt Surf School in Agadir
Surfing is all about the rush of gliding across the water, feeling the power of the ocean beneath you as you ride a wave. It’s a dance with nature, where
ἔρως
ἔρως3d ago
🤔
No description
ἔρως
ἔρως3d ago
i do notice something: when resizing, the menu shows randomly maybe that's what's giving you the horrible scores and crashing the tab for me
ἔρως
ἔρως3d ago
No description
ἔρως
ἔρως3d ago
No description
Dev_HK
Dev_HKOP3d ago
that is because you're not putting the tab as main focus (you're on another tab) cuz i don't get the crashes ??
ἔρως
ἔρως3d ago
i can't click on the button to run lighthouse and focus the tab
Jochem
Jochem3d ago
also, if your tab can't run in the background reasonably, it's using too many resources
Dev_HK
Dev_HKOP3d ago
i see maybe put it on the same space?? idk
No description
Dev_HK
Dev_HKOP3d ago
this was for me for any other test i'm running on any other website here's one for instance
ἔρως
ἔρως3d ago
No description
ἔρως
ἔρως3d ago
it's the resizing that's causing issues
Dev_HK
Dev_HKOP3d ago
that's weird have you checked it with pagespeed idk
ἔρως
ἔρως3d ago
yes, i did and the issue is the first image it has fetchpriority="high"
Dev_HK
Dev_HKOP3d ago
yeah the image if you checked it's size is about 46.7kb that wouldn't be the problem; i mean even if it was 1mb i don't think it would be aproblem , something sketchy is going on
No description
ἔρως
ἔρως3d ago
that's not the problem: the problem is that everything has to wait for the image
ἔρως
ἔρως3d ago
ignore the shitty attempt at google from translating to brazillian portuguese and portuguese and butching both languages at the same time
No description
Dev_HK
Dev_HKOP3d ago
i see even when marked as non blocking ??
No description
No description
Dev_HK
Dev_HKOP3d ago
isn't brazilian portoguese as well??
ἔρως
ἔρως3d ago
web.dev
Optimize resource loading with the Fetch Priority API  |  Article...
The Fetch Priority API indicates the relative priority of resources to the browser. It can enable optimal loading and improve Core Web Vitals.
ἔρως
ἔρως3d ago
it's a different dialect images with high priority are loaded in the layout-blocking phase, according to the table
Dev_HK
Dev_HKOP3d ago
cool i see any other respectable resources to learn about web perf i wanna learn more about the web perf thing, i've been web developer long enough to not learn about performance, i'm taking the responsibility of not learning early but also the responsibility to learn about it and deliver good software
ἔρως
ἔρως3d ago
web.dev and mdn, in my opinion there's also blocks you can find by searching, but, i can't tell you how "respectable" they are

Did you find this page helpful?