Performance¶
testing¶
- Lab data(lighthouse - one time) - improve site
- field data(real world) - is my site fast?
statistics¶
- average score
- a lot of different possibilities
- Percentiles
- p50, p75, p95, p99
lighthouse¶
- popup developer tools
- turn on responsive mode(iphone 12 pro)
- 6x slowdown
tools¶
RUM(realtime user monitoring)¶
all users, not only google chrome users
goals¶
- 20% faster than competitors
Points¶
LCP¶
- largest contentful paint
- first paint
- first contentful paint
CLS¶
- cumulative layout shift
INP¶
- interaction to next paint