runGCC_benchmark_strings.sh 973 B

12345678910111213141516171819202122232425262728
  1. clear
  2. echo "=================================================================="
  3. echo "== B E N C H M A R K S T R I N G S =="
  4. echo "== =="
  5. echo "== G C C C O M P I L E R =="
  6. echo "=================================================================="
  7. echo "."
  8. echo "C O M P I L I N G . . . . . . . . . . ."
  9. echo "."
  10. g++ ./file_generator.cpp -std=c++11 -march=native -w -fexceptions -O3 -I../../include -s -o file_generator
  11. g++ ./benchmark_strings.cpp -std=c++11 -march=native -w -fexceptions -O3 -I../../include -pthread -s -lpthread -o benchmark_strings
  12. echo "R U N N I N G . . . . . . . . . . ."
  13. echo "( The time needed is around 10 minutes depending of your machine )"
  14. ./file_generator input.bin 125000000
  15. echo "."
  16. date
  17. ./benchmark_strings
  18. date
  19. rm input.bin
  20. rm file_generator
  21. rm benchmark_strings
  22. echo "."
  23. echo "."
  24. echo "E N D"
  25. echo "."