Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dan Frumin
iris-coq
Commits
411cd5dc
Commit
411cd5dc
authored
Aug 22, 2017
by
Ralf Jung
Browse files
prepare parse_log for coq 8.7
parent
df425156
Changes
1
Hide whitespace changes
Inline
Side-by-side
benchmark/parse_log.py
View file @
411cd5dc
...
...
@@ -9,7 +9,7 @@ def parse(file, parse_times = True):
'''[file] should be a file-like object, an iterator over the lines.
yields a list of Result objects.'''
commit_re
=
re
.
compile
(
"^# ([a-z0-9]+)$"
)
time_re
=
re
.
compile
(
"^([a-zA-Z0-9_/-]+) \(user: ([0-9.]+) mem: ([0-9]+) ko\)$"
)
time_re
=
re
.
compile
(
"^([a-zA-Z0-9_/-]+) \(
(real|
user
)
: ([0-9.]+)
.*
mem: ([0-9]+) ko\)$"
)
commit
=
None
times
=
None
for
line
in
file
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment