[Rcpp-devel] Rcpp internal benchmark tool

Dirk Eddelbuettel edd at debian.org
Sat Dec 8 16:06:47 CET 2012


On 8 December 2012 at 15:44, Romain Francois wrote:
| I've been using the microbenchmark package extensively and took 
| inspiration from it to implement a Timer class in Rcpp to measure 
| performance at a lower level.

That's probably quite useful. I had an older/simpler class here from
something I had done years ago at work covering the Linux + Windows
cases. Olaf has more basis covered so this good.

It is on the border of creeping featuritis though ...
 
| - include the Timer.h header, which is **not** automatically added in 
| Rcpp.h:

... but that is a fair defence against bloat.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list