You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that is expected, yes. mimalloc is more complex than dlmalloc, and includes additional optimizations, which add a significant amount of code.
It might be worth looking into that in detail to see if we can disable parts of mimalloc that we don't use, I know it has a bunch of flags.
@kripken please let me know if you use this ticket for looking into that in detail to see if we can disable parts of mimalloc else feel free to close it.
Using em++:
Adding
-s MALLOC=mimalloc
adds additional 52kb into .wasm and 9kb into .js outputs. Is that expected?Example:
em++ main.cpp -s MALLOC=mimalloc -O3 -o wasm/mfcc.js # produces: 60kb .wasm + 13kb .js
em++ main.cpp -O3 -o wasm/mfcc.js # produces: 8kb .wasm + 4kb .js
Just checking, is that expected? Is the mimalloc so heavy?
The text was updated successfully, but these errors were encountered: