Skip to content

feat(wasm): support wasm compilation#9585

Merged
h-a-n-a merged 17 commits intoweb-infra-dev:mainfrom
CPunisher:02-06-feat/wasm-compile
Mar 11, 2025
Merged

feat(wasm): support wasm compilation#9585
h-a-n-a merged 17 commits intoweb-infra-dev:mainfrom
CPunisher:02-06-feat/wasm-compile

Conversation

@CPunisher
Copy link
Contributor

@CPunisher CPunisher commented Mar 7, 2025

Related: #9134

Let's run CI and benchmark to avoid regression of existing code.

@github-actions github-actions bot added the release: feature release: feature related release(mr only) label Mar 7, 2025
@CPunisher CPunisher mentioned this pull request Mar 7, 2025
8 tasks
@netlify
Copy link

netlify bot commented Mar 7, 2025

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 32ffa06
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67cbaa440c472a0008596ca7

@CPunisher CPunisher force-pushed the 02-06-feat/wasm-compile branch from 1cbc144 to 031c36c Compare March 7, 2025 02:04
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 7, 2025

CodSpeed Performance Report

Merging #9585 will not alter performance

Comparing CPunisher:02-06-feat/wasm-compile (32ffa06) with main (1c272bc)

🎉 Hooray! codspeed-node just leveled up to 4.0.0!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

✅ 8 untouched benchmarks

@CPunisher CPunisher force-pushed the 02-06-feat/wasm-compile branch 2 times, most recently from 38733f3 to bac5ba6 Compare March 7, 2025 04:03
@CPunisher CPunisher force-pushed the 02-06-feat/wasm-compile branch from bac5ba6 to b308eae Compare March 8, 2025 02:07
Copy link
Contributor

@h-a-n-a h-a-n-a left a comment

Choose a reason for hiding this comment

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

Awesome!

@h-a-n-a h-a-n-a merged commit da99618 into web-infra-dev:main Mar 11, 2025
31 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2025

📝 Benchmark detail: Open

Name Base (2025-03-11 a110f48) Current Change
10000_big_production-mode_disable-minimize + exec 36.3 s ± 789 ms 37 s ± 598 ms +1.85 %
10000_development-mode + exec 1.81 s ± 17 ms 1.74 s ± 56 ms -3.75 %
10000_development-mode_hmr + exec 710 ms ± 19 ms 698 ms ± 28 ms -1.68 %
10000_production-mode + exec 2.2 s ± 53 ms 2.12 s ± 41 ms -3.86 %
10000_production-mode_persistent-cold + exec 2.37 s ± 184 ms 2.29 s ± 136 ms -3.19 %
10000_production-mode_persistent-hot + exec 1.62 s ± 30 ms 1.58 s ± 22 ms -2.35 %
arco-pro_development-mode + exec 1.76 s ± 130 ms 1.76 s ± 48 ms +0.15 %
arco-pro_development-mode_hmr + exec 376 ms ± 1.5 ms 377 ms ± 4.5 ms +0.12 %
arco-pro_production-mode + exec 3.55 s ± 183 ms 3.48 s ± 117 ms -1.74 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.59 s ± 233 ms 3.58 s ± 205 ms -0.44 %
arco-pro_production-mode_persistent-cold + exec 3.6 s ± 73 ms 3.55 s ± 111 ms -1.27 %
arco-pro_production-mode_persistent-hot + exec 2.2 s ± 141 ms 2.29 s ± 151 ms +4.12 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.54 s ± 144 ms 3.49 s ± 156 ms -1.45 %
large-dyn-imports_development-mode + exec 2.04 s ± 57 ms 1.97 s ± 37 ms -3.29 %
large-dyn-imports_production-mode + exec 2.06 s ± 21 ms 2.03 s ± 42 ms -1.35 %
threejs_development-mode_10x + exec 1.51 s ± 108 ms 1.46 s ± 18 ms -2.92 %
threejs_development-mode_10x_hmr + exec 824 ms ± 13 ms 833 ms ± 26 ms +1.05 %
threejs_production-mode_10x + exec 5.02 s ± 101 ms 5.03 s ± 279 ms +0.20 %
threejs_production-mode_10x_persistent-cold + exec 5.03 s ± 54 ms 5.01 s ± 78 ms -0.40 %
threejs_production-mode_10x_persistent-hot + exec 4.36 s ± 242 ms 4.3 s ± 32 ms -1.45 %
10000_big_production-mode_disable-minimize + rss memory 9454 MiB ± 176 MiB 9459 MiB ± 272 MiB +0.06 %
10000_development-mode + rss memory 657 MiB ± 9.64 MiB 671 MiB ± 23.5 MiB +2.06 %
10000_development-mode_hmr + rss memory 1316 MiB ± 520 MiB 1396 MiB ± 343 MiB +6.12 %
10000_production-mode + rss memory 634 MiB ± 48.7 MiB 646 MiB ± 21.8 MiB +1.97 %
10000_production-mode_persistent-cold + rss memory 736 MiB ± 53.4 MiB 730 MiB ± 41.5 MiB -0.85 %
10000_production-mode_persistent-hot + rss memory 732 MiB ± 39 MiB 721 MiB ± 27.4 MiB -1.54 %
arco-pro_development-mode + rss memory 573 MiB ± 52.1 MiB 566 MiB ± 103 MiB -1.22 %
arco-pro_development-mode_hmr + rss memory 596 MiB ± 56.4 MiB 604 MiB ± 104 MiB +1.35 %
arco-pro_production-mode + rss memory 743 MiB ± 78 MiB 718 MiB ± 109 MiB -3.39 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 721 MiB ± 70.4 MiB 741 MiB ± 63.8 MiB +2.79 %
arco-pro_production-mode_persistent-cold + rss memory 809 MiB ± 92.1 MiB 754 MiB ± 80.7 MiB -6.85 %
arco-pro_production-mode_persistent-hot + rss memory 585 MiB ± 56.3 MiB 620 MiB ± 47.5 MiB +5.99 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 740 MiB ± 97.4 MiB 680 MiB ± 102 MiB -8.15 %
large-dyn-imports_development-mode + rss memory 652 MiB ± 2.27 MiB 652 MiB ± 3.99 MiB -0.11 %
large-dyn-imports_production-mode + rss memory 527 MiB ± 2.8 MiB 527 MiB ± 2.43 MiB -0.07 %
threejs_development-mode_10x + rss memory 588 MiB ± 18.3 MiB 591 MiB ± 7.19 MiB +0.54 %
threejs_development-mode_10x_hmr + rss memory 1001 MiB ± 84.4 MiB 982 MiB ± 224 MiB -1.93 %
threejs_production-mode_10x + rss memory 888 MiB ± 78.2 MiB 873 MiB ± 49.9 MiB -1.77 %
threejs_production-mode_10x_persistent-cold + rss memory 992 MiB ± 52.1 MiB 995 MiB ± 54.4 MiB +0.29 %
threejs_production-mode_10x_persistent-hot + rss memory 860 MiB ± 60.9 MiB 882 MiB ± 53.1 MiB +2.54 %

@CPunisher CPunisher deleted the 02-06-feat/wasm-compile branch July 30, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: feature release: feature related release(mr only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants