All posts

How to Test WordPress Theme Speed Before You Switch

A theme demo's PageSpeed score tells you little. How to benchmark a WordPress theme fairly on staging, which numbers to record, and how speed affects SEO.

Sketch of a stopwatch in front of a monitor showing a WordPress site

You've narrowed it down to two or three themes, and every one of them claims to be "lightning fast." Their demo sites all score in the 90s on PageSpeed Insights. That number tells you almost nothing, because a demo runs on the vendor's hosting with a handful of posts and none of your plugins.

The only test that counts is the theme running your content, on your hosting, with your plugins. This guide shows how to set that up, what to measure, how to keep the comparison fair, and how much theme speed actually matters for SEO.

If your site already fails Core Web Vitals and you're not sure the theme is to blame, read WordPress speed optimization first. It shows how to find the metric you fail before you swap anything.

Lab data vs field data: know what you're testing

There are two kinds of speed data, and theme testing only gives you one of them.

Lab data comes from a simulated page load, like the Lighthouse score in PageSpeed Insights. It's repeatable, which makes it right for comparing themes. Field data comes from real Chrome users through the Chrome UX Report, and it's what Search Console shows and what Google uses. A staging site has no real visitors, so it has no field data.

That shapes how you test. Use lab data to compare themes against each other. Then, after you switch, watch the field data in Search Console to confirm the improvement held up for real visitors. web.dev's article on lab and field data differences explains why the two often disagree.

The tools worth using

Tool

Data type

Best for

PageSpeed Insights

Lab, plus field data for live URLs with enough traffic

Quick mobile and desktop comparison

Lighthouse in Chrome DevTools

Lab

Testing staging sites that aren't public

Chrome DevTools Network panel

Raw requests

Seeing exactly which CSS, JS, and font files a theme loads

GTmetrix

Lab

Waterfall charts and test history

Pingdom Website Speed Test

Lab

A simple second opinion on load time and page size

Query Monitor

Server-side

Database queries and PHP time added by the theme

PageSpeed Insights only tests public URLs. If your staging site is password-protected, run Lighthouse from Chrome DevTools instead, which uses the same engine.

Metrics to record

The overall Lighthouse score is a weighted blend. In Lighthouse 10 and later, Total Blocking Time carries 30 percent, Largest Contentful Paint and Cumulative Layout Shift 25 percent each, and First Contentful Paint and Speed Index 10 percent each (Lighthouse scoring docs). Record the individual metrics, not only the score.

Metric

What it tells you about a theme

Good target

Largest Contentful Paint (LCP)

How quickly the main content renders

2.5 seconds or less

Total Blocking Time (TBT)

How much JavaScript blocks the page; the lab stand-in for INP

As low as possible

Cumulative Layout Shift (CLS)

Whether fonts, images, or banners shift the layout

0.1 or less

First Contentful Paint (FCP)

How fast anything appears

1.8 seconds or less

Total page weight

Bytes the theme adds to every page

Lower is better

Number of CSS and JS files

How many assets the theme enqueues

Lower is better

The LCP, CLS, and FCP targets come from Google's Web Vitals guidance. Interaction to Next Paint (INP), the Core Web Vital for responsiveness, can't be measured in a lab test because it needs a real person tapping the page. TBT is the closest lab proxy, so a theme with high TBT is likely to struggle with INP.

How to set up a fair test

Build a staging copy

Test on a staging copy of your site that runs on the same hosting as production. Many hosts offer one-click staging. A local install with Local works for a quick first pass, but your laptop isn't your server, so confirm the finalists on real hosting.

Your staging copy needs your real content, your real plugins, and your real images. A theme that's fast with three demo posts can slow down badly once it renders your 40-block posts and your plugin stack.

Test the bare theme first

Before you customize anything, activate each candidate with its default settings and test the same three URLs: the homepage, a typical long post, and a category archive. This shows what the theme costs before you add starter templates, extra fonts, or page builder layouts.

Then build out your real design in the leading candidate and test again. The gap between those two runs shows how much the customization added, which is often more than the theme itself.

Keep conditions identical

Speed tests are noisy, so control what you can:

  • Same hosting, same plugins, same content for every theme.
  • The same caching setup for every test. Either test all themes with page caching on (realistic) or all with it off (shows raw theme cost), but don't mix.
  • Clear caches between theme changes, then load the page once to warm the cache before testing.
  • Test from the same location and on the same device profile (mobile first).
  • Run each test at least three times and use the median. Google's Lighthouse variability notes explain why single runs mislead.
  • Use a browser profile with no extensions when running Lighthouse locally. Extensions inject scripts and skew results.

Record the results

Write the median of each metric into a simple sheet, one row per theme and one block per URL:

Theme

URL tested

LCP

TBT

CLS

Page weight

CSS and JS files

Current theme

Homepage

Current theme

Long post

Candidate A

Homepage

Candidate A

Long post

Fill in your own numbers. Compare each candidate against your current theme on the same URL, and pay most attention to the mobile LCP and TBT columns.

Watch: five themes compared

This video from WPCrafter compares Astra, GeneratePress, Hello, OceanWP, and a page-builder framework theme. It's a useful example of a side-by-side method, though the results will differ on your hosting and content.

Screenshot of the Astra WordPress theme website

How theme speed affects SEO

Core Web Vitals are a ranking signal, not the main one

Google says Core Web Vitals are used by its ranking systems, and also that it shows the most relevant content even when page experience is poor. In practice, speed works as a tiebreaker between pages that answer the query equally well. A faster theme won't lift a weak post, but a slow one can cost you close calls.

The thresholds that count are measured at the 75th percentile of real page loads, so your slower visitors on mid-range phones decide whether you pass. That's why mobile results matter more than desktop when you compare themes.

Speed affects what happens after the click

The more direct cost of a slow theme is visitors who leave before the page finishes loading. That hurts sign-ups, sales, and ad revenue whether or not rankings move.

Crawl budget is rarely a theme problem

You'll see claims that a slow theme wastes crawl budget and leaves pages unindexed. For most WordPress sites that's not a real concern. Google's crawl budget guide is written for sites with roughly a million or more pages, or 10,000 or more pages that change daily. Google does crawl less when a server responds slowly, so a very slow server can matter on large sites. A small blog won't run out of crawl budget because of its theme.

After you pick a theme

Once you've chosen a theme, a few things keep it fast:

  1. Serve images as WebP. Google's WebP documentation reports lossy WebP files are 25 to 34 percent smaller than comparable JPEGs, and lossless WebP files are 26 percent smaller than PNGs.
  2. Turn page caching back on, using either your host's cache or one caching plugin, not both.
  3. Disable theme modules you don't use. Most lightweight themes let you switch off features that load extra CSS or JavaScript.
  4. Check your field data in Search Console about four weeks after the switch. The Core Web Vitals report uses a rolling 28-day window, so it takes that long to reflect the new theme.

If you're still choosing, our roundup of fast-loading WordPress themes is a good shortlist to test, and does changing a WordPress theme affect SEO covers the rest of the switch beyond speed.

FAQs

Can I test a theme's speed from its demo site?

You can, but treat it as a rough filter only. The demo runs on the vendor's hosting with minimal content and no third-party plugins. Use it to rule out obviously heavy themes, then test the finalists on a staging copy of your own site.

Why do my PageSpeed scores change every time I run a test?

Lab tests vary with network conditions, server load, and other processes on the testing machine. Run each test at least three times and compare medians. A difference of a few points between two themes is usually noise.

Should I test with caching turned on or off?

Either works, as long as every theme is tested the same way. Testing with caching on reflects what visitors get. Testing with it off shows how much work the theme itself does on each request.

Which matters more, mobile or desktop results?

Mobile. Google indexes the mobile version of your pages, and mobile devices are where heavy themes struggle most. If a theme wins on desktop but loses on mobile, treat it as a loss.

The short version

Don't trust demo scores. Copy your site to staging on the same hosting, test the bare theme and then your customized design on three representative URLs, and record median LCP, TBT, CLS, and page weight on mobile. Keep everything except the theme identical. Pick the theme that wins on mobile, then confirm the result in Search Console's field data a month after launch.