summaryrefslogtreecommitdiff
path: root/tools/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-xtools/benchmark.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py
index 595e85627..507e7cc6d 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 "----- <strace> -------"
+ print s
+ print "----- </strace> ------"
def run_throughput(deno_exe):