fix: update wasm binaries for recently updated packages - #13837
fix: update wasm binaries for recently updated packages#138370PrashantYadav0 wants to merge 3 commits into
Conversation
|
@kgryte Currently, the tests are failing due to incorrect expected values from the new Wasm binaries. I've opened a new PR for the test cases (#13855). Since both PRs depend on each other to pass the CI checks, should I combine them into one? I've kept them separate for now and will wait for your feedback before moving forward. |
|
I am a bit confused. Why are we needing to update the Wasm binaries? Did you build with the latest Emscripten and this resulted in different binaries? |
|
It is also a bit odd that a number of the binaries grew in size. |
|
How did you generate them? And how did you install upstream deps, such as Emscripten? |
|
The Wasm updates are strictly from a toolchain rebuild, not C algorithm changes ( they reflect the changes in c algo, if there is any ) . I installed Emscripten via make install-deps-emsdk (DEPS_EMSDK_VERSION=latest, which is currently 6.0.5) and regenerated the binaries using make wasm. The file sizes fluctuated (28 are smaller, 10 are larger) because the newer LLVM/Emscripten produces different codegen (e.g., more loop unrolling); the net change is only ~+743 bytes. Also, a few modules have changes that are not yet reflected in the Wasm binaries, which is causing some tests to fail. For reference, the changes introduced in commit 981c7ba need to be included in the Wasm packages |
|
To resolve the failing tests, I regenerated the wasm binaries with the latest source changes. This update accounts for the size increase in a few of the binaries. |
Resolves #13836
Description
Update WASM binaries and improve performance for strided operations
sapxsumkbn, enhancing the efficiency of the summation algorithm.dmeanors, optimizing the mean calculation process.dmeanpw, refining the weighted mean computation.Related Issues
This pull request has the following related issues: #13836
Questions
No.
Other
No.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
@stdlib-js/reviewers