Skip to content
Prev 170237 / 398503 Next

System.time

Gavin Simpson wrote:
the timethese function in the Benchmark module in perl takes as
arguments not only the code to be run, but also the number of
replications to be performed.  it will complain if the code runs too
fast, i.e., if the measured time is too short and is not a reliable
estimate.

it might be a good idea to have a similar functionality in r (maybe it's
already there?), which would basically wrap over system.time and issue a
warning when reliable measurement canno tbe made.

vQ