[Rcpp-devel] Rcpp internal benchmark tool
edd at debian.org
Sun Dec 9 08:01:42 CET 2012
On 8 December 2012 at 23:20, Christian Gunning wrote:
| > 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.
| Very exciting.
| > 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.
| There was some conversation about splitting off these feature requests
| into a separate package (RcppExtras?) on list a while back -- obvious
| candidates include sample(), the list of R functions that might be
| improved in Rcpp (as per Hadley et al's comments), and perhaps this...
| I haven't seen any discussion on this in a while. Is this something
| that warrants discussion, or something to keep in mind for later?
| I'd prefer such a package to depend on RcppArmadillo so that my
| implementation of sample() can be easily included. Are there
| downsides to this?
I think sample() should go into Armadillo proper.
You just need to get lucky to get both Romain and myself when our attention
span is actually on this. Joking aside I should make some time to put this
in ... but not sure when I'll get to this.
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel