Closed puria closed 1 month ago
Can we activate the emsdk mimalloc port? from changelog: Add a port of mimalloc, a fast and scalable multithreaded allocator. To use it, build with -sMALLOC=mimalloc. (#20651)
Check how this affects us (from 3.1.36 chlog):/
The following JavaScript runtime functions were converted to JavaScript library functions:
UTF8ArrayToString UTF8ToString stringToUTF8Array stringToUTF8 lengthBytesUTF8 If you use any of these functions in your JS code you will now need to include them explicitly in one of the following ways:
Add them to a __deps entry in your JS library file (with leading $) Add them to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE (with leading $) Add them to EXPORTED_FUNCTIONS (without leading $) Set -sLEGACY_RUNTIME to include all of them at once.
Also consider using -sSTRICT
just out of curiosity, can we know the difference in time of execution between js tests with this branch and current HEAD?