Which version of Emscripten and Clang are you using? (or emsdk tool versions if you're using that) Can you set the EMCC_DEBUG=1 environment variable, do a full recompile and measure what step(s) take up the largest portion of time? Try omitting -g if you are already passing -profiling. Does that change the performance? Also, how about if you do a -O1 build instead of a -O2?
2014-08-13 13:52 GMT+03:00 awt <[email protected]>: > Hi, > > I'm compiling a rather large project with the following flags, -g and -O2 > for Clang and -profiing for the Emcc Linker. Unfortunately, it takes up to > 30mins for a full compilation and 12mins when I change one file. Are there > any compiler flags or code optimizations that I can do to speed up the > compilation? > > I am trying to view the function and variable names while keeping the size > of the generated js small at the same time. Any suggestions would be much > appreciated. Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
