Re: [Rcpp-devel] Rcpp internal benchmark tool

2012-12-09 Thread Christian Gunning
| 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

[Rcpp-devel] Rcpp internal benchmark tool

2012-12-08 Thread Romain Francois
Hello, 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. The class is pretty raw right now. platform specific details are abstracted out. So the only things needed are: - include

Re: [Rcpp-devel] Rcpp internal benchmark tool

2012-12-08 Thread Christian Gunning
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

Re: [Rcpp-devel] Rcpp internal benchmark tool

2012-12-08 Thread Dirk Eddelbuettel
On 9 December 2012 at 01:01, Dirk Eddelbuettel wrote: | I think sample() should go into Armadillo proper. Sorry, it's late and we had 20+ people over: into RcppArmadillo proper is what I meant to say. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com