Class

Report

Extends:

This class is used by the Benchmark.benchmark and Benchmark.bm methods. It is of little direct interest to the user.

Public Methods
item Prints the label and measured time for the block, formatted by fmt. See Tms#format for the formatting rules.
new Returns an initialized Report instance. Usually, one doesn’t call this method directly, as new Report objects are created by the #benchmark and #bm methods. width and fmtstr are the label offset and format string used by Tms#format.
report Alias for #item
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.