Open jozefchutka opened 2 weeks ago
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.
Let's leave this open for that purpose, yeah. It is worth looking into, if someone has time.
Using em++:
Adding
-s MALLOC=mimalloc
adds additional 52kb into .wasm and 9kb into .js outputs. Is that expected?Example:
Just checking, is that expected? Is the mimalloc so heavy?