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

Use IndexSet in IntrospectableChildrenVc #3853

Merged
merged 1 commit into from Feb 17, 2023

Conversation

jridgewell
Copy link
Contributor

@jridgewell jridgewell commented Feb 17, 2023

Another small cleanup stemming from the the basePath PR. Makes the introspection ordering consistent, which is a nice usability win.

Co-Authored-By: Alex Kirszenberg <1621758+alexkirsz@users.noreply.github.com>
@vercel
Copy link

vercel bot commented Feb 17, 2023

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

10 Ignored Deployments
Name Status Preview Updated
examples-basic-web ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-cra-web ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-nonmonorepo ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-tailwind-web ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
examples-vite-web ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)
turbo-site ⬜️ Ignored (Inspect) Feb 17, 2023 at 2:31AM (UTC)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 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

Benchmark for 6ada6e3

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.34ms ± 0.09ms 10.24ms ± 0.09ms -0.96%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.04ms ± 0.18ms 12.36ms ± 0.22ms +2.63%
bench_hmr_to_commit/Turbopack RSC/1000 modules 515.36ms ± 1.60ms 518.21ms ± 1.43ms +0.55%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.37ms ± 0.08ms 10.26ms ± 0.05ms -1.07%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9252.09µs ± 85.39µs 9271.64µs ± 81.22µs +0.21%
bench_hmr_to_eval/Turbopack RCC/1000 modules 10.91ms ± 0.14ms 10.96ms ± 0.14ms +0.50%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9259.00µs ± 52.05µs 9228.52µs ± 83.86µs -0.33%
bench_hydration/Turbopack RCC/1000 modules 3939.68ms ± 36.90ms 3900.11ms ± 15.08ms -1.00%
bench_hydration/Turbopack RSC/1000 modules 3436.74ms ± 11.32ms 3422.83ms ± 13.72ms -0.40%
bench_hydration/Turbopack SSR/1000 modules 3549.44ms ± 17.12ms 3559.91ms ± 22.25ms +0.29%
bench_startup/Turbopack CSR/1000 modules 2798.76ms ± 12.90ms 2784.60ms ± 16.75ms -0.51%
bench_startup/Turbopack RCC/1000 modules 2297.86ms ± 4.56ms 2296.04ms ± 4.44ms -0.08%
bench_startup/Turbopack RSC/1000 modules 2235.02ms ± 9.42ms 2235.73ms ± 6.27ms +0.03%
bench_startup/Turbopack SSR/1000 modules 2117.41ms ± 2.40ms 2112.74ms ± 2.69ms -0.22%

Copy link
Member

@sokra sokra left a comment

Choose a reason for hiding this comment

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

Could you remove the children.sort() in crates/turbopack-dev-server/src/introspect/mod.rs

@@ -120,7 +120,6 @@ impl ContentSource for IntrospectionSource {
})
.try_join()
.await?;
children.sort();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Already removed

@jridgewell jridgewell merged commit a9ab07f into main Feb 17, 2023
@jridgewell jridgewell deleted the jrl-indexset-IntrospectableChildrenVc branch February 17, 2023 17:07
jridgewell added a commit to vercel/next.js that referenced this pull request Mar 10, 2023
Another small cleanup stemming from the the `basePath` PR. Makes the
introspection ordering consistent, which is a nice usability win.

Co-authored-by: Alex Kirszenberg <1621758+alexkirsz@users.noreply.github.com>
sokra pushed a commit to vercel/next.js that referenced this pull request Mar 13, 2023
Another small cleanup stemming from the the `basePath` PR. Makes the
introspection ordering consistent, which is a nice usability win.

Co-authored-by: Alex Kirszenberg <1621758+alexkirsz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants