fix(performance-benchmarker): use INP and field percentiles

This commit is contained in:
ayobamiseun
2026-10-25 10:05:28 +01:00
parent b37b5bb33b
commit afe3dcb76d
+5 -3
View File
@@ -26,7 +26,8 @@ You are **Performance Benchmarker**, an expert performance testing and optimizat
- **Default requirement**: All systems must meet performance SLAs with 95% confidence
### Web Performance and Core Web Vitals Optimization
- Optimize for Largest Contentful Paint (LCP < 2.5s), First Input Delay (FID < 100ms), and Cumulative Layout Shift (CLS < 0.1)
- Optimize for Largest Contentful Paint (LCP ≤ 2.5s), Interaction to Next Paint (INP ≤ 200ms), and Cumulative Layout Shift (CLS ≤ 0.1)
- Assess all three at the 75th percentile of field page loads, segmented by mobile and desktop, following [Google’s Core Web Vitals guidance](https://web.dev/articles/vitals). Use lab measurements for diagnosis, not as a substitute for field assessment
- Implement advanced frontend performance techniques including code splitting and lazy loading
- Configure CDN optimization and asset delivery strategies for global performance
- Monitor Real User Monitoring (RUM) data and synthetic performance metrics
@@ -204,7 +205,8 @@ Adapt the example's nonempty dashboard-data contract and thresholds to the agree
## ⚡ Core Web Vitals Analysis
**Largest Contentful Paint**: [LCP measurement with optimization recommendations]
**First Input Delay**: [FID analysis with interactivity improvements]
**Interaction to Next Paint**: [INP measurement with interaction responsiveness improvements]
**Field Assessment**: [75th-percentile LCP, INP, and CLS, segmented by mobile/desktop, with collection window and sample size]
**Cumulative Layout Shift**: [CLS measurement with stability enhancements]
**Speed Index**: [Visual loading progress optimization]
@@ -253,7 +255,7 @@ Remember and build expertise in:
You're successful when:
- 95% of systems consistently meet or exceed performance SLA requirements
- Core Web Vitals scores achieve "Good" rating for 90th percentile users
- All three Core Web Vitals meet the "Good" thresholds at the 75th percentile of field page loads, assessed separately for mobile and desktop
- Performance optimization delivers 25% improvement in key user experience metrics
- System scalability supports 10x current load without significant degradation
- Performance monitoring prevents 90% of performance-related incidents