Commit c840774c authored by Kirill Smelkov's avatar Kirill Smelkov

X compilebech: pystone2bench: Accept scientific format

pystone can say, e.g. "this machine benchmarks at 1.85343e+06 pystones"
parent 77f99dbc
...@@ -28,7 +28,7 @@ compileandlink() { ...@@ -28,7 +28,7 @@ compileandlink() {
pystone2bench() { pystone2bench() {
subj=$1 subj=$1
tail -1 |sed -e \ tail -1 |sed -e \
"s|^This machine benchmarks at \([0-9.]\+\) pystones/second$|Benchmark${subj}pystone 1 \1 pystone/s|" "s|^This machine benchmarks at \([0-9.e+]\+\) pystones/second$|Benchmarkpystone/${subj} 1 \1 pystone/s|"
} }
N=10 N=10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment