You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
804 B

#!/bin/bash
echo "=============== OFFICIAL GO ===============" > doc/result/bench_run.txt
perf stat ./bin/bench_go 1>>doc/result/bench_run.txt 2>>doc/result/bench_run.txt
echo "" >> doc/result/bench_run.txt
echo "=============== GCC GO ===============" >> doc/result/bench_run.txt
perf stat ./bin/bench_gccgo 1>>doc/result/bench_run.txt 2>>doc/result/bench_run.txt
echo "" >> doc/result/bench_run.txt
echo "=============== GCC GO STO2 ===============" >> doc/result/bench_run.txt
perf stat ./bin/bench_gccgo_STO2 1>>doc/result/bench_run.txt 2>>doc/result/bench_run.txt
echo "" >> doc/result/bench_run.txt
echo "=============== TINY GO ===============" >> doc/result/bench_run.txt
perf stat ./bin/bench_tinygo 1>>doc/result/bench_run.txt 2>>doc/result/bench_run.txt
echo "" >> doc/result/bench_run.txt