--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: report
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: "A simple interface to the #benchmark method, #bm is generates sequential reports with labels. The parameters have the same meaning as for #benchmark."
- !ruby/struct:RDoc::Markup::Flow::VERB 
  :body: "    require 'benchmark'\n\n    n = 50000\n    Benchmark.bm(7) do |x|\n      x.report(&quot;for:&quot;)   { for i in 1..n; a = &quot;1&quot;; end }\n      x.report(&quot;times:&quot;) { n.times do   ; a = &quot;1&quot;; end }\n      x.report(&quot;upto:&quot;)  { 1.upto(n) do ; a = &quot;1&quot;; end }\n    end\n"
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: <em>Generates:</em>
- !ruby/struct:RDoc::Markup::Flow::VERB 
  :body: "                    user     system      total        real\n       for:     1.050000   0.000000   1.050000 (  0.503462)\n       times:   1.533333   0.016667   1.550000 (  0.735473)\n       upto:    1.500000   0.016667   1.516667 (  0.711239)\n"
full_name: Benchmark::bm
is_singleton: true
name: bm
params: (label_width = 0, *labels) {|report| ...}
visibility: public
