Skip to content
Prev 170234 / 398503 Next

System.time

On Wed, 2009-02-11 at 18:49 -0600, John Kerpel wrote:
Jim has already suggested why this might be the case. When I'm testing
the speed of things like this (that are in and of themselves very quick)
for situations where it may matter, I wrap the function call in a call
to replicate():

system.time(replicate(1000, svd(Mean_svd_data)))

to run it 1000 times, and that allows me to judge how quickly the
function executes.

HTH

G