diff --git a/tools/benchmark.py b/tools/benchmark.py index 595e856274..507e7cc6d9 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -119,7 +119,14 @@ def strace_parse(summary_text): def get_strace_summary(test_args): - return strace_parse(get_strace_summary_text(test_args)) + s = get_strace_summary_text(test_args) + try: + return strace_parse(s) + except ValueError: + print "error parsing strace" + print "----- -------" + print s + print "----- ------" def run_throughput(deno_exe):