Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: timediffChapter 8
Standard Modules
Next: Reference: timestr
 

timeit

timeit (count, code)

Runs code and reports the time it took. Always exported. Takes the following arguments:

count

The number of times to run the loop

code

The code to run, specified as either a code reference or a string


Previous: Reference: timediffPerl in a NutshellNext: Reference: timestr
Reference: timediffBook IndexReference: timestr