summaryrefslogtreecommitdiff
path: root/tools/benchmark.py
diff options
context:
space:
mode:
authorRy Dahl <ry@tinyclouds.org>2020-01-18 04:20:10 -0500
committerBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-18 10:20:10 +0100
commit020898762fa081113608504ab5012b2b27c70668 (patch)
tree9e62c96f955fd5e8654d495d08ca119d91b41443 /tools/benchmark.py
parent59c674fed5f72eac1c046ebb4cc0a37c836665e3 (diff)
Debug strace issue (#3706)
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):