Skip to main content

Performance Budgets

Fast loading and smooth interactions are critical for Base MiniApps. These performance budgets define the standards your app must meet for featuring eligibility and optimal user experience.
Quality Bar RequirementMeeting these performance budgets is mandatory for featuring. Apps that don’t meet these standards will not pass the Quality Bar checklist.

Core Performance Targets

Loading Performance

Runtime Performance

Network Budgets

Detailed Requirements

JavaScript Performance

Bundle Size Optimization

Code Splitting Strategy

CSS Performance

Critical CSS Inlining

CSS Optimization

Image Optimization

Responsive Images

Image Loading Strategy

Network Optimization

Resource Hints

Caching Strategy

Testing & Measurement

Lighthouse Testing

Use Lighthouse to validate performance:

Budget Configuration

Performance Monitoring

Real User Monitoring

Common Performance Issues

❌ JavaScript Problems

Bundle Bloat

Inefficient Rendering

❌ CSS Problems

Inefficient Selectors

Layout Thrashing

❌ Image Problems

Unoptimized Images

Performance Optimization Checklist

Build Optimization

  • Tree Shaking: Remove unused code from bundles
  • Code Splitting: Split routes and heavy components
  • Bundle Analysis: Identify and remove bloat
  • Compression: Enable gzip/brotli on server
  • Minification: Minify JavaScript, CSS, and HTML

Runtime Optimization

  • Lazy Loading: Defer non-critical resources
  • Memoization: Cache expensive calculations
  • Virtual Scrolling: For long lists
  • Image Optimization: Use appropriate formats and sizes
  • Debouncing: Limit expensive operations

Network Optimization

  • CDN: Use CDN for static assets
  • Caching: Implement proper cache headers
  • Compression: Compress text-based resources
  • Resource Hints: Preload critical resources
  • HTTP/2: Use modern protocols

Measurement

  • Lighthouse Audit: Score ≥ 85 on mobile
  • Real User Monitoring: Track actual user performance
  • Performance Budget: Stay within defined limits
  • Core Web Vitals: Meet Google’s standards
  • Device Testing: Test on low-end devices

Resources

Continuous MonitoringPerformance is not a one-time optimization. Continuously monitor your app’s performance and address regressions quickly to maintain featuring eligibility.