ToolypetMCP
intermediate5 minutescross hub

Performance Budget & Optimization

Audit performance budget: calculate statistics from metrics, generate optimized CSS, and verify security overhead.

performanceoptimizationcssstatisticsbudget

이 레시피 활용 시점

Performance budgets ensure your app stays fast. Analyze real metrics, optimize CSS delivery, and verify that security measures don't add excessive overhead.

단계

1

Statistics Calculator

이 도구 사용해보기

Analyze load time metrics

프롬프트:Analyze page load times from samples: 1.2s, 1.8s, 2.1s, 1.5s, 3.2s, 1.4s, 1.9s, 2.5s — calculate mean, p95, and p99
2

Percentage Calculator

이 도구 사용해보기

Calculate failure rate

프롬프트:What percentage of page loads exceed the 2-second target? 3 out of 8 samples
3

Optimize CSS delivery

프롬프트:Convert heavy custom CSS to Tailwind utilities to reduce CSS bundle size
4

Verify bundle integrity

프롬프트:Generate SRI hashes for optimized bundles to ensure CDN-served files aren't modified

자주 묻는 질문

What is a performance budget?

Quantitative limits on metrics: e.g., LCP < 2.5s, total JS < 200KB, total CSS < 50KB, third-party requests < 10. Budgets prevent gradual performance degradation.

What's a good p95 page load time?

Under 3 seconds for most web apps. Under 1.5 seconds for e-commerce (every 100ms costs 1% in conversions). Core Web Vitals: LCP < 2.5s, FID < 100ms, CLS < 0.1.

관련 레시피