
Benches
 g++ tst.cpp -std=c++11 -lbenchmark -lpthread -o tst
 g++ parse.cpp -msse4.2 -mavx2 -std=c++11 -lbenchmark -lpthread -o parse

Test code first:
  g++ t.cpp -msse4.2 -mavx2 -std=c++11 -lpthread -o t

https://github.com/google/benchmark

g++ -O3 -march=znver4 -mavx512bf16 -lbenchmark -lpthread -isystem benchmark/include -Lbenchmark/build/src -o bm bm.c



Install gbench
  sudo apt install cmake
  git clone https://github.com/google/benchmark.git
  cd benchmark/
  cmake -E make_directory "build"
  cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../
  cmake --build "build" --config Release
  sudo cmake --build "build" --config Release --target install


sudo cpupower frequency-set --governor performance
./mybench
sudo cpupower frequency-set --governor powersave
