Performance
· 16 checks — Lighthouse + waterfall + sustainability rolled into one auditable list.Performance-focused optimization plan with CWV assessment, top offenders, and time estimates
First Contentful Paint First Contentful Paint — how long until the browser renders the first piece of content. Under 1.8s is good.
2.89 s
Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.
18.04 s
Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.
3.86 s
Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.
0.001
Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.
8.95 s
Time to Interactive Time to Interactive — how long until the page is fully interactive and responds to user input. Under 3.8s is good.
19.96 s
Page Load Progression
DPage Weight BudgetAction2.5 MB transferred, 78 requestsFIX
Large JavaScript bundles delay interactivity. Split code by route or defer non-critical scripts.
JavaScript bundle is large — code-split routes and lazy-load off-screen components to defer.
Source: web.dev
DThird-Party ImpactAction100% third-party, 0 ms blockingFIX
FJS Execution CostAction10997ms total JS executionFIX
Main Thread Breakdown
| Script | Total | Scripting | Parse/Compile | Party |
|---|---|---|---|---|
| https://www.thetrainline.com/public/hweb/js/Home.15c2810c2fc56a12ed5a.mjs | 3585ms | 2191ms | 257ms | 3rd |
| https://www.thetrainline.com/en-us | 1669ms | 315ms | 72ms | 3rd |
| Unattributable | 922ms | 90ms | 0ms | 3rd |
| https://www.thetrainline.com/public/hweb/js/vendors.9ac2e1b9cc95010cc332.mjs | 877ms | 500ms | 311ms | 3rd |
| https://www.thetrainline.com/public/hweb/js/app.89b9a0d98d3ad67146be.mjs | 810ms | 791ms | 18ms | 3rd |
| https://cdn.cookielaw.org/scripttemplates/202601.2.0/otTCF.js | 714ms | 664ms | 9ms | 3rd |
| https://www.googletagmanager.com/gtm.js?id=GTM-NJRBF7N | 484ms | 358ms | 95ms | 3rd |
| https://cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 483ms | 301ms | 67ms | 3rd |
| https://dd.thetrainline.com/tags.js | 370ms | 314ms | 18ms | 3rd |
| https://securepubads.g.doubleclick.net/pagead/managed/js/gpt/m202604060101/pubads_impl.js?cb=31097718 | 249ms | 169ms | 76ms | 3rd |
Showing top 10 of 15 scripts
FJS BundlesAction27 scripts, 962 KB unusedFIX
Downloaded but never executed on this page.
| Script | Size | Unused | Minified | Party |
|---|---|---|---|---|
| https://www.thetrainline.com/public/hweb/js/Home.15c2810c2fc56a12ed5a.mjs | 611 KB | 350 KB (57%) | ✓ | 3rd |
| https://www.thetrainline.com/public/hweb/js/vendors.9ac2e1b9cc95010cc332.mjs | 647 KB | 335 KB (52%) | ✓ | 3rd |
| https://securepubads.g.doubleclick.net/pagead/managed/js/gpt/m202604060101/pubads_impl.js?cb=31097718 | 183 KB | 139 KB (76%) | ✓ | 3rd |
| https://www.googletagmanager.com/gtm.js?id=GTM-NJRBF7N | 193 KB | 76 KB (39%) | ✓ | 3rd |
| https://cdn.cookielaw.org/scripttemplates/202601.2.0/otBannerSdk.js | 128 KB | 61 KB (48%) | ✓ | 3rd |
| https://www.thetrainline.com/public/hweb/js/shareable-login-it-IT-json-translations.d58965399cff02397f7e.mjs | 4 KB | — | ✓ | 3rd |
| https://www.thetrainline.com/public/hweb/js/80862.ab86151296010e8724fa.mjs | 8 KB | — | ✓ | 3rd |
| blob:https://www.thetrainline.com/d1595545-b86c-40c3-acac-1fc6b0cff410 | -0 KB | — | ✓ | 3rd |
| https://cdn.cookielaw.org/scripttemplates/otSDKStub.js | 9 KB | — | ✓ | 3rd |
| https://www.thetrainline.com/public/hweb/js/shareable-header-register-overlay.b9bf76aa76ba7718356b.mjs | 6 KB | — | ✓ | 3rd |
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
Consider code splitting or tree shaking to reduce unused code.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
FHTTP CachingActionNo cache headersFIX
No Cache-Control header
Adding a Cache-Control header can significantly improve repeat-visit performance.
CImage OptimizationAction8 images, 0 KB saveableREVIEW
Set explicit width and height to prevent CLS.
Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.
Source: web.dev / Core Web Vitals
Set explicit width and height to prevent CLS.
Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.
Source: web.dev / Core Web Vitals
Set explicit width and height to prevent CLS.
Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.
Source: web.dev / Core Web Vitals
CGreen HostingActionWhether the site is served from green-energy infrastructureREVIEW
Green Hosting
No green hosting detected
A+Text CompressionAll text resources are compressedPASS
A+Font Loading2 fonts (42 KB)PASS
Web fonts
2
42 KB total
Render-blocking
0
of 2
Dominant font-display
swap
Most common across fonts
Font loading timeline
- Convert to woff2 for ~30% smaller file size
Optimization checklist
- Preload critical fonts (priority=high)
- Use woff2 format for all fonts
- Set font-display to swap, optional, or fallback
- Subset large fonts (≤100 KB each)
A+Resource CachingAll resources properly cachedPASS
A+Critical Rendering PathNo render-blocking resourcesPASS
A+Resource Hints7 hints, 0 missing preconnectsPASS
Current Resource Hints
7 resource hints configured
A+Render-Blocking ResourcesNo render-blocking resources detectedPASS
A+Third-Party ResourcesNo third-party resources detectedPASS
Network Waterfall78 requests over 0msINFO
Performance analysis not available for this result.
Third-Party Script CostPer-script blocking time, transfer cost, and cache headersINFO
| Script | Category | Execution | Transfer | Unused | Monthly Cost | Verdict |
|---|---|---|---|---|---|---|
www.thetrainline.com www.thetrainline.com | Other | 3585ms | 611 KB | 57% | $62/mo | Costly |
www.thetrainline.com www.thetrainline.com | Other | 1669ms | 120 KB | — | $29/mo | Costly |
Unattributable Unattributable | Other | 922ms | 0 KB | — | $16/mo | Costly |
www.thetrainline.com www.thetrainline.com | Other | 877ms | 647 KB | 52% | $15/mo | Costly |
www.thetrainline.com www.thetrainline.com | Other | 810ms | 48 KB | — | $14/mo | Costly |
OneTrust cdn.cookielaw.org | Consent | 714ms | 18 KB | — | $12/mo | Essential |
Google Tag Manager www.googletagmanager.com | Tag Manager | 484ms | 193 KB | 39% | $8/mo | Costly |
OneTrust cdn.cookielaw.org | Consent | 483ms | 128 KB | 48% | $8/mo | Essential |
dd.thetrainline.com dd.thetrainline.com | Other | 370ms | 43 KB | — | $6/mo | Costly |
securepubads.g.doubleclick.net securepubads.g.doubleclick.net | Other | 249ms | 183 KB | 76% | $4/mo | Costly |
js-agent.newrelic.com js-agent.newrelic.com | Other | 241ms | 30 KB | — | $4/mo | Costly |
www.thetrainline.com www.thetrainline.com | Other | 219ms | 2 KB | — | $4/mo | Costly |
securepubads.g.doubleclick.net securepubads.g.doubleclick.net | Other | 159ms | 34 KB | — | $3/mo | Optional |
OneTrust cdn.cookielaw.org | Consent | 149ms | 9 KB | — | $3/mo | Essential |
cdn.branch.io cdn.branch.io | Other | 65ms | 23 KB | — | $1/mo | Optional |
These scripts may cost more than they're worth
- www.thetrainline.com adds 3585ms and costs ~$62/month
- www.thetrainline.com adds 1669ms and costs ~$29/month
- Unattributable adds 922ms and costs ~$16/month
- www.thetrainline.com adds 877ms and costs ~$15/month
- www.thetrainline.com adds 810ms and costs ~$14/month
- Google Tag Manager adds 484ms and costs ~$8/month
- dd.thetrainline.com adds 370ms and costs ~$6/month
- securepubads.g.doubleclick.net adds 249ms and costs ~$4/month
- js-agent.newrelic.com adds 241ms and costs ~$4/month
- www.thetrainline.com adds 219ms and costs ~$4/month
100% of JavaScript execution time is spent on third-party scripts. Consider auditing which scripts are essential.
When third-party JS execution time exceeds your own, performance gains from frontend work are capped by code you don't own.
Learn more ▾ ▴
Every millisecond of third-party JS competes with your own for main-thread time. If their share is bigger than yours, optimization on your code base barely moves the needle. Audit, defer, or remove third-parties before further frontend optimization. Use Lighthouse's third-party audit to identify the worst offenders.
Source: web.dev
www.thetrainline.com takes 3585ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
57% of www.thetrainline.com's code is unused. The script may be loading features you don't use.
Bundle has high unused-code ratio — tree-shaking and route-splitting recover the wasted bytes.
Source: web.dev
www.thetrainline.com takes 1669ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
Unattributable takes 922ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
www.thetrainline.com takes 877ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
52% of www.thetrainline.com's code is unused. The script may be loading features you don't use.
Bundle has high unused-code ratio — tree-shaking and route-splitting recover the wasted bytes.
Source: web.dev
www.thetrainline.com takes 810ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
Google Tag Manager takes 484ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
dd.thetrainline.com takes 370ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
securepubads.g.doubleclick.net takes 249ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
76% of securepubads.g.doubleclick.net's code is unused. The script may be loading features you don't use.
Bundle has high unused-code ratio — tree-shaking and route-splitting recover the wasted bytes.
Source: web.dev
js-agent.newrelic.com takes 241ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
www.thetrainline.com takes 219ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev