[top][index]
search for:

benchmark -- accurate timing of execution

benchmark s -- produce an accurate timing for the code contained in the string s. The value returned is the number of seconds.

The snippet of code provided will be run enough times to register meaningfully on the clock, and the garbage collector will be called beforehand.


[top][index]
search for: