Wacek Kusnierczyk wrote: > > to contribute my few cents, here's a simple benchmarking routine, > inspired by the perl module Benchmark. it allows one to benchmark an > arbitrary number of expressions with an arbitrary number of > replications, and provides a summary matrix with selected timings. > >
<snip> > it's rudimentary and not fool-proof, but might be helpful if used with > care. (the nested do.call-rbind-lapply sequence can surely be > simplified, but i could not resist the pattern. someone once wrote that > if you need more than three (five?) levels of indentation in your code, > there must be something wrong with it; presumably, he was a fortran > programmer.) > i have cleaned-up the code, removing the fancy nested structure. the code plus detailed documentation is available from googlecode [1], and i stop the self-marketing here. vQ [1] http://code.google.com/p/rbenchmark/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.