Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
MiniTest
/
Unit
/
TestCase
/
//opt/alt/ruby21/share/ri/2.1.0/system/MiniTest/Unit/TestCase/assert_performance-i.ri
U:RDoc::AnyMethod[iI"assert_performance:EFI"0MiniTest::Unit::TestCase#assert_performance;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"CRuns the given +work+, gathering the times of each run. Range ;TI"Eand times are then passed to a given +validation+ proc. Outputs ;TI"Ethe benchmark name and times in tab-separated format, making it ;TI">easy to paste into a spreadsheet for graphing or further ;TI"analysis.;To:RDoc::Markup::BlankLine o; ; [I"+Ranges are specified by ::bench_range.;T@o; ; [I"Eg:;T@o:RDoc::Markup::Verbatim; [I"def bench_algorithm ;TI"( validation = proc { |x, y| ... } ;TI", assert_performance validation do |n| ;TI" @obj.algorithm(n) ;TI" end ;TI"end;T:@format0: @fileI"lib/minitest/benchmark.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(validation, &work);T@!FI" TestCase;TcRDoc::NormalClass00