Browse Source

Microbenchmark script trivia

pull/1740/head
Sami Vaarala 7 years ago
parent
commit
c6d788adaf
  1. 6
      util/bench_microbenchmarks.py

6
util/bench_microbenchmarks.py

@ -105,11 +105,13 @@ def run_one(testfile):
return doc return doc
def format_one(doc): def format_one(doc):
res = '%-36s:' % os.path.basename(doc['test']) res = '%-40s:' % os.path.basename(doc['test'])
for eng in engines: for eng in engines:
engname = eng['name'] engname = eng['name']
t = doc['engines'][engname] t = doc['engines'][engname]
if t.get('sigsegv', False): if t.get('killed', False):
res += ' %s %5s' % (engname, 'kill')
elif t.get('sigsegv', False):
res += ' %s %5s' % (engname, 'segv') res += ' %s %5s' % (engname, 'segv')
elif t.get('failed', False): elif t.get('failed', False):
res += ' %s %5s' % (engname, 'n/a') res += ' %s %5s' % (engname, 'n/a')

Loading…
Cancel
Save