$97 GRAYBYTE WORDPRESS FILE MANAGER $49

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/Benchmark/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/Benchmark//bm-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: report
comment: 
- !ruby/struct:SM::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:SM::Flow::VERB 
  body: "    require 'benchmark'\n\n    n = 50000\n    Benchmark.bm(7) do |x|\n      x.report("for:")   { for i in 1..n; a = "1"; end }\n      x.report("times:") { n.times do   ; a = "1"; end }\n      x.report("upto:")  { 1.upto(n) do ; a = "1"; end }\n    end\n"
- !ruby/struct:SM::Flow::P 
  body: <em>Generates:</em>
- !ruby/struct:SM::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: false
name: bm
params: (label_width = 0, *labels) {|report| ...}
visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Job
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Report
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Tms
--
3 Mar 2024 10.50 PM
root / linksafe
0755
benchmark-i.yaml
2.062 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
bm-i.yaml
1.064 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
bmbm-i.yaml
1.813 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-Benchmark.yaml
5.443 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
measure-i.yaml
0.298 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
realtime-i.yaml
0.276 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF