mention asm.js'ing in benchmarks
This commit is contained in:
Родитель
b6c33b1fb5
Коммит
4dd19ff114
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче