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_power-i.ri
U:RDoc::AnyMethod[iI"assert_performance_power:EFI"6MiniTest::Unit::TestCase#assert_performance_power;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ERuns the given +work+ and asserts that the times gathered curve ;TI"Afit to match a power curve within a given error +threshold+.;To:RDoc::Markup::BlankLine o; ; [I"%Fit is calculated by #fit_power.;T@o; ; [I"+Ranges are specified by ::bench_range.;T@o; ; [I"Eg:;T@o:RDoc::Markup::Verbatim; [ I"def bench_algorithm ;TI". assert_performance_power 0.9999 do |x| ;TI" @obj.algorithm ;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