aboutsummaryrefslogtreecommitdiff
path: root/tools/js_optimizer.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-28 11:51:37 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-28 11:51:37 -0500
commitacc641341450ccd466ae8fcac04aac4cce71baad (patch)
tree9cd38a842aa01e3de663805234ee665af2c80a85 /tools/js_optimizer.py
parent7880f929b46de2da7910d2050eac40bfbf32bda7 (diff)
test updates
Diffstat (limited to 'tools/js_optimizer.py')
-rw-r--r--tools/js_optimizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index 52cae6e5..ca42081d 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -11,7 +11,7 @@ def path_from_root(*pathelems):
JS_OPTIMIZER = path_from_root('tools', 'js-optimizer.js')
NUM_CHUNKS_PER_CORE = 1.5
-MIN_CHUNK_SIZE = 1024*1024
+MIN_CHUNK_SIZE = int(os.environ.get('EMCC_JSOPT_MIN_CHUNK_SIZE') or 1024*1024) # configuring this is just for debugging purposes
MAX_CHUNK_SIZE = 20*1024*1024
WINDOWS = sys.platform.startswith('win')