aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runner.py4
-rw-r--r--tools/js_optimizer.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index f4bb327e..0368720d 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -9446,8 +9446,8 @@ f.close()
try:
os.environ['EMCC_DEBUG'] = '1'
for asm, linkable, chunks, js_chunks in [
- (0, 0, 2, 2), (0, 1, 5, 4),
- (1, 0, 2, 2), (1, 1, 5, 5)
+ (0, 0, 2, 2), (0, 1, 4, 4),
+ (1, 0, 2, 2), (1, 1, 4, 5)
]:
print asm, linkable, chunks, js_chunks
output, err = Popen([PYTHON, EMCC, path_from_root('tests', 'hello_libcxx.cpp'), '-O1', '-s', 'LINKABLE=%d' % linkable, '-s', 'ASM_JS=%d' % asm], stdout=PIPE, stderr=PIPE).communicate()
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index 32481bf2..93b9a510 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -10,7 +10,7 @@ def path_from_root(*pathelems):
JS_OPTIMIZER = path_from_root('tools', 'js-optimizer.js')
-NUM_CHUNKS_PER_CORE = 1.25
+NUM_CHUNKS_PER_CORE = 1.5
MIN_CHUNK_SIZE = 1024*1024
MAX_CHUNK_SIZE = 20*1024*1024