PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /proc/self/root/opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/rake-10.4.2/rakelib/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : //proc/self/root/opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/rake-10.4.2/rakelib/test_times.rake |
module TestTimes
def self.run(test_results, limit=0)
limit = limit.nonzero? || 10
tests = []
test_results.split(/\n/).each do |line|
if line =~ /^(.+?#[^:]+): ([0-9.]+) s: \.$/
tests << [$1, $2.to_f, line]
end
end
puts "#{limit} Slowest tests"
puts tests.sort_by { |item|
item[1]
}.reverse[0...limit].map { |item|
"%6.3f: %-s\n" % [item[1], item[0]]
}
end
end
namespace :test do
desc "Find the slowest unit tests"
task :times, [:limit] do |t, args|
TestTimes.run `rake test:units TESTOPTS='--verbose'`, args.limit.to_i
end
end