Skip to content

Conversation

LingyuCoder
Copy link
Contributor

Summary

The comparator will be called too many times, and then the get_orded_chunk_modules() will also be called many times with the same chunk ukey. So just add them too cache.

Before:
image

After:
image

Related links

Checklist

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

@LingyuCoder LingyuCoder requested a review from ahabhgk July 4, 2025 05:48
Copy link

netlify bot commented Jul 4, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 54d7987
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/68676b43316c910008c95a30

@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 4, 2025
Copy link
Contributor

github-actions bot commented Jul 4, 2025

📦 Binary Size-limit

Comparing binary size with Commit: perf: parallelize getting full module names in the deterministic module ids plugin (#10906) by harpsealjs

❌ Size increased by 6.50KB from 59.85MB to 59.85MB (⬆️0.01%)

Copy link

codspeed-hq bot commented Jul 4, 2025

CodSpeed Performance Report

Merging #10908 will not alter performance

Comparing perf/cached-chunk-ids-ordered-modules (54d7987) with main (a31aa40)

Summary

✅ 16 untouched benchmarks

@LingyuCoder LingyuCoder merged commit 94ece6f into main Jul 4, 2025
69 of 72 checks passed
@LingyuCoder LingyuCoder deleted the perf/cached-chunk-ids-ordered-modules branch July 4, 2025 07:00
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.

2 participants