Skip to content

perf: prepare module outgoings for code splitting #10931

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

Closed
wants to merge 1 commit into from

Conversation

LingyuCoder
Copy link
Contributor

@LingyuCoder LingyuCoder commented Jul 7, 2025

Summary

Prepare module outgoings for code splitting while generating chunk graph.

Before: 2.8s
image

After: 1.7s
image
image

Related links

Checklist

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

@LingyuCoder LingyuCoder requested a review from JSerFeng July 7, 2025 08:51
Copy link

netlify bot commented Jul 7, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 7b241a8
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/687a20c4fec9590008eededc

@github-actions github-actions bot added release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack. labels Jul 7, 2025
Copy link
Contributor

github-actions bot commented Jul 7, 2025

📦 Binary Size-limit

Comparing 7b241a8 to feat(plugin_mf): Module Hoisting, Entry initialization via webpack_require.x, Custom Hooks (#10524) by Zack Jackson

❌ Size increased by 26.13KB from 48.86MB to 48.89MB (⬆️0.05%)

Copy link

codspeed-hq bot commented Jul 7, 2025

CodSpeed Performance Report

Merging #10931 will degrade performances by 15.06%

Comparing perf/prepare-outgoings (7b241a8) with main (0616a9d)

Summary

❌ 1 regressions
✅ 15 untouched benchmarks

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

Benchmarks breakdown

Benchmark BASE HEAD Change
rust@build_chunk_graph_parallel 80.2 ms 94.4 ms -15.06%

@LingyuCoder LingyuCoder force-pushed the perf/prepare-outgoings branch from 6814a13 to 7b241a8 Compare July 18, 2025 10:24
@LingyuCoder
Copy link
Contributor Author

find a better way to improve performance, so this pr will be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant