'emcc: DEBUG: using binaryen' delayed when ASYNCIFY is turn on #16959
Replies: 4 comments 1 reply
-
You can try to optimize the code more in LLVM before it gets to binaryen, like compiling to object files with Otherwise, profiling your build might find it's hitting something we can optimize, if you see something very slow. Definitely worth optimizing stuff we can, but at least in the long term this will go away entirely once wasm VMs have stack switching, as then we don't need to run the Asyncify transform (#16779). |
Beta Was this translation helpful? Give feedback.
-
unfortunately, compiling with -Os doesn't reduced the build time, here is the emmc debug profiler output: According to the debug log below, Is there any additional operations that we can do for decrease that time? full log:
|
Beta Was this translation helpful? Give feedback.
-
hello @kripken. |
Beta Was this translation helpful? Give feedback.
-
I had found the answer in #17130. |
Beta Was this translation helpful? Give feedback.
-
Hi,
After turn on the EMCC_DEBUG, I found that the build are delayed in
emcc:DEBUG: using binaryen
Is there an option to decrease the build time when linking with ASYNCIFY in debug (-g) ?
otherwise, it make it unusable ...
Beta Was this translation helpful? Give feedback.
All reactions