aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-13 22:24:06 -0700
committeralon@honor <none@none>2010-10-13 22:24:06 -0700
commit5efa5e467476859cdfb55a3a9dd22bf4584f670e (patch)
treeb08d44f39989df6ac1ffdba6ebbf38849fee2013 /tests
parentd276be7499faff9814dc3cad07c2685284645106 (diff)
aggressively nativize variables; stop doing optimizations that are no longer needed; fix some uncovered bugs; 49% speedup
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py7
-rw-r--r--tests/settings.py2
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ad1f82e1..bc1fcd51 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -933,8 +933,11 @@ else:
os.remove(filename + '.cc.js')
except:
pass
- cc_output = Popen(['java', '-jar', CLOSURE_COMPILER, '--compilation_level', 'ADVANCED_OPTIMIZATIONS', '--formatting', 'PRETTY_PRINT',
- '--js', filename + '.o.js', '--js_output_file', filename + '.cc.js'], stdout=PIPE, stderr=STDOUT).communicate()[0]
+ cc_output = Popen(['java', '-jar', CLOSURE_COMPILER,
+ '--compilation_level', 'ADVANCED_OPTIMIZATIONS',
+ '--formatting', 'PRETTY_PRINT',
+ '--variable_map_output_file', filename + '.vars',
+ '--js', filename + '.o.js', '--js_output_file', filename + '.cc.js'], stdout=PIPE, stderr=STDOUT).communicate()[0]
assert('ERROR' not in cc_output)
# Run
diff --git a/tests/settings.py b/tests/settings.py
index 87601391..7ee0279b 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -13,7 +13,7 @@ COMPILERS = {
},
'llvm_gcc': {
'path': LLVM_GCC,
- 'quantum_size': 1,
+ 'quantum_size': 4,
}
}