Merge pull request #7 from BenjBouv/master

Don't provide -W flag
This commit is contained in:
David Anderson 2013-06-25 18:05:51 -07:00
Родитель e906f82e5b baafbd2393
Коммит 61c3924e46
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -150,7 +150,7 @@ def BenchmarkJavaScript(options, args):
for factor in range(0, 5): for factor in range(0, 5):
# Don't overwrite args! # Don't overwrite args!
argv = [] + args argv = [] + args
argv.extend(['-W', 'run.js', '--', benchmark.name + '.js', str(factor)]) argv.extend(['run.js', '--', benchmark.name + '.js', str(factor)])
t = Exec(argv) t = Exec(argv)
t = t.strip() t = t.strip()
print(benchmark.name + '-workload' + str(factor) + ' - ' + t) print(benchmark.name + '-workload' + str(factor) + ' - ' + t)

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

@ -59,7 +59,7 @@ def BenchmarkJavaScript(options, args):
for benchmark in Benchmarks: for benchmark in Benchmarks:
# Don't overwrite args! # Don't overwrite args!
argv = [] + args argv = [] + args
argv.extend(['-W', 'ubench.js', '--', benchmark + '.js', RunFactor]) argv.extend(['ubench.js', '--', benchmark + '.js', RunFactor])
t = Exec(argv) t = Exec(argv)
t = t.strip() t = t.strip()
print(benchmark + ' - ' + t) print(benchmark + ' - ' + t)