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

Depend directly on swc crates #5879

Closed
wants to merge 48 commits into from
Closed

Depend directly on swc crates #5879

wants to merge 48 commits into from

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Sep 5, 2023

Description

I'm profiling compile time difference of swc-project/swc#7911

Testing Instructions

Closes WEB-1499


Profile result

Original compile time: 2m 05s

New compile time: 2m 2s

@vercel
Copy link

vercel bot commented Sep 5, 2023

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

Name Status Preview Comments Updated (UTC)
examples-cra-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 6:15am
examples-gatsby-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 6:15am
examples-svelte-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 6:15am
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am
examples-nonmonorepo ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am
turbo-site ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 6:15am

Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

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

See workflow summary for details

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

✅ This change can build next-swc

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

Linux Benchmark for 7c446a2

Test Base PR % Significant %
bench_startup/Turbopack CSR/1000 modules 989.55ms ± 0.64ms 997.82ms ± 3.12ms +0.84% +0.07%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 5880.77µs ± 19.50µs 5867.48µs ± 27.33µs -0.23%
bench_hmr_to_eval/Turbopack CSR/1000 modules 5373.29µs ± 22.67µs 5601.30µs ± 263.30µs +4.24%
bench_startup/Turbopack CSR/1000 modules 989.55ms ± 0.64ms 997.82ms ± 3.12ms +0.84% +0.07%

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

MacOS Benchmark for 7c446a2

Test Base PR % Significant %
bench_startup/Turbopack CSR/1000 modules 10.44s ± 0.37s 4723.83ms ± 784.26ms -54.77% -35.17%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 27.89ms ± 0.06ms 27.74ms ± 0.05ms -0.52%
bench_hmr_to_eval/Turbopack CSR/1000 modules 27.18ms ± 0.09ms 26.88ms ± 0.35ms -1.10%
bench_startup/Turbopack CSR/1000 modules 10.44s ± 0.37s 4723.83ms ± 784.26ms -54.77% -35.17%

@github-actions
Copy link
Contributor

Linux Benchmark for 133e879

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 5439.07µs ± 21.90µs 5454.74µs ± 31.83µs +0.29%
bench_hmr_to_eval/Turbopack CSR/1000 modules 5028.28µs ± 20.76µs 5404.32µs ± 412.16µs +7.48%
bench_startup/Turbopack CSR/1000 modules 987.35ms ± 0.95ms 986.68ms ± 3.09ms -0.07%

@github-actions
Copy link
Contributor

Linux Benchmark for 5aae0ce

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 5846.49µs ± 77.31µs 5967.65µs ± 36.89µs +2.07%
bench_hmr_to_eval/Turbopack CSR/1000 modules 5356.02µs ± 40.72µs 5577.80µs ± 255.67µs +4.14%
bench_startup/Turbopack CSR/1000 modules 1001.19ms ± 3.33ms 994.80ms ± 3.39ms -0.64%

@github-actions
Copy link
Contributor

MacOS Benchmark for 5aae0ce

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 27.62ms ± 0.06ms 27.99ms ± 0.03ms +1.35% +0.71%
bench_startup/Turbopack CSR/1000 modules 10.59s ± 2.30s 3444.53ms ± 55.46ms -67.49% -40.77%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 27.62ms ± 0.06ms 27.99ms ± 0.03ms +1.35% +0.71%
bench_hmr_to_eval/Turbopack CSR/1000 modules 23.38ms ± 1.63ms 27.17ms ± 0.73ms +16.18%
bench_startup/Turbopack CSR/1000 modules 10.59s ± 2.30s 3444.53ms ± 55.46ms -67.49% -40.77%

Copy link
Contributor

github-actions bot commented Nov 10, 2023

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@kdy1 kdy1 closed this Nov 10, 2023
@kdy1
Copy link
Member Author

kdy1 commented Nov 10, 2023

Closing as it didn't have enough impact

Copy link
Contributor

Linux Benchmark for 9a51c4e

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 21.86ms ± 0.88ms 21.67ms ± 0.86ms -0.83%
bench_hmr_to_eval/Turbopack CSR/1000 modules 21.30ms ± 0.84ms 21.25ms ± 0.84ms -0.27%
bench_startup/Turbopack CSR/1000 modules 1161.80ms ± 5.34ms 1214.40ms ± 27.05ms +4.53%

@kdy1 kdy1 deleted the kdy1/direct-swc branch January 29, 2024 02:48
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.

1 participant