From 7d693595f7648f47ea98e4c4b7284e5c41773b69 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 22 Oct 2012 15:40:26 -0700 Subject: [PATCH] switch benchmark suite to -O2+ from -O3 --- tests/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/runner.py b/tests/runner.py index 41b9ee19c..e0249d5eb 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -9338,8 +9338,8 @@ elif 'benchmark' in str(sys.argv): final_filename = os.path.join(dirname, name + '.js') try_delete(final_filename) - output = Popen(['python', EMCC, filename, '-O3', - #'-O2', '-s', 'INLINING_LIMIT=0', '-s', 'DOUBLE_MODE=0', '-s', 'PRECISE_I64_MATH=0', + output = Popen(['python', EMCC, filename, #'-O3', + '-O2', '-s', 'INLINING_LIMIT=0', '-s', 'DOUBLE_MODE=0', '-s', 'PRECISE_I64_MATH=0', '-s', 'TOTAL_MEMORY=100*1024*1024', '-s', 'FAST_MEMORY=10*1024*1024', '-o', final_filename] + emcc_args, stdout=PIPE, stderr=self.stderr_redirect).communicate() assert os.path.exists(final_filename), 'Failed to compile file: ' + output[0]