Commit 618c37fc authored by Kirill Smelkov's avatar Kirill Smelkov

X compilebench: Don't spend time measuring compile and link separately

We know from past benchmarks that most of the time is in compile.
parent 5346237c
...@@ -69,15 +69,17 @@ for CC in gcc tcc; do ...@@ -69,15 +69,17 @@ for CC in gcc tcc; do
echo "CC=$CC" echo "CC=$CC"
rm -f pystone_pypyx.{o,so} rm -f pystone_pypyx.{o,so}
for i in `seq $N`; do # don't spend time measuring compile and link separatelly: we know from
export TIMEFORMAT="Benchmark${CC}compile 1 %R s/op" # past benchmarks that most of the time is in compile.
time compile pystone_pypyx #for i in `seq $N`; do
done # export TIMEFORMAT="Benchmark${CC}compile 1 %R s/op"
# time compile pystone_pypyx
for i in `seq $N`; do #done
export TIMEFORMAT="Benchmark${CC}link 1 %R s/op" #
time link pystone_pypyx #for i in `seq $N`; do
done # export TIMEFORMAT="Benchmark${CC}link 1 %R s/op"
# time link pystone_pypyx
#done
for i in `seq $N`; do for i in `seq $N`; do
export TIMEFORMAT="Benchmark${CC}compile+link 1 %R s/op" export TIMEFORMAT="Benchmark${CC}compile+link 1 %R s/op"
......
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