docs: reorganize Lighthouse CI step under Continuous Performance Monitoring

- Move Performance Budget Enforcement to Continuous Performance Monitoring section
- Renumber steps for better flow (Image Optimization becomes Step 5)
- Keep Lighthouse CI setup as Step 6 under monitoring where it belongs
- Maintain logical progression from optimization to monitoring

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
This commit is contained in:
Brian 'bdougie' Douglas 2025-09-19 05:05:28 -07:00
parent 8b14a96f7c
commit 2b0be1c1cf

View file

@ -141,16 +141,7 @@ Identify and fix bundle size issues:
- Optimize image formats
</Card>
### Step 5: Performance Budget Enforcement
Set and enforce performance budgets:
```bash
# In cn TUI mode:
"Set performance budget: LCP < 2.5s, bundle < 200KB"
```
### Step 6: Image Optimization
### Step 5: Image Optimization
Optimize images for better performance:
@ -161,18 +152,9 @@ Optimize images for better performance:
## Continuous Performance Monitoring
### Step 7: Real User Monitoring
### Step 6: Performance Budget Enforcement with Lighthouse CI
Track actual user experience:
```bash
# In cn TUI mode:
"Set up RUM tracking with alerts for P75 degradation"
```
### Step 8: Lighthouse CI Integration
Automate performance testing with strict budgets:
Set and enforce performance budgets with automated testing:
```bash
# In cn TUI mode:
@ -199,6 +181,17 @@ Please configure the complete Lighthouse CI setup with these budgets."
production deployment, blocking any changes that violate your performance budgets.
</Tip>
### Step 7: Real User Monitoring
Track actual user experience:
```bash
# In cn TUI mode:
"Set up RUM tracking with alerts for P75 degradation"
```
## Automated Performance Checks
### GitHub Actions Performance Guard
@ -276,7 +269,7 @@ jobs:
## Performance Testing Locally
### Step 9: Local Performance Testing
### Step 8: Local Performance Testing
Test performance before deploying:
@ -285,7 +278,7 @@ Test performance before deploying:
"Run production build and measure bundle sizes"
```
### Step 10: Pre-commit Performance Checks
### Step 9: Pre-commit Performance Checks
Prevent performance regressions before they happen: