fix: store runtime error string in fiber and remove error parameter from stack trace printing

This commit is contained in:
Bob Nystrom
2014-01-21 06:55:11 +00:00
parent 781ccf3fb6
commit f9371faf00
6 changed files with 60 additions and 37 deletions
+6 -1
View File
@@ -135,10 +135,15 @@ def run_benchmark_language(benchmark, language):
def run_benchmark(benchmark, languages):
"""Runs one benchmark for the given languages (or all of them)."""
num_languages = 0
for language in LANGUAGES:
if not languages or language[0] in languages:
num_languages += 1
run_benchmark_language(benchmark, language)
graph_results()
if num_languages > 1:
graph_results()
del results[0:len(results)]