Skip to content

All Frameworks

Methodology: Dependency Counts.

For dependency counts, we start by looking at the dependencies for the meta-framework package directly. For example, how many production, development and overall dependencies does `Nuxt` have? We then look at dependencies for the starter projects specifically. Looking at a project's dependencies is more realistic (like the `starter-*` projects) as meta-frameworks rarely just include the meta-framework package alone. It is also important to look at direct dependencies.
FrameworkDepsDevProdGraph
Astro802753View
Mastro101View
Next.js2292236View
Nuxt681157View
React Router502228View
SolidStart29425View
SvelteKit251312View
TanStack Start808View

Metaframework Dependencies

Metaframework Dependencies chart
Metaframework Dependencies data
FrameworkDependency count
Mastro1
TanStack Start8
SvelteKit25
SolidStart29
React Router50
Nuxt68
Astro80
Next.js229

The chart includes a dotted median reference line calculated from the visible framework values.

Metaframework Development Dependencies

Metaframework Development Dependencies chart
Metaframework Development Dependencies data
FrameworkDependency count
Mastro0
TanStack Start0
SolidStart4
Nuxt11
SvelteKit13
React Router22
Astro27
Next.js223

The chart includes a dotted median reference line calculated from the visible framework values.

Metaframework Production Dependencies

Metaframework Production Dependencies chart
Metaframework Production Dependencies data
FrameworkDependency count
Mastro1
Next.js6
TanStack Start8
SvelteKit12
SolidStart25
React Router28
Astro53
Nuxt57

The chart includes a dotted median reference line calculated from the visible framework values.

FrameworkDeps Dev / ProdAll DepsDup. Depsnode_modulesDep Install SizeGraph
Astro2 / 138711207.93MB186.65MBView
Mastro2 / 26029.16MB27.39MBView
Next.js6 / 342112560.04MB506.22MBView
Nuxt2 / 369463208.80MB172.24MBView
React Router8 / 62689106.86MB102.22MBView
SolidStart1 / 62278124.34MB99.61MBView
SvelteKit7 / 0157294.96MB98.06MBView
TanStack Start11 / 1342414234.77MB198.52MBView

Starter Project Dev Dependencies

Starter Project Dev Dependencies chart
Starter Project Dev Dependencies data
FrameworkDependency count
SolidStart1
Astro2
Mastro2
Nuxt2
Next.js6
SvelteKit7
React Router8
TanStack Start11

The chart includes a dotted median reference line calculated from the visible framework values.

Starter Project Production Dependencies

Starter Project Production Dependencies chart
Starter Project Production Dependencies data
FrameworkDependency count
SvelteKit0
Astro1
Mastro2
Next.js3
Nuxt3
React Router6
SolidStart6
TanStack Start13

The chart includes a dotted median reference line calculated from the visible framework values.

Starter Project Duplicate Dependencies

Starter Project Duplicate Dependencies chart
Starter Project Duplicate Dependencies data
FrameworkDependency count
Mastro0
SvelteKit2
SolidStart8
React Router9
Astro11
Next.js12
TanStack Start14
Nuxt63

The chart includes a dotted median reference line calculated from the visible framework values.

Methodology: Node Modules Size.

Node modules size

Node modules size chart
Node modules size data
FrameworkMegabytes
Mastro29.16 MB
SvelteKit94.96 MB
React Router106.86 MB
SolidStart124.34 MB
Astro207.93 MB
Nuxt208.80 MB
TanStack Start234.77 MB
Next.js560.04 MB

The chart includes a dotted median reference line calculated from the visible framework values.

Methodology: Build and Install Times.

FrameworkAvg InstallMin InstallMax InstallAvg Cold BuildAvg Warm BuildBuild Output
Astro3.04s1.59s3.83s0.83s0.80s0.03MB
Mastro0.48s0.47s0.50s0.30s0.30s0.01MB
Next.js5.49s2.92s6.24s5.01s5.02s6.03MB
Nuxt4.68s3.01s5.56s3.51s3.40s2.46MB
React Router1.42s1.12s1.60s1.69s1.71s0.38MB
SolidStart1.75s1.42s1.99s2.96s2.81s0.51MB
SvelteKit1.49s1.32s1.74s1.83s1.68s1.44MB
TanStack Start4.09s1.90s4.78s5.27s5.06s2.05MB

Avg install time

Avg install time chart
Avg install time data
FrameworkSeconds
Mastro0.48s
React Router1.42s
SvelteKit1.49s
SolidStart1.75s
Astro3.04s
TanStack Start4.09s
Nuxt4.68s
Next.js5.49s

The chart includes a dotted median reference line calculated from the visible framework values.

Cold build time

Cold build time chart
Cold build time data
FrameworkSeconds
Mastro0.30s
Astro0.83s
React Router1.69s
SvelteKit1.83s
SolidStart2.96s
Nuxt3.51s
Next.js5.01s
TanStack Start5.27s

The chart includes a dotted median reference line calculated from the visible framework values.

Warm build time

Warm build time chart
Warm build time data
FrameworkSeconds
Mastro0.30s
Astro0.80s
SvelteKit1.68s
React Router1.71s
SolidStart2.81s
Nuxt3.40s
Next.js5.02s
TanStack Start5.06s

The chart includes a dotted median reference line calculated from the visible framework values.

Build output size

Build output size chart
Build output size data
FrameworkMegabytes
Mastro0.01 MB
Astro0.03 MB
React Router0.38 MB
SolidStart0.51 MB
SvelteKit1.44 MB
TanStack Start2.05 MB
Nuxt2.46 MB
Next.js6.03 MB

The chart includes a dotted median reference line calculated from the visible framework values.

Methodology: Core-JS Polyfills.

Framework~SizeUnnecessary Modules
Astro
Mastro
Next.js110.0 KB302
Nuxt
React Router
SolidStart
SvelteKit
TanStack Start

Methodology: Browser Baseline.

FrameworkBaselineFeatureYearFeatures
Astro0
Mastro0
Next.jsHigh202246
NuxtLimitedtemporal40
React RouterHigh202240
SolidStartHigh202030
SvelteKitHigh202042
TanStack StartHigh202245

Methodology: Minimum Node Version.

FrameworkMin NodeSet by
Astro
Mastrov24.12.0starter-mastro
Next.js
Nuxt
React Router
SolidStartv24.0.0starter-solid-start
SvelteKit
TanStack Start

Methodology: Client Side Rendered Tests.

FrameworkFirst PaintFCPInteraction LatencyInput DelayProcessing DurationPresentation Delay
Astro111.6ms111.32ms6.78ms1.68ms0.38ms4.73ms
Next.js341.4ms341.31ms20.62ms1.04ms7.11ms12.47ms
Nuxt159.6ms159.5ms12.04ms1.03ms1.28ms9.73ms
React Router147.6ms147.69ms21.28ms1.41ms2.15ms17.72ms
SolidStart111.4ms111.16ms16.5ms0.89ms2.37ms13.25ms
SvelteKit110.6ms110.85ms14.54ms0.58ms2.08ms11.88ms
TanStack Start144.6ms144.61ms23.58ms1.33ms11.52ms10.73ms

First Paint (ms)

First Paint (ms) chart
First Paint (ms) data
FrameworkMilliseconds
SvelteKit110.60 ms
SolidStart111.40 ms
Astro111.60 ms
TanStack Start144.60 ms
React Router147.60 ms
Nuxt159.60 ms
Next.js341.40 ms

The chart includes a dotted median reference line calculated from the visible framework values.

First Contentful Paint (ms)

First Contentful Paint (ms) chart
First Contentful Paint (ms) data
FrameworkMilliseconds
SvelteKit110.85 ms
SolidStart111.16 ms
Astro111.32 ms
TanStack Start144.61 ms
React Router147.69 ms
Nuxt159.50 ms
Next.js341.31 ms

The chart includes a dotted median reference line calculated from the visible framework values.

Interaction Breakdown

Total latency is split into the three consecutive phases reported by Lighthouse.

  • The input delay, which starts when the user initiates an interaction with the page, and ends when the event callbacks for the interaction begin to run.
  • The processing duration, which consists of the time it takes for event callbacks to run to completion.
  • The presentation delay, which is the time it takes for the browser to present the next frame which contains the visual result of the interaction.
6.78 ms
12.04 ms
14.54 ms
16.50 ms
20.62 ms
21.28 ms
23.58 ms
Interaction Breakdown data
Framework or versionInteraction latencyInput delayProcessing durationPresentation delay
Astro6.78 ms1.68 ms0.38 ms4.73 ms
Nuxt12.04 ms1.03 ms1.28 ms9.73 ms
SvelteKit14.54 ms0.58 ms2.08 ms11.88 ms
SolidStart16.50 ms0.89 ms2.37 ms13.25 ms
Next.js20.62 ms1.04 ms7.11 ms12.47 ms
React Router21.28 ms1.41 ms2.15 ms17.72 ms
TanStack Start23.58 ms1.33 ms11.52 ms10.73 ms

Methodology: Server Side Rendered Tests.

FrameworkFirst PaintFCPInteraction LatencyInput DelayProcessing DurationPresentation Delay
Astro73.6ms73.69ms1.09ms0.83ms0.26ms0ms
Mastro81.8ms81.94ms11.95ms0.42ms0.95ms10.59ms
Next.js171.8ms172.03ms23.53ms1.41ms10.04ms12.07ms
Nuxt116.2ms116.21ms10.39ms0.98ms1.35ms8.05ms
React Router118.6ms118.69ms19.22ms1.59ms2.76ms14.87ms
SolidStart91.2ms91.27ms16.5ms0.88ms1.99ms13.63ms
SvelteKit79.6ms79.7ms17.13ms0.71ms4.16ms12.25ms
TanStack Start126ms126.13ms29.1ms1.72ms16.47ms10.91ms

First Paint (ms)

First Paint (ms) chart
First Paint (ms) data
FrameworkMilliseconds
Astro73.60 ms
SvelteKit79.60 ms
Mastro81.80 ms
SolidStart91.20 ms
Nuxt116.20 ms
React Router118.60 ms
TanStack Start126.00 ms
Next.js171.80 ms

The chart includes a dotted median reference line calculated from the visible framework values.

First Contentful Paint (ms)

First Contentful Paint (ms) chart
First Contentful Paint (ms) data
FrameworkMilliseconds
Astro73.69 ms
SvelteKit79.70 ms
Mastro81.94 ms
SolidStart91.27 ms
Nuxt116.21 ms
React Router118.69 ms
TanStack Start126.13 ms
Next.js172.03 ms

The chart includes a dotted median reference line calculated from the visible framework values.

Interaction Breakdown

Total latency is split into the three consecutive phases reported by Lighthouse.

  • The input delay, which starts when the user initiates an interaction with the page, and ends when the event callbacks for the interaction begin to run.
  • The processing duration, which consists of the time it takes for event callbacks to run to completion.
  • The presentation delay, which is the time it takes for the browser to present the next frame which contains the visual result of the interaction.
1.09 ms
10.39 ms
11.95 ms
16.50 ms
17.13 ms
19.22 ms
23.53 ms
29.10 ms
Interaction Breakdown data
Framework or versionInteraction latencyInput delayProcessing durationPresentation delay
Astro1.09 ms0.83 ms0.26 ms0.00 ms
Nuxt10.39 ms0.98 ms1.35 ms8.05 ms
Mastro11.95 ms0.42 ms0.95 ms10.59 ms
SolidStart16.50 ms0.88 ms1.99 ms13.63 ms
SvelteKit17.13 ms0.71 ms4.16 ms12.25 ms
React Router19.22 ms1.59 ms2.76 ms14.87 ms
Next.js23.53 ms1.41 ms10.04 ms12.07 ms
TanStack Start29.10 ms1.72 ms16.47 ms10.91 ms

Methodology: Server Side Throughput Tests.

FrameworkOps/secMedian LatencyBody SizeDuplication
Baseline HTML8511.196ms96.83kb1x
Astro6651.458ms96.89kb1x
Mastro3482.851ms327.46kb1.5x
Next.js2264.548ms199.57kb2x
Nuxt3532.773ms201.27kb2x
React Router3452.867ms211.63kb2x
SolidStart4242.285ms224.17kb2x
SvelteKit4602.109ms183.53kb2x
TanStack Start3273.018ms193.62kb2x

Ops/sec

Ops/sec chart
Ops/sec data
FrameworkOperations per second
Baseline HTML851
Astro665
SvelteKit460
SolidStart424
Nuxt353
Mastro348
React Router345
TanStack Start327
Next.js226

The chart includes a dotted median reference line calculated from the visible framework values.

Body Size

Body Size chart
Body Size data
FrameworkKilobytes
Baseline HTML96.83 KB
Astro96.89 KB
SvelteKit183.53 KB
TanStack Start193.62 KB
Next.js199.57 KB
Nuxt201.27 KB
React Router211.63 KB
SolidStart224.17 KB
Mastro327.46 KB

The chart includes a dotted median reference line calculated from the visible framework values.

Median Latency

Median Latency chart
Median Latency data
FrameworkMilliseconds
Baseline HTML1.20 ms
Astro1.46 ms
SvelteKit2.11 ms
SolidStart2.29 ms
Nuxt2.77 ms
Mastro2.85 ms
React Router2.87 ms
TanStack Start3.02 ms
Next.js4.55 ms

The chart includes a dotted median reference line calculated from the visible framework values.

Methodology: Server Side Load Test.

FrameworkPeak req/sPeak ConnectionsP99 @ 25P99 @ 50P99 @ 100Total Req.
Baseline HTML1,557.45021ms39ms109ms46,087
Astro1,145.810043ms84ms328ms33,579
Mastro591.65048ms111ms1369ms18,562
Next.js36.412157ms4740ms4771ms995
Nuxt68.8251965ms4077ms4448ms2,155
React Router139.2100274ms2534ms4146ms4,571
SolidStart503.425109ms546ms2183ms15,523
SvelteKit495.81084ms216ms2384ms15,597
TanStack Start42.853449ms4349ms4436ms1,297

P99 Latency at 25 Connections

P99 Latency at 25 Connections chart
P99 Latency at 25 Connections data
FrameworkMilliseconds
Baseline HTML21.00 ms
Astro43.00 ms
Mastro48.00 ms
SvelteKit84.00 ms
SolidStart109.00 ms
React Router274.00 ms
Nuxt1965.00 ms
Next.js2157.00 ms
TanStack Start3449.00 ms

The chart includes a dotted median reference line calculated from the visible framework values.

P99 Latency at 50 Connections

P99 Latency at 50 Connections chart
P99 Latency at 50 Connections data
FrameworkMilliseconds
Baseline HTML39.00 ms
Astro84.00 ms
Mastro111.00 ms
SvelteKit216.00 ms
SolidStart546.00 ms
React Router2534.00 ms
Nuxt4077.00 ms
TanStack Start4349.00 ms
Next.js4740.00 ms

The chart includes a dotted median reference line calculated from the visible framework values.

P99 Latency at 100 Connections

P99 Latency at 100 Connections chart
P99 Latency at 100 Connections data
FrameworkMilliseconds
Baseline HTML109.00 ms
Astro328.00 ms
Mastro1369.00 ms
SolidStart2183.00 ms
SvelteKit2384.00 ms
React Router4146.00 ms
TanStack Start4436.00 ms
Nuxt4448.00 ms
Next.js4771.00 ms

The chart includes a dotted median reference line calculated from the visible framework values.

P90 Latency at 25 Connections

P90 Latency at 25 Connections chart
P90 Latency at 25 Connections data
FrameworkMilliseconds
Baseline HTML18.00 ms
Astro24.00 ms
Mastro43.00 ms
SvelteKit63.00 ms
SolidStart73.00 ms
React Router211.00 ms
Nuxt369.00 ms
TanStack Start745.00 ms
Next.js761.00 ms

The chart includes a dotted median reference line calculated from the visible framework values.

P90 Latency at 50 Connections

P90 Latency at 50 Connections chart
P90 Latency at 50 Connections data
FrameworkMilliseconds
Baseline HTML34.00 ms
Astro47.00 ms
Mastro85.00 ms
SvelteKit135.00 ms
SolidStart155.00 ms
React Router365.00 ms
Nuxt500.00 ms
TanStack Start826.00 ms
Next.js2446.00 ms

The chart includes a dotted median reference line calculated from the visible framework values.

P90 Latency at 100 Connections

P90 Latency at 100 Connections chart
P90 Latency at 100 Connections data
FrameworkMilliseconds
Baseline HTML80.00 ms
Astro90.00 ms
Mastro189.00 ms
SolidStart192.00 ms
SvelteKit214.00 ms
React Router401.00 ms
Nuxt639.00 ms
TanStack Start1401.00 ms
Next.js2932.00 ms

The chart includes a dotted median reference line calculated from the visible framework values.

FrameworkLCP%CLS%FCP%TTFB%INP%
Astro9187918297
SolidStart91669183100
SvelteKit7977787194
Next.js7269766794
React Router6162667090
Nuxt6557675995

Good Largest Contentful Paint

Measures how fast a page's main content loads. To provide a good user experience, the LCP should be 2.5 seconds or less.

Good Largest Contentful Paint chart
Good Largest Contentful Paint data
Framework%
Astro91
SolidStart91
SvelteKit79
Next.js72
Nuxt65
React Router61

The chart includes a dotted median reference line calculated from the visible framework values.

Good Cumulative Layout Shift

Measures how much and how far content unexpectedly moves on a page. To provide a good user experience, sites should maintain a CLS score of 0.1 or less for at least 75% of page visits.

Good Cumulative Layout Shift chart
Good Cumulative Layout Shift data
Framework%
Astro87
SvelteKit77
Next.js69
SolidStart66
React Router62
Nuxt57

The chart includes a dotted median reference line calculated from the visible framework values.

Good First Contentful Paint

Measures initial loading speed. To provide a good user experience, the FCP should be 1.8 seconds or less.

Good First Contentful Paint chart
Good First Contentful Paint data
Framework%
Astro91
SolidStart91
SvelteKit78
Next.js76
Nuxt67
React Router66

The chart includes a dotted median reference line calculated from the visible framework values.

Good Time To First Byte

Measures the time between the request for a resource and when the first byte of a response begins to arrive. A good TTFB is less than or equal to 800ms.

Good Time To First Byte chart
Good Time To First Byte data
Framework%
SolidStart83
Astro82
SvelteKit71
React Router70
Next.js67
Nuxt59

The chart includes a dotted median reference line calculated from the visible framework values.

Good Interaction to Next Paint

Measures overall page responsiveness to user actions. To provide a good user experience, the INP should be 200ms or less.

Good Interaction to Next Paint chart
Good Interaction to Next Paint data
Framework%
SolidStart100
Astro97
Nuxt95
SvelteKit94
Next.js94
React Router90

The chart includes a dotted median reference line calculated from the visible framework values.

FrameworkLCP%CLS%FCP%TTFB%INP%
Astro7792716086
SolidStart90639081100
SvelteKit6781605875
Next.js5169504758
Nuxt4558434565
React Router4164415356

Good Largest Contentful Paint

Measures how fast a page's main content loads. To provide a good user experience, the LCP should be 2.5 seconds or less.

Good Largest Contentful Paint chart
Good Largest Contentful Paint data
Framework%
SolidStart90
Astro77
SvelteKit67
Next.js51
Nuxt45
React Router41

The chart includes a dotted median reference line calculated from the visible framework values.

Good Cumulative Layout Shift

Measures how much and how far content unexpectedly moves on a page. To provide a good user experience, sites should maintain a CLS score of 0.1 or less for at least 75% of page visits.

Good Cumulative Layout Shift chart
Good Cumulative Layout Shift data
Framework%
Astro92
SvelteKit81
Next.js69
React Router64
SolidStart63
Nuxt58

The chart includes a dotted median reference line calculated from the visible framework values.

Good First Contentful Paint

Measures initial loading speed. To provide a good user experience, the FCP should be 1.8 seconds or less.

Good First Contentful Paint chart
Good First Contentful Paint data
Framework%
SolidStart90
Astro71
SvelteKit60
Next.js50
Nuxt43
React Router41

The chart includes a dotted median reference line calculated from the visible framework values.

Good Time To First Byte

Measures the time between the request for a resource and when the first byte of a response begins to arrive. A good TTFB is less than or equal to 800ms.

Good Time To First Byte chart
Good Time To First Byte data
Framework%
SolidStart81
Astro60
SvelteKit58
React Router53
Next.js47
Nuxt45

The chart includes a dotted median reference line calculated from the visible framework values.

Good Interaction to Next Paint

Measures overall page responsiveness to user actions. To provide a good user experience, the INP should be 200ms or less.

Good Interaction to Next Paint chart
Good Interaction to Next Paint data
Framework%
SolidStart100
Astro86
SvelteKit75
Nuxt65
Next.js58
React Router56

The chart includes a dotted median reference line calculated from the visible framework values.

Methodology: Core Web Vitals.