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

avoid warning in webpack loader executor #3551

Merged
merged 4 commits into from
Feb 1, 2023

Conversation

sokra
Copy link
Member

@sokra sokra commented Jan 31, 2023

No description provided.

@sokra sokra requested a review from a team as a code owner January 31, 2023 16:56
@vercel
Copy link

vercel bot commented Jan 31, 2023

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

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

@github-actions
Copy link
Contributor

Benchmark for 27bd331

Test Base PR % Significant %
bench_startup/Turbopack CSR/1000 modules 2189.20ms ± 13.24ms 2138.65ms ± 8.45ms -2.31% -0.33%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9952.65µs ± 90.35µs 9898.24µs ± 104.80µs -0.55%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9987.41µs ± 83.64µs 10.20ms ± 0.12ms +2.18%
bench_hmr_to_commit/Turbopack RSC/1000 modules 519.92ms ± 2.45ms 520.85ms ± 1.09ms +0.18%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9977.28µs ± 104.66µs 10.09ms ± 0.09ms +1.08%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8846.77µs ± 49.42µs 8815.11µs ± 80.47µs -0.36%
bench_hmr_to_eval/Turbopack RCC/1000 modules 9114.45µs ± 78.87µs 9153.24µs ± 95.30µs +0.43%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8989.12µs ± 84.03µs 8964.12µs ± 76.81µs -0.28%
bench_hydration/Turbopack RCC/1000 modules 3961.56ms ± 11.20ms 3993.13ms ± 13.66ms +0.80%
bench_hydration/Turbopack RSC/1000 modules 3477.62ms ± 8.14ms 3461.30ms ± 10.03ms -0.47%
bench_hydration/Turbopack SSR/1000 modules 3237.02ms ± 16.49ms 3263.59ms ± 5.31ms +0.82%
bench_startup/Turbopack CSR/1000 modules 2189.20ms ± 13.24ms 2138.65ms ± 8.45ms -2.31% -0.33%
bench_startup/Turbopack RCC/1000 modules 2629.57ms ± 7.28ms 2622.08ms ± 9.75ms -0.28%
bench_startup/Turbopack RSC/1000 modules 2529.01ms ± 8.92ms 2531.47ms ± 6.42ms +0.10%
bench_startup/Turbopack SSR/1000 modules 2137.54ms ± 5.53ms 2129.85ms ± 3.98ms -0.36%

@github-actions
Copy link
Contributor

github-actions bot commented Jan 31, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests

See workflow summary for details

@@ -197,6 +197,9 @@ function externalRequire(id, esm) {
interopEsm(raw, ns, true);
return ns;
}
externalRequire.resolve = (name, opt) => {
return require.resolve(name, opt);
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated to this PR, but we should likely move the externalRequire to runtime.nodejs and have it fail directly in runtime.dom

@sokra sokra force-pushed the sokra/web-532-avoid-warnings-reported-by-webpack branch from c60c306 to 4fa5c32 Compare February 1, 2023 13:55
@sokra sokra added the pr: automerge Kodiak will merge these automatically after checks pass label Feb 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2023

Benchmark for 0bc0464

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9099.48µs ± 72.12µs 9116.31µs ± 75.71µs +0.18%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9520.24µs ± 53.50µs 9496.06µs ± 96.17µs -0.25%
bench_hmr_to_commit/Turbopack RSC/1000 modules 474.45ms ± 2.03ms 471.22ms ± 1.13ms -0.68%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9356.07µs ± 74.01µs 9382.54µs ± 54.93µs +0.28%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8167.38µs ± 43.56µs 8191.63µs ± 90.77µs +0.30%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8400.50µs ± 42.83µs 8426.42µs ± 66.47µs +0.31%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8437.08µs ± 69.43µs 8394.66µs ± 83.89µs -0.50%
bench_hydration/Turbopack RCC/1000 modules 3679.23ms ± 10.66ms 3740.33ms ± 27.98ms +1.66%
bench_hydration/Turbopack RSC/1000 modules 3223.65ms ± 6.13ms 3216.20ms ± 9.31ms -0.23%
bench_hydration/Turbopack SSR/1000 modules 3018.51ms ± 13.74ms 2995.13ms ± 11.15ms -0.77%
bench_startup/Turbopack CSR/1000 modules 2029.83ms ± 12.46ms 2032.00ms ± 12.38ms +0.11%
bench_startup/Turbopack RCC/1000 modules 2442.72ms ± 7.11ms 2464.22ms ± 6.63ms +0.88%
bench_startup/Turbopack RSC/1000 modules 2359.59ms ± 4.50ms 2348.38ms ± 7.39ms -0.48%
bench_startup/Turbopack SSR/1000 modules 1996.90ms ± 6.52ms 2001.59ms ± 5.77ms +0.23%

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2023

Benchmark for a7528f7

Test Base PR % Significant %
bench_hydration/Turbopack RCC/1000 modules 3874.12ms ± 34.68ms 4014.20ms ± 22.56ms +3.62% +0.65%
bench_startup/Turbopack CSR/1000 modules 2162.80ms ± 16.02ms 2065.06ms ± 20.53ms -4.52% -1.16%
bench_startup/Turbopack RSC/1000 modules 2574.80ms ± 5.63ms 2509.74ms ± 5.97ms -2.53% -1.63%
bench_startup/Turbopack SSR/1000 modules 2133.73ms ± 5.58ms 2182.06ms ± 7.68ms +2.27% +1.02%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 8826.82µs ± 62.83µs 8839.08µs ± 75.71µs +0.14%
bench_hmr_to_commit/Turbopack RCC/1000 modules 10.38ms ± 0.18ms 10.12ms ± 0.09ms -2.51%
bench_hmr_to_commit/Turbopack RSC/1000 modules 484.65ms ± 2.61ms 475.84ms ± 2.11ms -1.82%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9354.53µs ± 64.47µs 9198.77µs ± 69.34µs -1.67%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8508.76µs ± 106.32µs 8346.61µs ± 107.30µs -1.91%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8479.74µs ± 129.26µs 8400.93µs ± 72.28µs -0.93%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8668.11µs ± 51.15µs 8656.99µs ± 114.53µs -0.13%
bench_hydration/Turbopack RCC/1000 modules 3874.12ms ± 34.68ms 4014.20ms ± 22.56ms +3.62% +0.65%
bench_hydration/Turbopack RSC/1000 modules 3499.28ms ± 12.12ms 3487.61ms ± 14.68ms -0.33%
bench_hydration/Turbopack SSR/1000 modules 3218.13ms ± 11.82ms 3256.16ms ± 17.94ms +1.18%
bench_startup/Turbopack CSR/1000 modules 2162.80ms ± 16.02ms 2065.06ms ± 20.53ms -4.52% -1.16%
bench_startup/Turbopack RCC/1000 modules 2691.55ms ± 14.54ms 2689.26ms ± 6.65ms -0.09%
bench_startup/Turbopack RSC/1000 modules 2574.80ms ± 5.63ms 2509.74ms ± 5.97ms -2.53% -1.63%
bench_startup/Turbopack SSR/1000 modules 2133.73ms ± 5.58ms 2182.06ms ± 7.68ms +2.27% +1.02%

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.

None yet

3 participants