aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-17 15:45:36 +0100
committerAlon Zakai <alonzakai@gmail.com>2013-02-17 15:45:36 +0100
commit00f4a4148a96cdffa0a9606f077ff294aa3b1f8c (patch)
tree64ae2399eb78231f4f18c45de94990e91300d46c /src/settings.js
parent3e0fa38db893f089de92ebe255301ff391f25793 (diff)
remove PROFILE option. It adds unacceptable overhead, and all browsers have proper JS profilers these days - use those
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/settings.js b/src/settings.js
index 8e8144f0..002e66d4 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -154,8 +154,6 @@ var GL_DEBUG = 0; // Print out all calls into WebGL. As with LIBRARY_DEBUG, you
// option, in this case GL.debug.
var GL_MAX_TEMP_BUFFER_SIZE = 2097152; // How large GL emulation temp buffers are
-var PROFILE_MAIN_LOOP = 0; // Profile the function called in set_main_loop
-
var DISABLE_EXCEPTION_CATCHING = 0; // Disables generating code to actually catch exceptions. If the code you
// are compiling does not actually rely on catching exceptions (but the
// compiler generates code for it, maybe because of stdlibc++ stuff),
@@ -209,8 +207,6 @@ var NAMED_GLOBALS = 0; // If 1, we use global variables for globals. Otherwise
// they are referred to by a base plus an offset (called an indexed global),
// saving global variables but adding runtime overhead.
-var PROFILE = 0; // Enables runtime profiling. See test_profiling for a usage example.
-
var EXPORT_ALL = 0; // If true, we export all the symbols
var EXPORTED_FUNCTIONS = ['_main']; // Functions that are explicitly exported. These functions are kept alive
// through LLVM dead code elimination, and also made accessible outside of