kripken/emscripten — Issue #216: Figure out why compiling with debug symbols is so slow
Author: kripken
Created: 2012-02-04 22:18:58+00:00
State: open

If the source code was compiled with -g, emscripten parses the debug into and adds it to the generated code. For some reason, the preparsing of the debug info spikes memory in node (not in spidermonkey), and memory usage remains high (in both node and spidermonkey) compared to the same code without debug info.

Compiling without debug info is now very fast in emscripten (faster than compiling the source to bitcode), would be nice if debug info builds were fast too.