Is there a way to get a detailed tracing/profiling from a linker? #21481
-
Problem: Linking an optimized wasm build takes a lot of time for my project. I've tried some things such as building with Can anybody advise on that, please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
A better way then
See https://emscripten.org/docs/optimizing/Profiling-Toolchain.html. (I notice that we still need to document |
Beta Was this translation helpful? Give feedback.
A better way then
EMCC_DEBUG
is to useEMPROFILE=1
andEMPROFILE=2
.EMPROFILE=2
gives you summary information on stdout.EMPROFILE=1
generates and html page with much more detailed profiling information which you can view interactively.See https://emscripten.org/docs/optimizing/Profiling-Toolchain.html. (I notice that we still need to document
EMPROFILE=2
there).