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 Build
Astro3.18s1.70s3.85s0.87s1.27s
Mastro0.49s0.47s0.51s0.30s0.30s
Next.js5.50s3.04s6.33s4.67s4.66s
Nuxt4.67s3.01s5.71s3.65s3.54s
React Router1.35s1.17s1.58s1.67s1.63s
SolidStart1.75s1.42s2.12s2.70s2.63s
SvelteKit1.42s1.26s1.52s1.91s1.67s
TanStack Start4.18s1.91s4.82s5.17s4.86s

Avg install time

Avg install time chart
Avg install time data
FrameworkSeconds
Mastro0.49s
React Router1.35s
SvelteKit1.42s
SolidStart1.75s
Astro3.18s
TanStack Start4.18s
Nuxt4.67s
Next.js5.50s

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.87s
React Router1.67s
SvelteKit1.91s
SolidStart2.70s
Nuxt3.65s
Next.js4.67s
TanStack Start5.17s

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
Astro1.27s
React Router1.63s
SvelteKit1.67s
SolidStart2.63s
Nuxt3.54s
Next.js4.66s
TanStack Start4.86s

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

Methodology: Dev Server Startup.

FrameworkAvg StartMin StartMax Start
Astro
Mastro
Next.js
Nuxt
React Router
SolidStart
SvelteKit
TanStack Start

Avg dev server startup time

Avg dev server startup time chart
Avg dev server startup time data
FrameworkSeconds

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
Astrov22.12.0
Mastrov24.12.0starter-mastro
Next.jsv20.9.0next
Nuxtv20.19.0
React Routerv20.19.0vite
SolidStartv24.0.0@solidjs/start, starter-solid-start
SvelteKitv22.20.0@napi-rs/lzma-linux-x64-gnu
TanStack Startv22.12.0@tanstack/react-start, @tanstack/react-start-client, @tanstack/react-start-server, @tanstack/start-client-core, @tanstack/start-fn-stubs, @tanstack/start-plugin-core, @tanstack/start-server-core, @tanstack/start-storage-context

Methodology: Client Side Rendered Tests.

FrameworkFirst PaintFCPInteraction LatencyInput DelayProcessing DurationPresentation Delay
Astro95.4ms95.42ms5.67ms2.53ms0.45ms2.69ms
Next.js338.2ms338.2ms16.44ms1.14ms6.47ms8.84ms
Nuxt155ms154.9ms9.43ms0.52ms2.18ms6.73ms
React Router158.2ms158.17ms16.8ms1.55ms2.9ms12.35ms
SolidStart102.2ms102.33ms15.05ms0.8ms2.5ms11.75ms
SvelteKit122.8ms122.75ms15.05ms0.71ms3.75ms10.59ms
TanStack Start140ms140.04ms22.68ms1.29ms12.5ms8.89ms

First Paint (ms)

First Paint (ms) chart
First Paint (ms) data
FrameworkMilliseconds
Astro95.40 ms
SolidStart102.20 ms
SvelteKit122.80 ms
TanStack Start140.00 ms
Nuxt155.00 ms
React Router158.20 ms
Next.js338.20 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
Astro95.42 ms
SolidStart102.33 ms
SvelteKit122.75 ms
TanStack Start140.04 ms
Nuxt154.90 ms
React Router158.17 ms
Next.js338.20 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.
5.67 ms
9.43 ms
15.05 ms
15.05 ms
16.44 ms
16.80 ms
22.68 ms
Interaction Breakdown data
Framework or versionInteraction latencyInput delayProcessing durationPresentation delay
Astro5.67 ms2.53 ms0.45 ms2.69 ms
Nuxt9.43 ms0.52 ms2.18 ms6.73 ms
SolidStart15.05 ms0.80 ms2.50 ms11.75 ms
SvelteKit15.05 ms0.71 ms3.75 ms10.59 ms
Next.js16.44 ms1.14 ms6.47 ms8.84 ms
React Router16.80 ms1.55 ms2.90 ms12.35 ms
TanStack Start22.68 ms1.29 ms12.50 ms8.89 ms

Methodology: Server Side Rendered Tests.

FrameworkFirst PaintFCPInteraction LatencyInput DelayProcessing DurationPresentation Delay
Astro67.8ms67.84ms1.37ms0.67ms0.7ms0ms
Mastro77.8ms77.71ms1.85ms1.53ms0.31ms0ms
Next.js143.2ms143.07ms16.76ms1.21ms7.52ms8.04ms
Nuxt98.2ms98.09ms9.82ms0.49ms1.25ms8.07ms
React Router102.4ms102.36ms17ms1.37ms2.41ms13.23ms
SolidStart92.2ms92.38ms16.14ms0.82ms2.53ms12.79ms
SvelteKit89.2ms89.1ms14.72ms1.62ms3.51ms9.59ms
TanStack Start118.2ms118.4ms26.17ms1.61ms14.54ms10.02ms

First Paint (ms)

First Paint (ms) chart
First Paint (ms) data
FrameworkMilliseconds
Astro67.80 ms
Mastro77.80 ms
SvelteKit89.20 ms
SolidStart92.20 ms
Nuxt98.20 ms
React Router102.40 ms
TanStack Start118.20 ms
Next.js143.20 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
Astro67.84 ms
Mastro77.71 ms
SvelteKit89.10 ms
SolidStart92.38 ms
Nuxt98.09 ms
React Router102.36 ms
TanStack Start118.40 ms
Next.js143.07 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.37 ms
1.85 ms
9.82 ms
14.72 ms
16.14 ms
16.76 ms
17.00 ms
26.17 ms
Interaction Breakdown data
Framework or versionInteraction latencyInput delayProcessing durationPresentation delay
Astro1.37 ms0.67 ms0.70 ms0.00 ms
Mastro1.85 ms1.53 ms0.31 ms0.00 ms
Nuxt9.82 ms0.49 ms1.25 ms8.07 ms
SvelteKit14.72 ms1.62 ms3.51 ms9.59 ms
SolidStart16.14 ms0.82 ms2.53 ms12.79 ms
Next.js16.76 ms1.21 ms7.52 ms8.04 ms
React Router17.00 ms1.37 ms2.41 ms13.23 ms
TanStack Start26.17 ms1.61 ms14.54 ms10.02 ms

Methodology: Server Side Throughput Tests.

FrameworkOps/secMedian LatencyBody SizeDuplication
Baseline HTML8511.198ms96.83kb1x
Astro6611.451ms96.89kb1x
Mastro3452.866ms327.46kb1.5x
Next.js2364.46ms199.52kb2x
Nuxt3612.658ms201.27kb2x
React Router3382.886ms211.63kb2x
SolidStart4222.283ms224.17kb2x
SvelteKit4542.13ms183.53kb2x
TanStack Start3233.036ms193.62kb2x

Ops/sec

Ops/sec chart
Ops/sec data
FrameworkOperations per second
Baseline HTML851
Astro661
SvelteKit454
SolidStart422
Nuxt361
Mastro345
React Router338
TanStack Start323
Next.js236

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.52 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.45 ms
SvelteKit2.13 ms
SolidStart2.28 ms
Nuxt2.66 ms
Mastro2.87 ms
React Router2.89 ms
TanStack Start3.04 ms
Next.js4.46 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,64220017ms46ms100ms49,088
Astro1,22210030ms66ms279ms36,185
Mastro582.62544ms112ms1431ms18,499
Next.js4251946ms4807ms4672ms1,162
Nuxt73101886ms4109ms4111ms2,385
React Router175.825213ms1637ms3959ms5,829
SolidStart537.425101ms170ms2083ms17,413
SvelteKit5042583ms226ms2404ms15,921
TanStack Start43.853567ms4090ms4593ms1,353

P99 Latency at 25 Connections

P99 Latency at 25 Connections chart
P99 Latency at 25 Connections data
FrameworkMilliseconds
Baseline HTML17.00 ms
Astro30.00 ms
Mastro44.00 ms
SvelteKit83.00 ms
SolidStart101.00 ms
React Router213.00 ms
Nuxt1886.00 ms
Next.js1946.00 ms
TanStack Start3567.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 HTML46.00 ms
Astro66.00 ms
Mastro112.00 ms
SolidStart170.00 ms
SvelteKit226.00 ms
React Router1637.00 ms
TanStack Start4090.00 ms
Nuxt4109.00 ms
Next.js4807.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 HTML100.00 ms
Astro279.00 ms
Mastro1431.00 ms
SolidStart2083.00 ms
SvelteKit2404.00 ms
React Router3959.00 ms
Nuxt4111.00 ms
TanStack Start4593.00 ms
Next.js4672.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 HTML17.00 ms
Astro23.00 ms
Mastro44.00 ms
SvelteKit59.00 ms
SolidStart66.00 ms
React Router147.00 ms
Nuxt342.00 ms
Next.js712.00 ms
TanStack Start731.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 HTML31.00 ms
Astro45.00 ms
Mastro86.00 ms
SvelteKit142.00 ms
SolidStart147.00 ms
React Router306.00 ms
Nuxt480.00 ms
TanStack Start898.00 ms
Next.js2450.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 HTML77.00 ms
Astro81.00 ms
SolidStart177.00 ms
Mastro181.00 ms
SvelteKit255.00 ms
React Router390.00 ms
Nuxt500.00 ms
TanStack Start1362.00 ms
Next.js2764.00 ms

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

FrameworkLCP%CLS%FCP%TTFB%INP%
Astro9288928198
SolidStart817510088100
SvelteKit7978786995
Next.js7371766694
Nuxt6758705996
React Router5960646890

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%
Astro92
SolidStart81
SvelteKit79
Next.js73
Nuxt67
React Router59

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%
Astro88
SvelteKit78
SolidStart75
Next.js71
React Router60
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%
SolidStart100
Astro92
SvelteKit78
Next.js76
Nuxt70
React Router64

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%
SolidStart88
Astro81
SvelteKit69
React Router68
Next.js66
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
Astro98
Nuxt96
SvelteKit95
Next.js94
React Router90

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

FrameworkLCP%CLS%FCP%TTFB%INP%
SolidStart80801008790
Astro7993726385
SvelteKit6780585574
Next.js5271484658
Nuxt4558434565
React Router3763365153

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%
SolidStart80
Astro79
SvelteKit67
Next.js52
Nuxt45
React Router37

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%
Astro93
SolidStart80
SvelteKit80
Next.js71
React Router63
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%
SolidStart100
Astro72
SvelteKit58
Next.js48
Nuxt43
React Router36

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%
SolidStart87
Astro63
SvelteKit55
React Router51
Next.js46
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%
SolidStart90
Astro85
SvelteKit74
Nuxt65
Next.js58
React Router53

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

Methodology: Core Web Vitals.