diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-05 14:11:22 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-05 14:11:22 -0800 |
commit | df26b7eebaa8d5745bbbc64bf09024099099a82c (patch) | |
tree | b8ca4528cae1eb864cedcc539ca3ccf72bf79031 | |
parent | 939740e739df9ac24b31b68f11ac477a17c73353 (diff) |
add lto in benchmarks
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index e631b025..e4c7a1e1 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -11282,7 +11282,7 @@ elif 'benchmark' in str(sys.argv): try_delete(final_filename) output = Popen([PYTHON, EMCC, filename, #'-O3', '-O2', '-s', 'INLINING_LIMIT=0', '-s', 'DOUBLE_MODE=0', '-s', 'PRECISE_I64_MATH=0',# '-s', 'EXPLICIT_ZEXT=1', - '-s', 'ASM_JS=1', '-s', 'USE_MATH_IMUL=1', + '-s', 'ASM_JS=1', '-s', 'USE_MATH_IMUL=1', '--llvm-lto', '1', '-s', 'TOTAL_MEMORY=128*1024*1024', '-s', 'FAST_MEMORY=10*1024*1024', '-o', final_filename] + shared_args + emcc_args, stdout=PIPE, stderr=self.stderr_redirect).communicate() assert os.path.exists(final_filename), 'Failed to compile file: ' + output[0] |