# Test performance for each version

- Check 27.08 · Development and accessibility by language · Important
- Source: https://checklist-seo-geo.com/en/development-accessibility-language/test-performance-each-version
- Compare the LCP, INP, CLS and TTFB of each language version with PageSpeed Insights, Search Console, CrUX, WebPageTest and real-user monitoring by language.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/development-accessibility-language/test-performance-each-version.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

A site's language versions share the same code, but not always the same performance. The German version may be served without a cache, the Japanese version may load a font of several megabytes, the Arabic version may depend on a translation plugin that slows down every page. The task is to measure each version separately, on equivalent pages, with real-user data and lab tests, then to explain and fix the gaps. Once it is done, you have a table comparing the Core Web Vitals of each language and monitoring that alerts you when one of them deteriorates.

## Why it matters

Core Web Vitals are measured on real visits: LCP (Largest Contentful Paint, display of the largest element), INP (Interaction to Next Paint, responsiveness) and CLS (Cumulative Layout Shift, stability). Google assesses them at the 75th percentile, per page when there is enough data, otherwise per group of pages or per origin.

A site-wide average hides the gaps between languages. If the French version accounts for most of the traffic, its good results dominate the reports, and a slow Polish version goes unnoticed even though it affects every Polish visitor. Yet there are many causes of slowness specific to one language:

- **Cache**: the default language is cached, the others are not, because the cache key or a language cookie prevents it.
- **On-the-fly translation**: a plugin or service that translates each page at request time lengthens TTFB (Time to First Byte).
- **Fonts**: heavier non-Latin scripts, poorly split subsets.
- **Images**: translated banners re-exported without compression or dimensions.
- **Local scripts**: chat widget, consent banner or analytics tool specific to one country.
- **Distance**: visitors far from the server when no CDN serves their region.
- **Longer texts**: more pronounced layout shifts when fonts load.

## What it improves

- **Core Web Vitals in each market**: the gaps become visible and fixable.
- **Conversion**: a slow version generally converts less; the effect is measured version by version.
- **Rankings**: Core Web Vitals are part of Google's page experience signals, one signal among many others. A small direct effect.
- **Infrastructure costs**: a missing cache on some languages also means needless server load.
- **Management**: a quantified basis for setting priorities between languages.

## How to check

The quick check: choose an equivalent page in each language (same template, same translated content) and run each one through PageSpeed Insights, on mobile. For each URL, note the field data (if available) and the lab score. A gap of more than a few hundred milliseconds in LCP or TTFB between two languages for the same template deserves investigation.

TTFB and cache check, without cookies, on each version:

```bash
for url in https://example.com/fr/tarifs/ https://example.com/de/preise/ https://example.com/ja/pricing/; do
  printf '%s ' "$url"
  curl -s -o /dev/null -D - -w 'TTFB %{time_starttransfer}s\n' "$url" | grep -i -E 'cf-cache-status|x-cache|age:|TTFB' | tr '\n' ' '
  echo
done
```

Run the loop twice in a row. Expected: on the second pass, every language shows a cache hit (`HIT`) and comparable TTFBs.

## How to implement

### Step 1 — Choose the reference pages

For each important template, select the same page in every language. Comparing the French homepage with a Japanese article tells you nothing.

| Template | fr | de | ja | ar |
|---|---|---|---|---|
| Homepage | `/fr/` | `/de/` | `/ja/` | `/ar/` |
| Pricing page | `/fr/tarifs/` | `/de/preise/` | `/ja/pricing/` | `/ar/pricing/` |
| Product page | `/fr/produits/sac-cuir/` | `/de/produkte/ledertasche/` | `/ja/products/leather-bag/` | `/ar/products/leather-bag/` |
| Article | `/fr/blog/guide-entretien/` | `/de/blog/pflegeanleitung/` | `/ja/blog/care-guide/` | `/ar/blog/care-guide/` |

### Step 2 — Collect field data

**PageSpeed Insights and the CrUX API**: for each URL, Chrome UX Report (CrUX) data appears if the page has enough traffic. To automate, query the CrUX API (free key created in Google Cloud):

```bash
curl -s -X POST "https://chromeuxreport.googleapis.com/v1/records:queryRecord?key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/de/preise/", "formFactor": "PHONE"}'
```

The response gives the 75th percentile (`p75`) of each available metric. If there is no data for the URL, replace `url` with `origin`: you will then only get one value for the whole domain.

**Search Console by language folder**: add a URL-prefix property for each version (`https://example.com/de/`). The [Core Web Vitals report](https://search.google.com/search-console/core-web-vitals) for this property only covers its URLs, which isolates each language. With a domain or subdomain per language, each property is already separate.

**CrUX in BigQuery**: the `country_xx` datasets give metrics by country, at origin level. They are mainly useful when each language has its own domain or subdomain, or for comparing the experience of visitors from a given country.

**Real-user measurement by language (RUM, Real User Monitoring)**: the only way to get per-language data for low-traffic pages. Google's `web-vitals` library measures the metrics for each visitor; add the page's language as a parameter:

```js
import { onCLS, onINP, onLCP, onTTFB } from 'web-vitals'

function sendToAnalytics({ name, delta, value, id, rating }) {
  gtag('event', name, {
    value: delta,
    metric_id: id,
    metric_value: value,
    metric_rating: rating,
    page_language: document.documentElement.lang,
  })
}

onCLS(sendToAnalytics)
onINP(sendToAnalytics)
onLCP(sendToAnalytics)
onTTFB(sendToAnalytics)
```

In Google Analytics, register `page_language` as an event-scoped custom dimension (`Admin > Custom definitions`), then build an exploration that combines event, language and value. Do not use Google Analytics' built-in “Language” dimension: it reflects the language of the visitor's browser, not that of the page. The page path (`/de/…`) also works as a segment.

> **Good to know:** without consent to audience measurement, these events are not collected in countries where consent is required. Samples for some languages may therefore be small: compare trends, not isolated values.

### Step 3 — Test in the lab

Lab tests explain the gaps observed.

**Lighthouse CI**: a `lighthouserc.json` configuration that tests the reference pages of every language on each deployment:

```json
{
  "ci": {
    "collect": {
      "url": [
        "https://example.com/fr/tarifs/",
        "https://example.com/de/preise/",
        "https://example.com/ja/pricing/",
        "https://example.com/ar/pricing/"
      ],
      "numberOfRuns": 3
    },
    "assert": {
      "assertions": {
        "largest-contentful-paint": ["warn", { "maxNumericValue": 2500 }],
        "cumulative-layout-shift": ["warn", { "maxNumericValue": 0.1 }],
        "server-response-time": ["warn", { "maxNumericValue": 800 }]
      }
    }
  }
}
```

**WebPageTest**: test each version from a location close to its market, when the list of locations allows it. The waterfall view shows the resources specific to one language: font, image, third-party script.

**Resource comparison**: in the DevTools `Network` tab, reload the same page in two languages and compare the number of requests, the total weight and the largest files.

### Step 4 — Build the comparison table

A spreadsheet with one row per reference page and per language, on mobile. The values below are fictitious examples:

| Template | Language | Field LCP p75 | Field INP p75 | Field CLS p75 | Lab TTFB | Cache | Page weight | Gap vs default language | Likely cause |
|---|---|---|---|---|---|---|---|---|---|
| Pricing | fr | 2.1 s | 150 ms | 0.04 | 0.3 s | HIT | 1.2 MB | Reference | — |
| Pricing | de | 3.4 s | 160 ms | 0.05 | 1.4 s | MISS | 1.2 MB | LCP +1.3 s | Page not cached |
| Pricing | ja | 3.0 s | 170 ms | 0.12 | 0.3 s | HIT | 4.8 MB | CLS × 3, weight × 4 | Full Japanese font |
| Pricing | ar | No data | — | — | 0.4 s | HIT | 1.5 MB | To be monitored with RUM | — |

Gap formula in a spreadsheet, for the LCP in row 3 relative to the reference in row 2: `=(C3-C2)/C2`.

### Step 5 — Fix according to the cause

| Symptom on one language | Common cause | Fix |
|---|---|---|
| High TTFB, systematic `MISS` | Cache key without the language, language cookie that disables the cache | [Check per-language cache handling](https://checklist-seo-geo.com/en/development-accessibility-language/check-per-language-cache-handling) |
| High TTFB despite the cache | On-the-fly translation, queries for translated strings | Page cache, or pre-generation of translated pages |
| High TTFB for one country only | Distance from the server | [Optimize hosting and CDN](https://checklist-seo-geo.com/en/performance-core-web-vitals/optimize-hosting-cdn), [check the CDN and language variants](https://checklist-seo-geo.com/en/development-accessibility-language/check-cdn-language-variants) |
| High LCP, different image | Unoptimized translated banner | Same formats, dimensions and compression as the original |
| Heavy page, CLS | Full non-Latin font | [Check fonts for each language](https://checklist-seo-geo.com/en/development-accessibility-language/check-fonts-each-language) |
| High INP | Country-specific third-party script | [Limit third-party scripts](https://checklist-seo-geo.com/en/performance-core-web-vitals/limit-third-party-scripts) |
| High CLS | Longer texts that reflow | [Test for text overflow](https://checklist-seo-geo.com/en/development-accessibility-language/test-text-overflow) |

### Step 6 — Monitor over time

Update the table every month from field data, and keep Lighthouse CI in the deployment pipeline. Paid monitoring tools (DebugBear, SpeedCurve, Calibre) let you watch a list of URLs per language and alert you when performance deteriorates; the free route relies on the CrUX API queried by a scheduled script and on Search Console. See [track Core Web Vitals](https://checklist-seo-geo.com/en/seo-kpis/track-core-web-vitals).

## Common mistakes

- **Measuring only the default language** and concluding that the whole site is fast.
- **Comparing different pages** from one language to another.
- **Testing with a language cookie** in your browser: the cache behaves differently than for a new visitor.
- **Confusing Google Analytics' “Language” dimension** (the visitor's browser) with the page's language.
- **Relying on the Lighthouse score alone**: it measures a lab test, not the visitors' experience.
- **Drawing conclusions from a small sample** of real-user data for a minor language.
- **Testing from a single country** when markets are spread across several continents.

## Frequently asked questions

### How do you see the Core Web Vitals of a single language in Search Console?

Add a URL-prefix property for the language's folder, for example https://example.com/de/. The Core Web Vitals report for that property then only covers the URLs in that folder. If each language has its own domain or subdomain, its properties are already separate. Data only appears if the pages concerned receive enough visits from Chrome browsers.

### Why is a translated version slower than the original?

The most common causes are a cache that only works for the default language, a plugin that translates pages at request time, an overly heavy non-Latin font, unoptimized translated images and country-specific scripts. The distance between the server and visitors in a faraway market also plays a part. Compare the same page in two languages with curl and the Network tab to find the gap.

### Is Google Analytics' Language dimension enough to segment by version?

No. Google Analytics' built-in Language dimension shows the language configured in the visitor's browser, not that of the page viewed. A German speaker reading the French version appears as German. To segment by version, filter on the page path, for example URLs starting with /de/, or send the page's language as an event parameter registered as a custom dimension.

### Do you need CrUX data for each language?

It is not always possible. CrUX only publishes URL-level data for pages with enough visits from Chrome browsers; small language versions often have none. In that case, rely on the Search Console reports per folder, which group similar pages, on real-user measurement with the web-vitals library, and on regular lab tests with Lighthouse CI or WebPageTest.

## Resources

- [Search Console Help: Core Web Vitals report](https://support.google.com/webmasters/answer/9205520?hl=en)
- [Chrome for Developers: CrUX API](https://developer.chrome.com/docs/crux/api)
- [Chrome for Developers: CrUX on BigQuery](https://developer.chrome.com/docs/crux/bigquery)
- [GoogleChrome: web-vitals library](https://github.com/GoogleChrome/web-vitals)
- [Google Analytics Help: Custom dimensions and metrics](https://support.google.com/analytics/answer/14240153?hl=en)
- [Lighthouse CI: Configuration](https://github.com/GoogleChrome/lighthouse-ci/blob/main/docs/configuration.md)

Next steps: [Test SSR/SSG for all languages](https://checklist-seo-geo.com/en/development-accessibility-language/test-ssr-ssg-all-languages) and [Check per-language cache handling](https://checklist-seo-geo.com/en/development-accessibility-language/check-per-language-cache-handling).
