Skip to content
Prev 4893 / 10988 Next

[Rcpp-devel] Rcpp internal benchmark tool

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