Skip to content

chore: upgrade Vitest 5.0.0-beta.3#434

Closed
react-server-bot[bot] wants to merge 1 commit into
mainfrom
chore/upgrade-vite-rolldown
Closed

chore: upgrade Vitest 5.0.0-beta.3#434
react-server-bot[bot] wants to merge 1 commit into
mainfrom
chore/upgrade-vite-rolldown

Conversation

@react-server-bot

Copy link
Copy Markdown
Contributor

Automated daily upgrade of Vite, Rolldown, and/or Vitest to the latest available versions.

Vitest: 5.0.0-beta.25.0.0-beta.3

Updated locations

  • packages/react-server/package.jsonvite, rolldown
  • test/package.jsonvite, rolldown, vitest, @vitest/ui
  • packages/rsc/package.jsonvitest, @vitest/*
  • packages/create-react-server/test/package.jsonvitest
  • package.json — all pnpm.overrides for Vite
  • pnpm-lock.yaml

Smoke test

  • Dev mode — hello world test passed ✅
  • Build+start mode — hello world test passed ✅

@github-actions

Copy link
Copy Markdown

⚡ Flight Protocol Benchmark

Commit: 77300a9

Serialization (renderToReadableStream)

Scenario @lazarv/rsc webpack vs webpack
react: minimal element 219.0K 27.6K 🟢 +693.4%
react: shallow wide (1000) 2.2K 338 🟢 +557.7%
react: deep nested (100) 17.5K 6.0K 🟢 +192.7%
react: product list (50) 6.1K 2.0K 🟢 +208.0%
react: large table (500x10) 273 96 🟢 +185.1%
data: primitives 175.8K 39.7K 🟢 +342.6%
data: large string (100KB) 6.8K 7.1K 🔴 -4.7%
data: nested objects (20) 57.9K 25.6K 🟢 +126.7%
data: large array (10K) 115 105 🟢 +9.2%
data: Map & Set 10.6K 5.6K 🟢 +91.8%
data: Date/BigInt/Symbol 162.3K 32.4K 🟢 +401.5%
data: typed arrays 34.2K 13.5K 🟢 +152.7%
data: mixed payload 8.3K 3.9K 🟢 +112.8%

Prerender (prerender)

Scenario @lazarv/rsc ops/s mean
react: minimal element 238.8K 4.2 µs
react: shallow wide (1000) 2.0K 495.9 µs
react: deep nested (100) 15.8K 63.3 µs
react: product list (50) 5.7K 175.9 µs
react: large table (500x10) 277 3.61 ms
data: primitives 186.4K 5.4 µs
data: large string (100KB) 680 1.47 ms
data: nested objects (20) 58.2K 17.2 µs
data: large array (10K) 112 8.90 ms
data: Map & Set 11.0K 91.1 µs
data: Date/BigInt/Symbol 181.5K 5.5 µs
data: typed arrays 674 1.48 ms
data: mixed payload 7.5K 133.9 µs

Deserialization (createFromReadableStream)

Scenario @lazarv/rsc webpack vs webpack
react: minimal element 163.1K 136.0K 🟢 +19.9%
react: shallow wide (1000) 20.8K 1.5K 🟢 +1256.2%
react: deep nested (100) 103.6K 19.1K 🟢 +442.2%
react: product list (50) 51.3K 12.9K 🟢 +296.8%
react: large table (500x10) 4.3K 2.2K 🟢 +93.7%
data: primitives 137.0K 131.7K 🟢 +4.0%
data: large string (100KB) 41.7K 36.2K 🟢 +15.4%
data: nested objects (20) 77.3K 70.2K 🟢 +10.1%
data: large array (10K) 292 257 🟢 +13.8%
data: Map & Set 15.7K 14.3K 🟢 +10.3%
data: Date/BigInt/Symbol 133.2K 110.3K 🟢 +20.8%
data: typed arrays 58.6K 45.0K 🟢 +30.2%
data: mixed payload 25.7K 14.6K 🟢 +75.9%

Roundtrip (serialize + deserialize)

Scenario @lazarv/rsc webpack vs webpack
react: minimal element 101.0K 20.6K 🟢 +391.1%
react: shallow wide (1000) 1.7K 294 🟢 +469.5%
react: deep nested (100) 14.4K 4.4K 🟢 +224.9%
react: product list (50) 5.2K 1.6K 🟢 +218.9%
react: large table (500x10) 262 88 🟢 +198.8%
data: primitives 83.2K 29.5K 🟢 +182.3%
data: large string (100KB) 6.0K 6.3K 🔴 -4.3%
data: nested objects (20) 33.3K 18.3K 🟢 +81.4%
data: large array (10K) 79 73 🟢 +8.7%
data: Map & Set 6.2K 3.9K 🟢 +56.7%
data: Date/BigInt/Symbol 71.4K 22.4K 🟢 +218.3%
data: typed arrays 25.9K 11.1K 🟢 +132.2%
data: mixed payload 5.9K 2.9K 🟢 +103.1%
Legend & methodology

Indicators: 🟢 > 1% faster | 🔴 > 1% slower | ⚪ within noise margin

vs webpack: compares @lazarv/rsc against react-server-dom-webpack within the same run.
vs baseline: compares @lazarv/rsc against the previous main branch run.

Values shown are operations/second (higher is better). Each scenario runs for at least 100 iterations with warmup.

Benchmarks run on GitHub Actions runners (shared infrastructure) — expect ~5% variance between runs. Consistent directional changes across multiple scenarios are more meaningful than any single number.

@github-actions

Copy link
Copy Markdown

⚡ Benchmark Results

PR e7e40fb main 7bef689
Config 50 connections, 10s/test 50 connections, 10s/test
Benchmark Req/s vs main Avg Latency vs main P99 Latency Throughput
minimal 1305 🔴 -1.6% 37.66 ms 🔴 +1.8% 77 ms 0.8 MB/s
small 1316 🔴 -3.0% 37.34 ms 🔴 +3.1% 64 ms 1.3 MB/s
medium 383 🔴 -3.6% 129.29 ms 🔴 +3.4% 179 ms 5.6 MB/s
large 45 🔴 -3.9% 1024.37 ms 🔴 +4.7% 2216 ms 4.5 MB/s
deep 894 🔴 -2.2% 55.29 ms 🔴 +2.4% 88 ms 3.0 MB/s
wide 71 ⚪ -1.0% 689.15 ms 🔴 +3.5% 1249 ms 3.9 MB/s
cached 3559 🟢 +3.3% 13.44 ms 🟢 -3.2% 28 ms 52.3 MB/s
client-min 472 🟢 +2.4% 104.7 ms 🟢 -2.1% 166 ms 2.0 MB/s
client-small 484 🟢 +2.3% 102.03 ms 🟢 -2.4% 153 ms 2.2 MB/s
client-med 355 ⚪ -0.4% 139.04 ms ⚪ +0.6% 219 ms 6.5 MB/s
client-large 77 🔴 -3.5% 623.37 ms 🔴 +6.5% 1334 ms 8.1 MB/s
client-deep 438 🔴 -2.3% 112.42 ms 🔴 +2.0% 171 ms 3.1 MB/s
client-wide 133 🔴 -4.7% 362.98 ms 🔴 +4.5% 613 ms 7.8 MB/s
rsc-client-large 1117 ⚪ -0.4% 44.1 ms ⚪ +0.4% 67 ms 2.9 MB/s
rsc-client-wide 1128 ⚪ +0.8% 43.68 ms ⚪ -0.7% 64 ms 2.9 MB/s
static-json 7583 🟢 +2.2% 6.21 ms ⚪ -0.2% 15 ms 3.2 MB/s
static-js 7250 🔴 -2.2% 6.4 ms 🔴 +3.9% 16 ms 9.1 MB/s
404-miss 4914 ⚪ -0.9% 9.59 ms 🔴 +1.1% 20 ms 0.6 MB/s
hybrid-min 458 🔴 -4.8% 107.67 ms 🔴 +4.8% 163 ms 2.2 MB/s
hybrid-small 446 🔴 -3.7% 110.54 ms 🔴 +3.3% 163 ms 2.6 MB/s
hybrid-medium 232 🔴 -5.9% 211.49 ms 🔴 +5.3% 309 ms 9.8 MB/s
hybrid-large 41 🔴 -2.8% 1146.9 ms 🔴 +1.3% 2131 ms 13.2 MB/s
hybrid-deep 366 🔴 -2.2% 134.87 ms 🔴 +2.1% 190 ms 5.0 MB/s
hybrid-wide 60 🔴 -4.1% 776.71 ms 🔴 +3.0% 1338 ms 11.8 MB/s
hybrid-cached 2849 🔴 -6.0% 16.96 ms 🔴 +6.1% 32 ms 121.1 MB/s
hybrid-client-min 488 🔴 -2.2% 101.64 ms 🔴 +2.4% 149 ms 2.1 MB/s
hybrid-client-small 474 🔴 -5.8% 104.49 ms 🔴 +5.8% 157 ms 2.2 MB/s
hybrid-client-medium 352 ⚪ -0.0% 140.94 ms ⚪ +0.4% 205 ms 6.5 MB/s
hybrid-client-large 82 ⚪ +0.4% 594.25 ms 🔴 +1.2% 1095 ms 8.6 MB/s
hybrid-client-deep 437 🔴 -1.9% 112.61 ms 🔴 +2.2% 162 ms 3.1 MB/s
hybrid-client-wide 135 🔴 -5.2% 362.45 ms 🔴 +6.5% 664 ms 7.9 MB/s
Legend

🟢 > 1% improvement | 🔴 > 1% regression | ⚪ within noise margin

Benchmarks run on GitHub Actions runners (shared infrastructure) — expect ~5% variance between runs. Consistent directional changes across multiple routes are more meaningful than any single number.

@codecov-commenter

codecov-commenter commented May 23, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
2273 1 2272 154
View the top 1 failed test(s) by shortest run time
__test__/bun.spec.mjs > preset: router
Stack Traces | 300s run time
Error: Hook timed out in 300000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
 ❯ __test__/bun.spec.mjs:39:18

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@lazarv lazarv closed this May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants