⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Benchmark
/
Edit File: bm-c.ri
U:RDoc::AnyMethod[iI"bm:ETI"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::BlankLine o: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;T[ I"(label_width = 0, *labels);T@$FI"Benchmark;TcRDoc::NormalModule00
Simpan