top of page

Web Performance Budget: Why Speed Is a Design Decision

5 days ago
8 min read

Updated: 3 days ago

The hero video was approved in a design review on a studio monitor, over fibre, on a machine that cost more than most of the site's visitors earn in a month. It looked superb. On the phone the actual visitor was holding, in the car park with two bars of signal, it was eight seconds of blank screen followed by a page that stuttered when scrolled.


Nobody decided to make the site slow. Someone decided to add a video, and the slowness came with it, because every element on a page has a cost and that cost was never written down. Performance work then happens afterwards, in the development phase, as an attempt to make a heavy design light, and it fails for the same reason that retrofitting accessibility fails: the decision that mattered was already made. A web performance budget is how you put that cost on the table before anything is designed.


Performance isn't a technical property applied to a finished design. It's the sum of design decisions, each with a price, and the only way to control the sum is to price the decisions when they're made.


Three Currencies, Not One


"Page weight" is the usual proxy and it's the least important of the three ways a design element costs the visitor.


Bytes. What has to travel across the network. Images, video, fonts, scripts, stylesheets. This is the currency everyone measures because it's easy to see. It matters most on slow or metered connections, and it's the one modern networks have done the most to subsidise.


Processor time. What the visitor's device has to do once the bytes arrive: parse and execute scripts, decode images, calculate layout, paint the screen. This is the currency almost nobody prices, and it's the one that now dominates. The gap between how a site performs on a developer's laptop and on a visitor's phone is mostly not the network. It's that a mid-range phone takes several times longer to run the same JavaScript, and the design decided how much JavaScript there'd be.


Requests and dependencies. How many separate things have to be fetched, and from how many places. Each third-party script is a request to a server you don't control, with a response time you can't guarantee, that often blocks rendering until it answers. A page can be light in bytes and slow in practice because it waits on four external services before it shows anything.


A design decision usually spends in more than one currency at once. A hero video costs bytes. A chat widget costs a request to a third party, then processor time to run. A custom font in five weights costs bytes and a flash of unstyled text while they load. Pricing decisions in bytes alone misses most of the bill.

The network got faster. The phone in the visitor's hand didn't get proportionally faster at running the code the design asked for. Processor time is the budget most sites have already overspent.

The Ledger: What Things Cost


Rough prices for common design decisions, in the currency they mostly spend. Exact figures vary by implementation; the order of magnitude doesn't.


Design decision

Mostly costs

Typical price

What it has to earn

Autoplaying hero video

Bytes, processor

Several megabytes; delays first meaningful content

A measurable lift in engagement or conversion on that page, which is rarely tested

Full-bleed photography, unoptimised

Bytes

Hundreds of KB to multiple MB per image

Brand credibility; usually achievable at a fraction of the weight

Custom web font, multiple weights

Bytes, render delay

Tens of KB per weight; text invisible or unstyled until loaded

Typographic identity; usually achievable with two weights

Animation libraries and scroll effects

Processor

Script parse time plus continuous main-thread work while scrolling

Delight; costs most on the devices that can least afford it

Chat widget

Requests, processor

Third-party script, often hundreds of KB, loaded on every page

Lead capture; only earns on pages where enquiry is plausible

Analytics, tag managers, pixels

Requests, processor

Each one a dependency; together often the largest script payload on the page

Measurement; most sites run tags nobody has read the output of in a year

Embedded social or review feeds

Requests, processor, layout shift

External scripts plus content that reflows the page when it arrives

Social proof; a static screenshot of the same reviews costs nothing

Carousel / slider

Processor, bytes

Script plus every slide's assets loaded whether seen or not

Almost nothing; research on carousel engagement has been discouraging for a decade

The right-hand column is the one that matters. A performance budget isn't a rule that says no to everything on the list. It's a discipline that asks, for each item, what it has to earn to justify what it costs, and whether anyone has checked that it does.


The honest answer, in production builds, is that most of the heavy elements were never asked to earn anything. They were added because they were available, or because a competitor had one, or because the design looked bare without them. The ledger exists so that "it looked bare" has to compete with "it costs three seconds on a phone."


Office objects each tagged with a red price tag, symbolising the performance cost of every design element


The Visitor Is a Mid-Range Phone


Every performance decision is made against an implicit model of the visitor's device, and the implicit model is wrong, because it's the designer's own.


The median mobile page now weighs over two megabytes, a figure that has grown several-fold over fifteen years while the actual content a visitor came for, the words and the one image that matters, has stayed at a few dozen kilobytes. The growth isn't content. It's scripts, fonts, tracking, embeds, and imagery sized for the review monitor rather than the hand.


The visitor absorbing that growth is, by the numbers, more likely on a phone than a desktop, and the phone is more likely mid-range than flagship. Mid-range phones are slower at executing JavaScript by a multiple, not a margin, and the multiple is what turns a design that feels instant in review into one that feels broken in use.


The design-review fix is procedural: review on the device the visitor uses. Not a simulation on a laptop; an actual mid-range phone, on mobile data, held in a hand. A design that passes that review is fast. A design that only passes on the monitor it was made on has been reviewed by the wrong person.


A Web Performance Budget Is a Design Brief, Not a Development Target


A performance budget is a set of limits a page may not exceed: total weight, script weight, number of third-party requests, time to first meaningful content on a defined device and connection. The useful insight is about when it's set.


Set after design, it's a target the developer tries to hit by compressing what the designer specified. The design made the decisions; development is optimising within them. That can recover some margin and it can't recover the hero video.


Set before design, it's a constraint the designer works inside, the same way a print designer works inside a page size and a colour budget. The decisions get made with their cost visible, and the expensive ones have to be justified at the moment they're proposed, by the person proposing them.


The second is the only version that works, and it changes the design conversation in a specific way. "Can we have a video hero?" becomes "a video hero is most of our budget on this page; what do we drop, or what does it earn that justifies that?" Sometimes the answer is that it earns it. Usually the conversation reveals that nobody knows, and that the question was never asked.

Three limits cover most of a business site's exposure:


A script ceiling per page type, measured compressed, with third-party scripts counted. This is the processor-time budget, and the one most often blown by tags and widgets added after launch.


A third-party dependency count, with a rule that each one has an owner and an answer to "what does this earn." Dependencies accrete; this is the limit that makes someone look at the list.


A time-to-content target on a named mid-range device and connection. This is the one the visitor experiences. It's set by the first two and by image handling, and it's the number the design is reviewed against.

A budget set after design is a compression target. A budget set before design is a brief. Only one of them decides what's on the page.

The Third-Party Layer Is a Procurement Problem


The single largest category of unpriced cost on most business sites isn't a design choice at all. It's the scripts added by marketing, analytics, support and sales tools, each one installed in minutes, each one a permanent dependency, collectively often the heaviest thing on the page.

This is the same structural problem as third-party components in accessibility compliance: you're responsible for them and you usually can't fix them. The fix is the same too. It's procurement, not optimisation. Before a script is added, someone states what it earns, who owns it, and when it will be reviewed. Scripts that fail the review are removed. In practice a quarterly review of the tag list removes a third of it, because a third of it was installed for a campaign that ended, a tool that was replaced, or a report nobody opens.


Man pulling a red plug from an overloaded power strip, symbolising third-party scripts slowing a web page

Where this doesn't apply as written: applications, as distinct from sites, where the script payload is the product and the user has chosen to wait for it. A web app that takes four seconds to become interactive and is then used for an hour is a different trade from a service page that takes four seconds and is then abandoned. The budget discipline still applies; the limits are different.


A Web Performance Budget Is a Design Brief, Not a Development Target


When a page is over budget, there's an order to the cuts, and it's roughly the inverse of the order things were added.


Scripts that don't earn. The tag list, the unused widget, the animation library loaded for one effect. Highest cost, lowest justification, first to go.


Third-party embeds that can be static. Review feeds, social feeds, map embeds. A static rendering of the same content, updated on a schedule, costs nothing at load and loses almost nothing in effect.


Media sized for the wrong screen. Images delivered at the review monitor's resolution to a phone. Responsive sizing, modern formats and lazy loading below the fold recover most of the byte budget without a visible change.


Font weights. Five becomes two. Nobody notices except the budget.


The hero video. Last, because it's the one someone will fight for, and the fight is worth having with the ledger in hand: here is what it costs on the visitor's device, here is the engagement data on the page with and without it. If the data isn't there, the video isn't earning anything measurable, and it's a cost without a return.


Content is never on this list. The words and the one image that matters are the cheapest things on the page and the only things the visitor came for.


Woman sliding a red block from a stacked office tower, symbolising what a web performance budget cuts first

The Actual Position


Performance gets handled as an engineering phase: the design is finished, the build is slow, someone is asked to make it faster. That framing guarantees the outcome, because by the time the engineer is involved every expensive decision has been made and approved by people who never saw its price.


The better framing is a ledger. Every element costs the visitor something, in bytes, in processor time, in dependencies. Every element has to earn its place against that cost. The budget is set before layout, reviewed on the visitor's device rather than the designer's, and enforced at the point of adding things rather than the point of shipping.


Fast sites aren't the ones that were optimised hardest. They're the ones where someone asked what each thing cost before it was added, and said no to the ones that couldn't answer.


Comments


bottom of page