Similar to system.time()
but returns a more convenient 'difftime' object
with the overall timing (details are stored in the details
attribute).
timing(expr, gc.first = TRUE)
Valid R expression to be timed. If missing, proc.time()
is
used instead and the function returns the time the currently running R
process has already taken.
Logical - should a garbage collection be performed immediately
before the timing? Default is TRUE
.