Skip to content

chore(wasm): use release-wasi profile#11131

Merged
CPunisher merged 9 commits intomainfrom
07-22-chore/wasm-size
Jul 23, 2025
Merged

chore(wasm): use release-wasi profile#11131
CPunisher merged 9 commits intomainfrom
07-22-chore/wasm-size

Conversation

@CPunisher
Copy link
Contributor

@CPunisher CPunisher commented Jul 22, 2025

Summary

release-wasi profile set opt-level = "s", which produce smaller wasm file. See https://github.com/web-infra-dev/rspack/actions/runs/16461149283. I separate the jobs with if condition because I will postproccess wasm file with wasm-opt in next pr.

BTW, I also remove "unset"s because we don't use jemallocator any more.

Related links

Checklist

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

@netlify
Copy link

netlify bot commented Jul 22, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit a06efcb
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/688069c3e17afb0008f07b6e

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

github-actions bot commented Jul 22, 2025

📦 Binary Size-limit

Comparing a06efcb to fix(parser): do not skip parsing expression inside require.resolve (#11133) by Wei

🙈 Size remains the same at 48.97MB

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 22, 2025

CodSpeed Performance Report

Merging #11131 will not alter performance

Comparing 07-22-chore/wasm-size (a06efcb) with main (7f849d6)

Summary

✅ 16 untouched benchmarks

@CPunisher CPunisher marked this pull request as ready for review July 23, 2025 04:49
Copilot AI review requested due to automatic review settings July 23, 2025 04:49
@CPunisher CPunisher requested a review from stormslowly as a code owner July 23, 2025 04:49
@CPunisher CPunisher changed the title chore(wasm): debug wasm size chore(wasm): use release-wasi profile Jul 23, 2025

This comment was marked as abuse.

@CPunisher CPunisher enabled auto-merge (squash) July 23, 2025 06:17
@CPunisher CPunisher merged commit b77da21 into main Jul 23, 2025
54 checks passed
@CPunisher CPunisher deleted the 07-22-chore/wasm-size branch July 23, 2025 06:24
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.

3 participants