Skip to content
Snippets Groups Projects
Commit 9afa0407 authored by Ralf Jung's avatar Ralf Jung
Browse files

benchmark: ignore bad lines (happens due to concurrent compilation)

parent ccbb7d03
No related branches found
No related tags found
No related merge requests found
...@@ -32,8 +32,7 @@ def parse(file, parse_times = True): ...@@ -32,8 +32,7 @@ def parse(file, parse_times = True):
time = float(m.group(2)) time = float(m.group(2))
times[name] = time times[name] = time
continue continue
# nothing else we know about # nothing else we know about, ignore
raise Exception("Unexpected line: {}".format(line))
# end of file. previous commit, if any, is done now. # end of file. previous commit, if any, is done now.
if commit is not None: if commit is not None:
yield Result(commit, times) yield Result(commit, times)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment