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.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Benchmark /
Delete
Unzip
Name
Size
Permission
Date
Action
Tms
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
benchmark-c.ri
2.18
KB
-rw-r--r--
2026-04-07 17:42
benchmark-i.ri
2.18
KB
-rw-r--r--
2026-04-07 17:42
bm-c.ri
1.08
KB
-rw-r--r--
2026-04-07 17:42
bm-i.ri
1.08
KB
-rw-r--r--
2026-04-07 17:42
bmbm-c.ri
1.85
KB
-rw-r--r--
2026-04-07 17:42
bmbm-i.ri
1.85
KB
-rw-r--r--
2026-04-07 17:42
cdesc-Benchmark.ri
4.96
KB
-rw-r--r--
2026-04-07 17:42
measure-c.ri
708
B
-rw-r--r--
2026-04-07 17:42
measure-i.ri
707
B
-rw-r--r--
2026-04-07 17:42
realtime-c.ri
348
B
-rw-r--r--
2026-04-07 17:42
realtime-i.ri
347
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::AnyMethod[iI"benchmark:ETI"Benchmark::benchmark;TT:privateo: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"D(Note: +caption+ must contain a terminating newline character, ;TI"=see the default Benchmark::Tms::CAPTION for an example.);To:RDoc::Markup::BlankLine o; ; [I"0Returns an array of Benchmark::Tms objects.;T@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 +labels+ parameter 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 = 5000000 ;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": user system total real ;TI";for: 0.970000 0.000000 0.970000 ( 0.970493) ;TI";times: 0.990000 0.000000 0.990000 ( 0.989542) ;TI";upto: 0.970000 0.000000 0.970000 ( 0.972854) ;TI";>total: 2.930000 0.000000 2.930000 ( 2.932889) ;TI":>avg: 0.976667 0.000000 0.976667 ( 0.977630);T; 0: @fileI"lib/benchmark.rb;T:0@omit_headings_from_table_of_contents_below00I"report;T[ I"=(caption = "", label_width = nil, format = nil, *labels);T@=FI"Benchmark;TcRDoc::NormalModule00