Benchmarking routine for R

rbenchmark is inspired by the Perl module Benchmark, and is intended to facilitate benchmarking of arbitrary R code. The library consists of just one function, benchmark, which is a simple wrapper around system.time. Given a specification of the benchmarking process (counts of replications, evaluation environment) and an arbitrary number of expressions, benchmark evaluates each of the expressions in the specified environment, replicating the evaluation as many times as specified, and returning the results conveniently wrapped into a data frame.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.0 by Wacek Kusnierczyk, 6 years ago

Browse source code at

Authors: Wacek Kusnierczyk <[email protected]>

Documentation:   PDF Manual  

GPL (>= 2) license

Imported by FastGP, dodgr.

Depended on by dvmisc, stocks.

Suggested by PMwR, Rcpp, RcppZiggurat, aoos, clusterCrit, dat, doRNG, fourierin, glassoFast, mkin, psd, qwraps2, riskRegression, rucrdtw, schumaker, storr, vapour.

See at CRAN