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 |
<code/>and<pre/>for code samples.