instance method Benchmark::Report#item
item(label = "", *fmt) { ... } -> Benchmark::Tms
report(label = "", *fmt) { ... } -> Benchmark::Tms
-
ラベルと与えられたブロックの実行時間を標準出力に出力します。
出力のフォーマットは Benchmark::Tms#format が行います。
- [PARAM] label:
- ラベル
- [PARAM] fmt:
- 結果に出力したいオブジェクト
[SEE_ALSO] Benchmark::Tms#format
class Benchmark::Report