When an asmjs benchmark fails, continue to the next one.
This commit is contained in:
Родитель
eee684fcf3
Коммит
5f4d4b09ed
|
@ -151,9 +151,12 @@ def BenchmarkJavaScript(options, args):
|
||||||
# Don't overwrite args!
|
# Don't overwrite args!
|
||||||
argv = [] + args
|
argv = [] + args
|
||||||
argv.extend(['run.js', '--', benchmark.name + '.js', str(factor)])
|
argv.extend(['run.js', '--', benchmark.name + '.js', str(factor)])
|
||||||
t = Exec(argv)
|
try:
|
||||||
t = t.strip()
|
t = Exec(argv)
|
||||||
print(benchmark.name + '-workload' + str(factor) + ' - ' + t)
|
t = t.strip()
|
||||||
|
print(benchmark.name + '-workload' + str(factor) + ' - ' + t)
|
||||||
|
except Exception as e:
|
||||||
|
print('Exception when running ' + benchmark.name + ': ' + str(e))
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = OptionParser()
|
parser = OptionParser()
|
||||||
|
|
|
@ -60,9 +60,12 @@ def BenchmarkJavaScript(options, args):
|
||||||
# Don't overwrite args!
|
# Don't overwrite args!
|
||||||
argv = [] + args
|
argv = [] + args
|
||||||
argv.extend(['ubench.js', '--', benchmark + '.js', RunFactor])
|
argv.extend(['ubench.js', '--', benchmark + '.js', RunFactor])
|
||||||
t = Exec(argv)
|
try:
|
||||||
t = t.strip()
|
t = Exec(argv)
|
||||||
print(benchmark + ' - ' + t)
|
t = t.strip()
|
||||||
|
print(benchmark + ' - ' + t)
|
||||||
|
except Exception as e:
|
||||||
|
print('Exception when running ' + benchmark.name + ': ' + str(e))
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = OptionParser()
|
parser = OptionParser()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче