Skip to content

chore(benchmark): add rspack benchcases #9345

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

Merged
merged 35 commits into from
Jun 18, 2025
Merged

chore(benchmark): add rspack benchcases #9345

merged 35 commits into from
Jun 18, 2025

Conversation

h-a-n-a
Copy link
Contributor

@h-a-n-a h-a-n-a commented Feb 17, 2025

Summary

With Rust Builder API, we can migrate some pure rust benchmarks in https://github.com/web-infra-dev/rspack-ecosystem-benchmark to codspeed.

Since codspeed calculates cpu cycles, there's no need to scale up the benchmark. So we only preserve a little modules in the 1000 benchmark to speed up ci.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Sorry, something went wrong.

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Feb 17, 2025
Copy link

netlify bot commented Feb 17, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit c09cef1
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/685157b1321a250008378343
😎 Deploy Preview https://deploy-preview-9345--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@h-a-n-a h-a-n-a force-pushed the refactor-bench branch 3 times, most recently from e8807a6 to 83cc5ba Compare February 19, 2025 06:53
@h-a-n-a h-a-n-a force-pushed the refactor-bench branch 4 times, most recently from c685554 to 0ad931f Compare April 14, 2025 12:14
@CPunisher CPunisher self-assigned this Jun 11, 2025
Copy link

codspeed-hq bot commented Jun 17, 2025

CodSpeed Performance Report

Merging #9345 will not alter performance

Comparing refactor-bench (c09cef1) with main (042c12b)

Summary

✅ 10 untouched benchmarks
🆕 6 new benchmarks
⁉️ 2 dropped benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
⁉️ rust@bundle-basic 4 ms N/A N/A
⁉️ rust@bundle-basic_sourcemap 4.2 ms N/A N/A
🆕 bundle@basic-react-development N/A 8.1 ms N/A
🆕 bundle@basic-react-production N/A 11.4 ms N/A
🆕 bundle@basic-react-production-sourcemap N/A 11.9 ms N/A
🆕 bundle@threejs-development N/A 949.7 ms N/A
🆕 bundle@threejs-production N/A 1.9 s N/A
🆕 bundle@threejs-production-sourcemap N/A 2.4 s N/A

@CPunisher CPunisher changed the title test(benchmark): add rspack benchcases chore(benchmark): add rspack benchcases Jun 17, 2025
@CPunisher CPunisher marked this pull request as ready for review June 17, 2025 09:51
@CPunisher CPunisher requested a review from jerrykingxyz as a code owner June 17, 2025 09:51
@CPunisher CPunisher merged commit 02970a5 into main Jun 18, 2025
37 of 38 checks passed
@CPunisher CPunisher deleted the refactor-bench branch June 18, 2025 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants