sort/benchmark/parallel/runGCC_benchmark_strings.sh
2017-07-21 12:14:14 +02:00

29 lines
973 B
Bash
Executable File

clear
echo "=================================================================="
echo "== B E N C H M A R K S T R I N G S =="
echo "== =="
echo "== G C C C O M P I L E R =="
echo "=================================================================="
echo "."
echo "C O M P I L I N G . . . . . . . . . . ."
echo "."
g++ ./file_generator.cpp -std=c++11 -march=native -w -fexceptions -O3 -I../../include -s -o file_generator
g++ ./benchmark_strings.cpp -std=c++11 -march=native -w -fexceptions -O3 -I../../include -pthread -s -lpthread -o benchmark_strings
echo "R U N N I N G . . . . . . . . . . ."
echo "( The time needed is around 10 minutes depending of your machine )"
./file_generator input.bin 125000000
echo "."
date
./benchmark_strings
date
rm input.bin
rm file_generator
rm benchmark_strings
echo "."
echo "."
echo "E N D"
echo "."