aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-24 09:45:26 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-24 09:45:26 -0700
commita484c587e834bd5c8d6fad4e2b5646a52e2f1638 (patch)
tree5cd31e52721d4e6e966e7181251195ec131d2abb
parent63e5aee15fae754383edfd9f3faa5b161efeeef3 (diff)
more docs for outlining
-rw-r--r--src/settings.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index cb64bfd9..a5a9c47d 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -131,6 +131,11 @@ var OUTLINING_LIMIT = 0; // A function size above which we try to automatically
// large functions (JS engines often compile them very slowly,
// compile them with lower optimizations, or do not optimize them
// at all). If 0, we do not perform outlining at all.
+ // To see which funcs are large, you can inspect the source
+ // in a debug build (-g2 or -g for example), and can run
+ // tools/find_bigfuncs.py on that to get a sorted list by size.
+ // Another possibility is to look in the web console in firefox,
+ // which will note slowly-compiling functions.
// Generated code debugging options
var SAFE_HEAP = 0; // Check each write to the heap, for example, this will give a clear