binaryen.js icon indicating copy to clipboard operation
binaryen.js copied to clipboard

Release is single threaded

Open morenol opened this issue 3 years ago • 1 comments

It looks like binary output is single threaded, is it possible to make it multithreaded like the original binaryen binary?

morenol avatar Nov 10 '22 19:11 morenol

Iirc there has been some discussion about this in the past, where it was noted that the CLI tools could provide threading under Node.js - when specifically built for it. There might be additional constraints for a universal build, like the bot currently produces, that also works in browsers.

Generally, this repo picks up the build script from upstream Binaryen, so if threading support was added there (in case possible), the bot would build it.

dcodeIO avatar Nov 10 '22 19:11 dcodeIO

The CLI tools shipped with the package, e.g. wasm-opt, are multithreaded now iiuc.

dcodeIO avatar May 09 '24 10:05 dcodeIO