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_logarithmic-i.ri
U:RDoc::AnyMethod[iI"#assert_performance_logarithmic:EFI"<MiniTest::Unit::TestCase#assert_performance_logarithmic;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FRuns the given +work+ and asserts that the times gathered fit to ;TI"@match a logarithmic curve within a given error +threshold+.;To:RDoc::Markup::BlankLine o; ; [I"+Fit is calculated by #fit_logarithmic.;T@o; ; [I"+Ranges are specified by ::bench_range.;T@o; ; [I"Eg:;T@o:RDoc::Markup::Verbatim; [ I"def bench_algorithm ;TI"4 assert_performance_logarithmic 0.9999 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"(threshold = 0.99, &work);T@ FI" TestCase;TcRDoc::NormalClass00