2 benchmarking schemes to go in C++