Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ==, !=, ===, !== operator support for evaluation #3693

Merged
merged 4 commits into from
Feb 22, 2023

Conversation

sokra
Copy link
Member

@sokra sokra commented Feb 8, 2023

extracted from #3670

depends on #3685

adds the equal operators to the evaluator

@vercel
Copy link

vercel bot commented Feb 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
examples-cra-web 🔄 Building (Inspect) Feb 22, 2023 at 11:56AM (UTC)
examples-designsystem-docs 🔄 Building (Inspect) Feb 22, 2023 at 11:56AM (UTC)
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 22, 2023 at 11:56AM (UTC)
7 Ignored Deployments
Name Status Preview Comments Updated
examples-basic-web ⬜️ Ignored (Inspect) Feb 22, 2023 at 11:56AM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Feb 22, 2023 at 11:56AM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Feb 22, 2023 at 11:56AM (UTC)
examples-nonmonorepo ⬜️ Ignored (Inspect) Feb 22, 2023 at 11:56AM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Feb 22, 2023 at 11:56AM (UTC)
examples-tailwind-web ⬜️ Ignored (Inspect) Feb 22, 2023 at 11:56AM (UTC)
examples-vite-web ⬜️ Ignored (Inspect) Feb 22, 2023 at 11:56AM (UTC)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2023

Benchmark for 91e6303

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.17ms ± 0.10ms 10.52ms ± 0.08ms +3.46% +0.02%
bench_hmr_to_commit/Turbopack RCC/1000 modules 10.36ms ± 0.09ms 10.85ms ± 0.09ms +4.72% +1.25%
bench_hmr_to_commit/Turbopack RSC/1000 modules 498.81ms ± 2.06ms 704.46ms ± 2.21ms +41.23% +39.19%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.32ms ± 0.08ms 10.66ms ± 0.09ms +3.32% +0.09%
bench_hydration/Turbopack RCC/1000 modules 4278.10ms ± 14.45ms 5870.97ms ± 20.33ms +37.23% +35.37%
bench_hydration/Turbopack RSC/1000 modules 3924.66ms ± 21.19ms 4644.44ms ± 16.34ms +18.34% +16.25%
bench_hydration/Turbopack SSR/1000 modules 3755.21ms ± 22.90ms 4282.32ms ± 11.68ms +14.04% +12.05%
bench_startup/Turbopack CSR/1000 modules 2858.15ms ± 9.34ms 3258.91ms ± 6.02ms +14.02% +12.86%
bench_startup/Turbopack RCC/1000 modules 2606.56ms ± 8.67ms 3185.62ms ± 6.90ms +22.22% +20.88%
bench_startup/Turbopack RSC/1000 modules 2502.95ms ± 4.58ms 2577.45ms ± 7.64ms +2.98% +1.99%
bench_startup/Turbopack SSR/1000 modules 2146.59ms ± 1.86ms 2198.33ms ± 6.83ms +2.41% +1.60%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.17ms ± 0.10ms 10.52ms ± 0.08ms +3.46% +0.02%
bench_hmr_to_commit/Turbopack RCC/1000 modules 10.36ms ± 0.09ms 10.85ms ± 0.09ms +4.72% +1.25%
bench_hmr_to_commit/Turbopack RSC/1000 modules 498.81ms ± 2.06ms 704.46ms ± 2.21ms +41.23% +39.19%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.32ms ± 0.08ms 10.66ms ± 0.09ms +3.32% +0.09%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9163.03µs ± 63.45µs 9194.71µs ± 73.19µs +0.35%
bench_hmr_to_eval/Turbopack RCC/1000 modules 9270.11µs ± 86.62µs 9552.28µs ± 100.35µs +3.04%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9290.74µs ± 83.45µs 9291.46µs ± 95.54µs +0.01%
bench_hydration/Turbopack RCC/1000 modules 4278.10ms ± 14.45ms 5870.97ms ± 20.33ms +37.23% +35.37%
bench_hydration/Turbopack RSC/1000 modules 3924.66ms ± 21.19ms 4644.44ms ± 16.34ms +18.34% +16.25%
bench_hydration/Turbopack SSR/1000 modules 3755.21ms ± 22.90ms 4282.32ms ± 11.68ms +14.04% +12.05%
bench_startup/Turbopack CSR/1000 modules 2858.15ms ± 9.34ms 3258.91ms ± 6.02ms +14.02% +12.86%
bench_startup/Turbopack RCC/1000 modules 2606.56ms ± 8.67ms 3185.62ms ± 6.90ms +22.22% +20.88%
bench_startup/Turbopack RSC/1000 modules 2502.95ms ± 4.58ms 2577.45ms ± 7.64ms +2.98% +1.99%
bench_startup/Turbopack SSR/1000 modules 2146.59ms ± 1.86ms 2198.33ms ± 6.83ms +2.41% +1.60%

@github-actions
Copy link
Contributor

Benchmark for 92e58e5

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack RCC/1000 modules 10.28ms ± 0.10ms 10.75ms ± 0.08ms +4.53% +1.08%
bench_hmr_to_commit/Turbopack RSC/1000 modules 487.48ms ± 2.07ms 709.14ms ± 5.36ms +45.47% +42.06%
bench_hydration/Turbopack RCC/1000 modules 4243.25ms ± 7.84ms 5803.29ms ± 20.92ms +36.77% +35.28%
bench_hydration/Turbopack RSC/1000 modules 3828.10ms ± 17.69ms 4586.34ms ± 16.08ms +19.81% +17.88%
bench_hydration/Turbopack SSR/1000 modules 3731.21ms ± 19.98ms 4225.55ms ± 23.42ms +13.25% +10.81%
bench_startup/Turbopack CSR/1000 modules 2800.87ms ± 6.47ms 3242.98ms ± 10.12ms +15.78% +14.53%
bench_startup/Turbopack RCC/1000 modules 2559.47ms ± 4.61ms 3137.44ms ± 7.68ms +22.58% +21.54%
bench_startup/Turbopack RSC/1000 modules 2454.57ms ± 9.75ms 2528.07ms ± 7.49ms +2.99% +1.58%
bench_startup/Turbopack SSR/1000 modules 2127.64ms ± 2.91ms 2162.60ms ± 2.85ms +1.64% +1.10%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.16ms ± 0.10ms 10.38ms ± 0.09ms +2.17%
bench_hmr_to_commit/Turbopack RCC/1000 modules 10.28ms ± 0.10ms 10.75ms ± 0.08ms +4.53% +1.08%
bench_hmr_to_commit/Turbopack RSC/1000 modules 487.48ms ± 2.07ms 709.14ms ± 5.36ms +45.47% +42.06%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.29ms ± 0.05ms 10.46ms ± 0.09ms +1.68%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9063.54µs ± 82.34µs 9044.77µs ± 68.37µs -0.21%
bench_hmr_to_eval/Turbopack RCC/1000 modules 9235.33µs ± 97.75µs 9295.27µs ± 70.70µs +0.65%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9144.07µs ± 86.03µs 9180.48µs ± 98.40µs +0.40%
bench_hydration/Turbopack RCC/1000 modules 4243.25ms ± 7.84ms 5803.29ms ± 20.92ms +36.77% +35.28%
bench_hydration/Turbopack RSC/1000 modules 3828.10ms ± 17.69ms 4586.34ms ± 16.08ms +19.81% +17.88%
bench_hydration/Turbopack SSR/1000 modules 3731.21ms ± 19.98ms 4225.55ms ± 23.42ms +13.25% +10.81%
bench_startup/Turbopack CSR/1000 modules 2800.87ms ± 6.47ms 3242.98ms ± 10.12ms +15.78% +14.53%
bench_startup/Turbopack RCC/1000 modules 2559.47ms ± 4.61ms 3137.44ms ± 7.68ms +22.58% +21.54%
bench_startup/Turbopack RSC/1000 modules 2454.57ms ± 9.75ms 2528.07ms ± 7.49ms +2.99% +1.58%
bench_startup/Turbopack SSR/1000 modules 2127.64ms ± 2.91ms 2162.60ms ± 2.85ms +1.64% +1.10%

@sokra sokra force-pushed the sokra/compile-time-value-refactor2 branch from 7628911 to 1402d03 Compare February 10, 2023 16:25
@github-actions
Copy link
Contributor

Benchmark for efa717d

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack RCC/1000 modules 9535.00µs ± 96.42µs 9943.20µs ± 83.40µs +4.28% +0.50%
bench_hmr_to_commit/Turbopack RSC/1000 modules 498.34ms ± 2.27ms 696.03ms ± 4.85ms +39.67% +36.48%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9409.44µs ± 98.18µs 9802.44µs ± 93.98µs +4.18% +0.09%
bench_hydration/Turbopack RCC/1000 modules 4244.66ms ± 9.10ms 5839.70ms ± 17.05ms +37.58% +36.19%
bench_hydration/Turbopack RSC/1000 modules 3819.39ms ± 13.46ms 4541.22ms ± 14.91ms +18.90% +17.29%
bench_hydration/Turbopack SSR/1000 modules 3718.56ms ± 10.66ms 4185.42ms ± 12.80ms +12.55% +11.23%
bench_startup/Turbopack CSR/1000 modules 2779.62ms ± 8.45ms 3240.26ms ± 14.31ms +16.57% +14.84%
bench_startup/Turbopack RCC/1000 modules 2560.01ms ± 7.41ms 3124.29ms ± 7.51ms +22.04% +20.76%
bench_startup/Turbopack RSC/1000 modules 2452.67ms ± 4.62ms 2547.26ms ± 7.82ms +3.86% +2.83%
bench_startup/Turbopack SSR/1000 modules 2113.59ms ± 2.63ms 2155.80ms ± 3.34ms +2.00% +1.43%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9371.34µs ± 97.44µs 9625.57µs ± 73.50µs +2.71%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9535.00µs ± 96.42µs 9943.20µs ± 83.40µs +4.28% +0.50%
bench_hmr_to_commit/Turbopack RSC/1000 modules 498.34ms ± 2.27ms 696.03ms ± 4.85ms +39.67% +36.48%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9409.44µs ± 98.18µs 9802.44µs ± 93.98µs +4.18% +0.09%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8336.79µs ± 69.17µs 8307.06µs ± 42.16µs -0.36%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8442.83µs ± 85.46µs 8629.42µs ± 74.28µs +2.21%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8386.47µs ± 79.93µs 8480.21µs ± 84.78µs +1.12%
bench_hydration/Turbopack RCC/1000 modules 4244.66ms ± 9.10ms 5839.70ms ± 17.05ms +37.58% +36.19%
bench_hydration/Turbopack RSC/1000 modules 3819.39ms ± 13.46ms 4541.22ms ± 14.91ms +18.90% +17.29%
bench_hydration/Turbopack SSR/1000 modules 3718.56ms ± 10.66ms 4185.42ms ± 12.80ms +12.55% +11.23%
bench_startup/Turbopack CSR/1000 modules 2779.62ms ± 8.45ms 3240.26ms ± 14.31ms +16.57% +14.84%
bench_startup/Turbopack RCC/1000 modules 2560.01ms ± 7.41ms 3124.29ms ± 7.51ms +22.04% +20.76%
bench_startup/Turbopack RSC/1000 modules 2452.67ms ± 4.62ms 2547.26ms ± 7.82ms +3.86% +2.83%
bench_startup/Turbopack SSR/1000 modules 2113.59ms ± 2.63ms 2155.80ms ± 3.34ms +2.00% +1.43%

@github-actions
Copy link
Contributor

Benchmark for 5de35ee

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack RCC/1000 modules 11.93ms ± 0.14ms 12.86ms ± 0.12ms +7.80% +3.44%
bench_hmr_to_commit/Turbopack RSC/1000 modules 524.35ms ± 2.06ms 741.00ms ± 7.09ms +41.32% +37.53%
bench_hydration/Turbopack RCC/1000 modules 4352.89ms ± 14.71ms 5865.95ms ± 18.42ms +34.76% +33.01%
bench_hydration/Turbopack RSC/1000 modules 3932.72ms ± 17.00ms 4665.78ms ± 14.97ms +18.64% +16.87%
bench_hydration/Turbopack SSR/1000 modules 3802.13ms ± 22.65ms 4259.67ms ± 21.33ms +12.03% +9.61%
bench_startup/Turbopack CSR/1000 modules 2838.95ms ± 9.32ms 3311.45ms ± 20.59ms +16.64% +14.44%
bench_startup/Turbopack RCC/1000 modules 2625.14ms ± 6.12ms 3188.82ms ± 8.89ms +21.47% +20.23%
bench_startup/Turbopack RSC/1000 modules 2525.46ms ± 5.59ms 2608.45ms ± 6.73ms +3.29% +2.30%
bench_startup/Turbopack SSR/1000 modules 2164.92ms ± 3.28ms 2200.76ms ± 2.76ms +1.66% +1.09%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.11ms ± 0.09ms 10.44ms ± 0.09ms +3.25%
bench_hmr_to_commit/Turbopack RCC/1000 modules 11.93ms ± 0.14ms 12.86ms ± 0.12ms +7.80% +3.44%
bench_hmr_to_commit/Turbopack RSC/1000 modules 524.35ms ± 2.06ms 741.00ms ± 7.09ms +41.32% +37.53%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.29ms ± 0.08ms 10.56ms ± 0.07ms +2.63%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9129.37µs ± 99.10µs 9174.44µs ± 75.88µs +0.49%
bench_hmr_to_eval/Turbopack RCC/1000 modules 10.76ms ± 0.10ms 11.01ms ± 0.11ms +2.26%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9223.19µs ± 80.23µs 9239.52µs ± 62.62µs +0.18%
bench_hydration/Turbopack RCC/1000 modules 4352.89ms ± 14.71ms 5865.95ms ± 18.42ms +34.76% +33.01%
bench_hydration/Turbopack RSC/1000 modules 3932.72ms ± 17.00ms 4665.78ms ± 14.97ms +18.64% +16.87%
bench_hydration/Turbopack SSR/1000 modules 3802.13ms ± 22.65ms 4259.67ms ± 21.33ms +12.03% +9.61%
bench_startup/Turbopack CSR/1000 modules 2838.95ms ± 9.32ms 3311.45ms ± 20.59ms +16.64% +14.44%
bench_startup/Turbopack RCC/1000 modules 2625.14ms ± 6.12ms 3188.82ms ± 8.89ms +21.47% +20.23%
bench_startup/Turbopack RSC/1000 modules 2525.46ms ± 5.59ms 2608.45ms ± 6.73ms +3.29% +2.30%
bench_startup/Turbopack SSR/1000 modules 2164.92ms ± 3.28ms 2200.76ms ± 2.76ms +1.66% +1.09%

@github-actions
Copy link
Contributor

Benchmark for 4854a0f

Test Base PR % Significant %
bench_hydration/Turbopack RCC/1000 modules 3863.79ms ± 17.79ms 4005.77ms ± 26.56ms +3.67% +1.37%
bench_hydration/Turbopack RSC/1000 modules 3498.19ms ± 11.42ms 3562.38ms ± 12.43ms +1.83% +0.47%
bench_hydration/Turbopack SSR/1000 modules 3565.39ms ± 10.46ms 3628.94ms ± 20.89ms +1.78% +0.02%
bench_startup/Turbopack CSR/1000 modules 2753.72ms ± 5.42ms 2837.56ms ± 4.75ms +3.04% +2.30%
bench_startup/Turbopack RCC/1000 modules 2350.17ms ± 4.43ms 2438.52ms ± 7.10ms +3.76% +2.77%
bench_startup/Turbopack RSC/1000 modules 2309.21ms ± 8.26ms 2347.77ms ± 6.15ms +1.67% +0.42%
bench_startup/Turbopack SSR/1000 modules 2153.35ms ± 3.16ms 2197.20ms ± 2.83ms +2.04% +1.48%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.27ms ± 0.09ms 10.42ms ± 0.08ms +1.50%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.34ms ± 0.22ms 12.39ms ± 0.29ms +0.45%
bench_hmr_to_commit/Turbopack RSC/1000 modules 516.96ms ± 1.15ms 517.99ms ± 1.21ms +0.20%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.35ms ± 0.08ms 10.37ms ± 0.09ms +0.21%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9479.94µs ± 123.21µs 9492.94µs ± 60.55µs +0.14%
bench_hmr_to_eval/Turbopack RCC/1000 modules 10.96ms ± 0.13ms 11.04ms ± 0.10ms +0.71%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9342.58µs ± 73.14µs 9541.19µs ± 78.77µs +2.13%
bench_hydration/Turbopack RCC/1000 modules 3863.79ms ± 17.79ms 4005.77ms ± 26.56ms +3.67% +1.37%
bench_hydration/Turbopack RSC/1000 modules 3498.19ms ± 11.42ms 3562.38ms ± 12.43ms +1.83% +0.47%
bench_hydration/Turbopack SSR/1000 modules 3565.39ms ± 10.46ms 3628.94ms ± 20.89ms +1.78% +0.02%
bench_startup/Turbopack CSR/1000 modules 2753.72ms ± 5.42ms 2837.56ms ± 4.75ms +3.04% +2.30%
bench_startup/Turbopack RCC/1000 modules 2350.17ms ± 4.43ms 2438.52ms ± 7.10ms +3.76% +2.77%
bench_startup/Turbopack RSC/1000 modules 2309.21ms ± 8.26ms 2347.77ms ± 6.15ms +1.67% +0.42%
bench_startup/Turbopack SSR/1000 modules 2153.35ms ± 3.16ms 2197.20ms ± 2.83ms +2.04% +1.48%

crates/turbopack-ecmascript/src/analyzer/mod.rs Outdated Show resolved Hide resolved
crates/turbopack-ecmascript/src/analyzer/mod.rs Outdated Show resolved Hide resolved
crates/turbopack-ecmascript/src/analyzer/mod.rs Outdated Show resolved Hide resolved
crates/turbopack-ecmascript/src/analyzer/mod.rs Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

Benchmark for b5b4438

Test Base PR % Significant %
bench_hydration/Turbopack RSC/1000 modules 3416.58ms ± 7.94ms 3484.93ms ± 14.92ms +2.00% +0.66%
bench_hydration/Turbopack SSR/1000 modules 3422.10ms ± 13.45ms 3524.19ms ± 22.50ms +2.98% +0.88%
bench_startup/Turbopack CSR/1000 modules 2710.91ms ± 7.31ms 2770.28ms ± 9.46ms +2.19% +0.95%
bench_startup/Turbopack RCC/1000 modules 2295.25ms ± 6.43ms 2354.92ms ± 4.81ms +2.60% +1.61%
bench_startup/Turbopack RSC/1000 modules 2226.40ms ± 6.19ms 2283.32ms ± 5.00ms +2.56% +1.54%
bench_startup/Turbopack SSR/1000 modules 2090.03ms ± 2.92ms 2140.02ms ± 3.70ms +2.39% +1.75%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9501.11µs ± 68.43µs 9456.84µs ± 69.11µs -0.47%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.09ms ± 0.21ms 12.11ms ± 0.25ms +0.21%
bench_hmr_to_commit/Turbopack RSC/1000 modules 511.06ms ± 3.03ms 506.55ms ± 2.76ms -0.88%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9604.62µs ± 80.79µs 9551.69µs ± 86.67µs -0.55%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8580.91µs ± 54.50µs 8520.97µs ± 76.19µs -0.70%
bench_hmr_to_eval/Turbopack RCC/1000 modules 10.73ms ± 0.23ms 10.90ms ± 0.16ms +1.57%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8646.03µs ± 67.10µs 8582.32µs ± 53.44µs -0.74%
bench_hydration/Turbopack RCC/1000 modules 3774.43ms ± 20.90ms 3873.03ms ± 31.82ms +2.61%
bench_hydration/Turbopack RSC/1000 modules 3416.58ms ± 7.94ms 3484.93ms ± 14.92ms +2.00% +0.66%
bench_hydration/Turbopack SSR/1000 modules 3422.10ms ± 13.45ms 3524.19ms ± 22.50ms +2.98% +0.88%
bench_startup/Turbopack CSR/1000 modules 2710.91ms ± 7.31ms 2770.28ms ± 9.46ms +2.19% +0.95%
bench_startup/Turbopack RCC/1000 modules 2295.25ms ± 6.43ms 2354.92ms ± 4.81ms +2.60% +1.61%
bench_startup/Turbopack RSC/1000 modules 2226.40ms ± 6.19ms 2283.32ms ± 5.00ms +2.56% +1.54%
bench_startup/Turbopack SSR/1000 modules 2090.03ms ± 2.92ms 2140.02ms ± 3.70ms +2.39% +1.75%

@sokra
Copy link
Member Author

sokra commented Feb 21, 2023

performance will be fixed by follow-up PR: #3670

@sokra sokra added the pr: automerge Kodiak will merge these automatically after checks pass label Feb 22, 2023
@kodiakhq kodiakhq bot merged commit 0b844b1 into main Feb 22, 2023
@kodiakhq kodiakhq bot deleted the sokra/compile-time-value-refactor2 branch February 22, 2023 12:13
@github-actions
Copy link
Contributor

Benchmark for 88ba4ee

Test Base PR % Significant %
bench_hydration/Turbopack RCC/1000 modules 3827.87ms ± 18.87ms 4014.34ms ± 26.84ms +4.87% +2.46%
bench_hydration/Turbopack RSC/1000 modules 3506.24ms ± 8.68ms 3571.91ms ± 11.07ms +1.87% +0.74%
bench_hydration/Turbopack SSR/1000 modules 3553.67ms ± 16.51ms 3677.35ms ± 20.91ms +3.48% +1.36%
bench_startup/Turbopack CSR/1000 modules 2776.50ms ± 13.81ms 2851.99ms ± 12.47ms +2.72% +0.82%
bench_startup/Turbopack RCC/1000 modules 2370.58ms ± 6.37ms 2414.93ms ± 5.06ms +1.87% +0.90%
bench_startup/Turbopack RSC/1000 modules 2272.70ms ± 6.21ms 2324.25ms ± 8.56ms +2.27% +0.96%
bench_startup/Turbopack SSR/1000 modules 2156.04ms ± 5.42ms 2191.66ms ± 4.39ms +1.65% +0.74%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.50ms ± 0.07ms 10.50ms ± 0.08ms +0.02%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.28ms ± 0.15ms 12.90ms ± 0.23ms +5.09%
bench_hmr_to_commit/Turbopack RSC/1000 modules 531.29ms ± 1.46ms 533.56ms ± 2.72ms +0.43%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.63ms ± 0.11ms 10.58ms ± 0.11ms -0.46%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9355.59µs ± 76.61µs 9487.27µs ± 76.20µs +1.41%
bench_hmr_to_eval/Turbopack RCC/1000 modules 11.63ms ± 0.15ms 11.36ms ± 0.13ms -2.35%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9624.06µs ± 85.98µs 9430.45µs ± 71.44µs -2.01%
bench_hydration/Turbopack RCC/1000 modules 3827.87ms ± 18.87ms 4014.34ms ± 26.84ms +4.87% +2.46%
bench_hydration/Turbopack RSC/1000 modules 3506.24ms ± 8.68ms 3571.91ms ± 11.07ms +1.87% +0.74%
bench_hydration/Turbopack SSR/1000 modules 3553.67ms ± 16.51ms 3677.35ms ± 20.91ms +3.48% +1.36%
bench_startup/Turbopack CSR/1000 modules 2776.50ms ± 13.81ms 2851.99ms ± 12.47ms +2.72% +0.82%
bench_startup/Turbopack RCC/1000 modules 2370.58ms ± 6.37ms 2414.93ms ± 5.06ms +1.87% +0.90%
bench_startup/Turbopack RSC/1000 modules 2272.70ms ± 6.21ms 2324.25ms ± 8.56ms +2.27% +0.96%
bench_startup/Turbopack SSR/1000 modules 2156.04ms ± 5.42ms 2191.66ms ± 4.39ms +1.65% +0.74%

Comment on lines +1514 to +1523
(
PositiveBinaryOperator::StrictEqual,
JsValue::Constant(a),
JsValue::Constant(b),
) if a.is_value_type() => Some(a == b),
(
PositiveBinaryOperator::StrictEqual,
JsValue::Constant(a),
JsValue::Constant(b),
) if a.is_value_type() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this second branch ever execute? It's the same match as the first.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, the second branch can be removed. The first branch is an less verbose version of the first one

ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: automerge Kodiak will merge these automatically after checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants