switch benchmark suite to -O2+ from -O3
This commit is contained in:
Родитель
dafd2a3f15
Коммит
7d693595f7
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче