Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/dead-cpp-removal
/
.
/
tests
/
bench
/
lean-gc.py
blob: 85fb5da55f07ac7e2ec0495438ad5bb1a028338b [
file
] [
edit
]
#!/usr/bin/env python3
import
re
import
sys
data
=
sys
.
stdin
.
read
()
overheads
=
re
.
findall
(
"([\d.]+)%"
,
data
)
gc_pc
=
sum
(
map
(
float
,
overheads
))
print
(
f
"gc: {gc_pc}"
)