Skip to content

Is there a way to get a detailed tracing/profiling from a linker? #21481

Closed Answered by sbc100
mere-human asked this question in Q&A
Discussion options

You must be logged in to vote

A better way then EMCC_DEBUG is to use EMPROFILE=1 and EMPROFILE=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).

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sbc100
Comment options

@mere-human
Comment options

@sbc100
Comment options

@mere-human
Comment options

@sbc100
Comment options

Answer selected by mere-human
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants