Benchmarking of C++ code