timethis (count
,code
[,title
[,style
]])
Runs a chunk of code several times. Always exported. Takes the following arguments:
The number of times to run the loop.
The code to run, specified as either a code reference or a string.
The title of the result; default is "timethis
COUNT"
.
Determines the format of the output. See timestr
for
the possible values of style.
Copyright © 2001 O'Reilly & Associates. All rights reserved.