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
Astro2.76s1.67s3.46s0.80s0.76s0.03MB
Mastro0.49s0.47s0.50s0.30s0.30s0.01MB
Next.js5.38s2.96s6.17s4.97s4.85s6.03MB
Nuxt4.81s3.06s5.76s3.65s3.40s2.46MB
React Router1.56s1.22s1.76s1.59s1.56s0.38MB
SolidStart1.67s1.46s2.02s2.88s2.72s0.51MB
SvelteKit1.38s1.25s1.52s1.75s1.60s1.44MB
TanStack Start4.17s1.88s4.87s5.22s5.09s2.05MB

Avg install time

Avg install time chart
Avg install time data
FrameworkSeconds
Mastro0.49s
SvelteKit1.38s
React Router1.56s
SolidStart1.67s
Astro2.76s
TanStack Start4.17s
Nuxt4.81s
Next.js5.38s

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.80s
React Router1.59s
SvelteKit1.75s
SolidStart2.88s
Nuxt3.65s
Next.js4.97s
TanStack Start5.22s

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.76s
React Router1.56s
SvelteKit1.60s
SolidStart2.72s
Nuxt3.40s
Next.js4.85s
TanStack Start5.09s

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
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
Astro100.2ms100.31ms2.11ms1.85ms0.26ms0ms
Next.js339.4ms339.19ms17.78ms1.26ms7.78ms8.74ms
Nuxt156.2ms156.29ms11.44ms0.85ms1.62ms8.97ms
React Router135ms135.04ms17.16ms1.48ms2.31ms13.37ms
SolidStart91.4ms91.39ms15.4ms1.28ms2.68ms11.44ms
SvelteKit109.4ms109.33ms18.12ms0.75ms3.5ms13.87ms
TanStack Start175.8ms175.87ms24.76ms1.6ms11.6ms11.56ms

First Paint (ms)

First Paint (ms) chart
First Paint (ms) data
FrameworkMilliseconds
SolidStart91.40 ms
Astro100.20 ms
SvelteKit109.40 ms
React Router135.00 ms
Nuxt156.20 ms
TanStack Start175.80 ms
Next.js339.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
SolidStart91.39 ms
Astro100.31 ms
SvelteKit109.33 ms
React Router135.04 ms
Nuxt156.29 ms
TanStack Start175.87 ms
Next.js339.19 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.
2.11 ms
11.44 ms
15.40 ms
17.16 ms
17.78 ms
18.12 ms
24.76 ms
Interaction Breakdown data
Framework or versionInteraction latencyInput delayProcessing durationPresentation delay
Astro2.11 ms1.85 ms0.26 ms0.00 ms
Nuxt11.44 ms0.85 ms1.62 ms8.97 ms
SolidStart15.40 ms1.28 ms2.68 ms11.44 ms
React Router17.16 ms1.48 ms2.31 ms13.37 ms
Next.js17.78 ms1.26 ms7.78 ms8.74 ms
SvelteKit18.12 ms0.75 ms3.50 ms13.87 ms
TanStack Start24.76 ms1.60 ms11.60 ms11.56 ms

Methodology: Server Side Rendered Tests.

FrameworkFirst PaintFCPInteraction LatencyInput DelayProcessing DurationPresentation Delay
Astro67.4ms67.34ms1.03ms0.71ms0.32ms0ms
Mastro79.4ms79.38ms11.4ms0.46ms0.51ms10.42ms
Next.js153ms153.09ms17.89ms1.28ms7.31ms9.3ms
Nuxt105.4ms105.41ms8.62ms0.47ms1.23ms6.91ms
React Router118.4ms118.54ms22.74ms1.46ms2.39ms18.89ms
SolidStart91ms90.96ms15.86ms0.81ms2.06ms12.98ms
SvelteKit87ms87.22ms16.5ms0.56ms2.78ms13.16ms
TanStack Start119.8ms119.64ms24.24ms1.65ms14.22ms8.37ms

First Paint (ms)

First Paint (ms) chart
First Paint (ms) data
FrameworkMilliseconds
Astro67.40 ms
Mastro79.40 ms
SvelteKit87.00 ms
SolidStart91.00 ms
Nuxt105.40 ms
React Router118.40 ms
TanStack Start119.80 ms
Next.js153.00 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.34 ms
Mastro79.38 ms
SvelteKit87.22 ms
SolidStart90.96 ms
Nuxt105.41 ms
React Router118.54 ms
TanStack Start119.64 ms
Next.js153.09 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.03 ms
8.62 ms
11.40 ms
15.86 ms
16.50 ms
17.89 ms
22.74 ms
24.24 ms
Interaction Breakdown data
Framework or versionInteraction latencyInput delayProcessing durationPresentation delay
Astro1.03 ms0.71 ms0.32 ms0.00 ms
Nuxt8.62 ms0.47 ms1.23 ms6.91 ms
Mastro11.40 ms0.46 ms0.51 ms10.42 ms
SolidStart15.86 ms0.81 ms2.06 ms12.98 ms
SvelteKit16.50 ms0.56 ms2.78 ms13.16 ms
Next.js17.89 ms1.28 ms7.31 ms9.30 ms
React Router22.74 ms1.46 ms2.39 ms18.89 ms
TanStack Start24.24 ms1.65 ms14.22 ms8.37 ms

Methodology: Server Side Throughput Tests.

FrameworkOps/secMedian LatencyBody SizeDuplication
Baseline HTML8491.199ms96.83kb1x
Astro6691.445ms96.89kb1x
Mastro3482.846ms327.46kb1.5x
Next.js2154.745ms199.57kb2x
Nuxt3642.65ms201.27kb2x
React Router3502.834ms211.63kb2x
SolidStart4242.28ms224.17kb2x
SvelteKit4532.145ms183.53kb2x
TanStack Start3173.096ms193.62kb2x

Ops/sec

Ops/sec chart
Ops/sec data
FrameworkOperations per second
Baseline HTML849
Astro669
SvelteKit453
SolidStart424
Nuxt364
React Router350
Mastro348
TanStack Start317
Next.js215

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.45 ms
SvelteKit2.15 ms
SolidStart2.28 ms
Nuxt2.65 ms
React Router2.83 ms
Mastro2.85 ms
TanStack Start3.10 ms
Next.js4.75 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,667.210017ms44ms101ms49,479
Astro1,170.820034ms66ms345ms35,610
Mastro582.62544ms108ms1365ms18,431
Next.js39.412080ms4646ms4667ms1,117
Nuxt74101923ms4039ms4260ms2,332
React Router173.610332ms1854ms3861ms5,784
SolidStart525.82599ms449ms2098ms16,822
SvelteKit514.4581ms177ms2302ms16,288
TanStack Start45.453517ms4374ms4306ms1,373

P99 Latency at 25 Connections

P99 Latency at 25 Connections chart
P99 Latency at 25 Connections data
FrameworkMilliseconds
Baseline HTML17.00 ms
Astro34.00 ms
Mastro44.00 ms
SvelteKit81.00 ms
SolidStart99.00 ms
React Router332.00 ms
Nuxt1923.00 ms
Next.js2080.00 ms
TanStack Start3517.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 HTML44.00 ms
Astro66.00 ms
Mastro108.00 ms
SvelteKit177.00 ms
SolidStart449.00 ms
React Router1854.00 ms
Nuxt4039.00 ms
TanStack Start4374.00 ms
Next.js4646.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 HTML101.00 ms
Astro345.00 ms
Mastro1365.00 ms
SolidStart2098.00 ms
SvelteKit2302.00 ms
React Router3861.00 ms
Nuxt4260.00 ms
TanStack Start4306.00 ms
Next.js4667.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
SvelteKit58.00 ms
SolidStart70.00 ms
React Router161.00 ms
Nuxt345.00 ms
TanStack Start622.00 ms
Next.js713.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
Astro44.00 ms
Mastro86.00 ms
SvelteKit136.00 ms
SolidStart149.00 ms
React Router286.00 ms
Nuxt489.00 ms
TanStack Start841.00 ms
Next.js2468.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 HTML74.00 ms
Astro87.00 ms
SolidStart155.00 ms
Mastro183.00 ms
SvelteKit230.00 ms
React Router405.00 ms
Nuxt516.00 ms
TanStack Start1400.00 ms
Next.js2736.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.