Rcpp is all about the need for speed. However, Rcpp code is not magically fast, but is the result of careful coding and profiling. RcppClock makes it easy to profile C++ code from R:
Continue reading: Benchmarking Rcpp code with …
On the C++ side, RcppClock wraps std::chrono::high_resolution_clo…