Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.188
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby20 /
share /
ri /
2.0.0 /
system /
Benchmark /
Delete
Unzip
Name
Size
Permission
Date
Action
Tms
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
benchmark-c.ri
2.03
KB
-rw-r--r--
2023-07-26 17:38
benchmark-i.ri
2.03
KB
-rw-r--r--
2023-07-26 17:38
bm-c.ri
1.06
KB
-rw-r--r--
2023-07-26 17:38
bm-i.ri
1.06
KB
-rw-r--r--
2023-07-26 17:38
bmbm-c.ri
1.85
KB
-rw-r--r--
2023-07-26 17:38
bmbm-i.ri
1.85
KB
-rw-r--r--
2023-07-26 17:38
cdesc-Benchmark.ri
4.86
KB
-rw-r--r--
2023-07-26 17:38
measure-c.ri
375
B
-rw-r--r--
2023-07-26 17:38
measure-i.ri
375
B
-rw-r--r--
2023-07-26 17:38
realtime-c.ri
346
B
-rw-r--r--
2023-07-26 17:38
realtime-i.ri
346
B
-rw-r--r--
2023-07-26 17:38
Save
Rename
U:RDoc::AnyMethod[iI"benchmark:EFI"Benchmark::benchmark;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I">Invokes the block with a Benchmark::Report object, which ;TI"Dmay be used to collect and report on the results of individual ;TI"@benchmark tests. Reserves +label_width+ leading spaces for ;TI"=labels on each line. Prints +caption+ at the top of the ;TI"4report, and uses +format+ to format each line. ;TI"0Returns an array of Benchmark::Tms objects.;To:RDoc::Markup::BlankLine o; ; [ I"&If the block returns an array of ;TI":Benchmark::Tms objects, these will be used to format ;TI";additional lines of output. If +label+ parameters are ;TI"6given, these are used to label these extra lines.;T@o; ; [I"L_Note_: Other methods provide a simpler interface to this one, and are ;TI"Msuitable for nearly all benchmarking requirements. See the examples in ;TI".Benchmark, and the #bm and #bmbm methods.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"require 'benchmark' ;TI"Kinclude Benchmark # we need the CAPTION and FORMAT constants ;TI" ;TI"n = 50000 ;TI"HBenchmark.benchmark(CAPTION, 7, FORMAT, ">total:", ">avg:") do |x| ;TI"? tf = x.report("for:") { for i in 1..n; a = "1"; end } ;TI"? tt = x.report("times:") { n.times do ; a = "1"; end } ;TI"? tu = x.report("upto:") { 1.upto(n) do ; a = "1"; end } ;TI" [tf+tt+tu, (tf+tt+tu)/3] ;TI" end ;T:@format0o; ; [I"Generates:;T@o;; [I"9 user system total real ;TI":for: 1.016667 0.016667 1.033333 ( 0.485749) ;TI":times: 1.450000 0.016667 1.466667 ( 0.681367) ;TI":upto: 1.533333 0.000000 1.533333 ( 0.722166) ;TI":>total: 4.000000 0.033333 4.033333 ( 1.889282) ;TI"9>avg: 1.333333 0.011111 1.344444 ( 0.629761);T; 0: @fileI"lib/benchmark.rb;T:0@omit_headings_from_table_of_contents_below00I"report;F[ I"=(caption = "", label_width = nil, format = nil, *labels);T@9FI"Benchmark;FcRDoc::NormalModule0