Engineering

Performance budgets: building fast products for African users

Why speed is a product feature in markets with costly data and mid-range phones, and how to set and keep a performance budget using Core Web Vitals.

A slow product isn’t only frustrating. Where mobile data is expensive and many people use mid-range Android phones, every extra megabyte and second costs customers money and patience. Speed is a feature, and like any feature it needs an owner and a target.

Start from Google’s Core Web Vitals

Core Web Vitals give a shared language for “fast”. A page is considered good when Largest Contentful Paint (when the main content appears) is 2.5 seconds or less, Interaction to Next Paint (how quickly it responds to taps) is 200 milliseconds or less, and Cumulative Layout Shift (how much things jump around) is 0.1 or less. Google assesses these at the 75th percentile of real visits, so the slower phones in your audience count.

Set a budget before you design

A performance budget is a limit the team agrees not to cross, such as total page weight, JavaScript size or time to first content on a mid-range phone over a slow connection. Agreeing it before design keeps heavy hero videos and oversized libraries from sneaking in.

Where the weight usually comes from

  • Images: serve modern formats such as WebP or AVIF at the size they are shown, and lazy-load anything below the fold.
  • JavaScript: every library is downloaded, parsed and run on the phone. Ship less, and load features only when they are needed.
  • Fonts: host them yourself, subset them and limit the number of weights.
  • Third-party scripts: chat widgets, trackers and embeds are often the heaviest things on a page.

Test like your customers

Use throttled network and CPU settings in your browser tools, and test on a real mid-range Android phone. Lab tools such as Lighthouse help you find problems; real-user data tells you whether you fixed them.

Make it part of shipping

Check the budget in code review and in your release checklist, and treat a regression like any other bug. This website, for example, is built to load its main content in under two seconds on a mobile connection.

Want a fast product from day one? See our product engineering service.

Comments

  1. Loading comments…

Join the conversation

Comments are public. Please be kind and keep it on topic; links aren’t allowed. We don’t ask for your email.

Building something like this?

Tell us what you are working on. We reply within 24 hours on working days with an honest view of whether, and how, we can help.

Prefer chat? Message us on WhatsApp (opens in a new tab). Lagos is on GMT+1 all year, within an hour of London and Central Europe.