[Rcpp-devel] Rcpp internal benchmark tool
romain at r-enthusiasts.com
Sat Dec 8 16:10:58 CET 2012
Le 08/12/12 16:06, Dirk Eddelbuettel a écrit :
> 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.
precisely. for new features that are somewhat orthogonal to the api, we
should separate. Rcpp.h is already quite heavy as it is now.
Professional R Enthusiast
+33(0) 6 28 91 30 30
R Graph Gallery: http://gallery.r-enthusiasts.com
|- http://bit.ly/RE6sYH : OOP with Rcpp modules
`- http://bit.ly/Thw7IK : Rcpp modules more flexible
More information about the Rcpp-devel