aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-26 10:24:29 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-26 10:24:29 -0500
commitb6d5fcb24d9d86d83872945be2e2888ab210f620 (patch)
tree72d2bbbaff993d05d75af3a63033e8ccda30d2dd
parentbfeffef97b3fc1f6bec6b8690981831cf1230408 (diff)
adjust cache sizes a little more and update tests
-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