mention asm.js'ing in benchmarks

This commit is contained in:
Alon Zakai 2013-01-09 11:09:59 -08:00
Родитель b6c33b1fb5
Коммит 4dd19ff114
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -10496,6 +10496,8 @@ elif 'benchmark' in str(sys.argv):
for i in range(TEST_REPS): for i in range(TEST_REPS):
start = time.time() start = time.time()
js_output = self.run_generated_code(JS_ENGINE, final_filename, args, check_timeout=False) js_output = self.run_generated_code(JS_ENGINE, final_filename, args, check_timeout=False)
if i == 0 and 'Successfully compiled asm.js code' in js_output:
print "[%s was asm.js'ified]" % name
curr = time.time()-start curr = time.time()-start
times.append(curr) times.append(curr)
total_times[tests_done] += curr total_times[tests_done] += curr