Laravel Vitals
Toggle theme
audit · Apr 27, 12:00
/blog

blog

mobile · Mon, Apr 27, 2026 12:00 PM ·
demo
Perf
D
62/100
Global
B
87/100
Performance
Lighthouse Performance score
D
Accessibility
Lighthouse Accessibility score
A
Best Practices
Lighthouse Best Practices score
A
SEO
Lighthouse SEO score
A

Core Web Vitals

LCP
Largest Contentful Paint — time until the largest visible content element is rendered. Good = under 2.5s.
4890ms
Largest Contentful Paint
CLS
Cumulative Layout Shift — how much visible content unexpectedly shifts during load. Good = under 0.1.
0.28
Cumulative Layout Shift
INP
Interaction to Next Paint — latency between user input and the next paint. Good = under 200ms.
360ms
Interaction to Next Paint
TTFB
Time to First Byte — how long the server takes to respond with the first byte. Good = under 800ms.
1213ms
Time to First Byte

Front-end ↔ Back-end breakdown

LCP composition 4890ms total
backend 1213ms (24.8%)
frontend 3677ms (75.2%)
N+1 query pattern detected
113 queries executed in 206 ms (4 unique patterns). Fixing this could shave ~144 ms off your TTFB.

Backend telemetry

Queries
113 (4 unique)
Query time
206ms
Memory peak
65.0MB
Cache hit rate
86%

Recommendations

5

performance

Reduce unused JavaScript

Warning
View all occurrences

JavaScript shipped to the browser but never executed wastes bandwidth and parse time.

Unused JavaScript still costs network bandwidth, parse time, and CPU. The browser must download, parse, and compile every byte you ship — even if it never executes.

Typical savings: 30-60% bundle size, 200-500ms LCP improvement
Recommended
// Lazy-load route-specific JS
const Dashboard = () => import('./Dashboard.js');

// Or use @vite directive in Blade
@vite(['resources/js/app.js'])
Avoid
<!-- Loading the entire bundle on every page -->
<script src="/build/everything.js"></script>
Found in your application
resources/views/blog.blade.php:12
<script src="/build/assets/app-abc.js"></script>
Hint: Use @vite([...]) instead.

N+1 query pattern detected

Warning
View all occurrences

A query pattern repeated above the configured threshold during this audit.

N+1 queries happen when accessing a relation inside a loop without eager loading. Each iteration triggers a separate SQL query — 100 items = 101 queries.

Typical savings: cuts query count by 90%, 200-1500ms TTFB improvement
Recommended
// Eager-load the relationship
$users = User::with('posts')->get();
foreach ($users as $user) {
    echo $user->posts->count();
}
Avoid
// 1 + N queries — fires a SELECT for each user
$users = User::all();
foreach ($users as $user) {
    echo $user->posts->count();
}

Repeated queries

  • SELECT * FROM posts WHERE user_id = ?
    ×24 app/Http/Controllers/BlogController.php:42
  • SELECT * FROM comments WHERE post_id = ?
    ×18 app/View/Components/PostCard.php:18

seo

H1 heading present and unique

Critical
View all occurrences

Each page should have exactly one H1 heading that describes the page content.

Meta description present

Warning
View all occurrences

A meta description improves click-through rate in search results.

All images have alt text

Warning
View all occurrences

Images without alt text are invisible to search engines and screen readers.

Page details

Page weight
2,817 KB
HTTP requests
55
DOM elements
1,773
Render-blocking
471ms
LCP element
main > section.hero > img <img src="/images/hero.jpg" loading="eager">

Resource breakdown

Type
Count
Size
script 7 405 KB
stylesheet 2 71 KB
image 9 490 KB
font 4 64 KB
document 1 29 KB

Third-party impact

3
Entity
Transfer
Blocking
Main thread
Google Tag Manager 55 KB
320ms
410ms
Facebook Pixel 37 KB 180ms 220ms
Google Analytics 23 KB 90ms 140ms

Main thread breakdown

Slowest requests

URL
Type
Size
Duration
vendor.js
Script
371 KB
1093ms
products
XHR
24 KB
347ms

Cache policy issues

2

Resources with cache TTL under 30 days. Long-term caching reduces repeat-visit load times.

  • https://example.test/old.js
    1h
  • https://example.test/font.woff2
    no cache

Diagnostics

Critical request chain depth
7 levels
Top JS execution costs
  • app.js 311ms
  • vendor.js 297ms
Open Vitals Spotlight (Cmd+K)
Open Vitals Spotlight (Ctrl+K)
Type at least 2 characters to search
↑↓ Navigate Open
0 results