Sha256: 50b2ca9fa64f0b2976b5fda928319ec0c11548b8d648cfd8adb88df02e64e5ea

Contents?: true

Size: 209 Bytes

Versions: 21

Compression:

Stored size: 209 Bytes

Contents

require File.dirname(__FILE__) + '/bench_model'

puts "Widget.find(:all)"
Benchmark.bm do |make|
  TIMES.times do
    make.report do
      10_000.times do
        Widget.find(:all)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 6 rubygems

Version Path
jashmenn-activerecord-jdbc-adapter-1.2.0 bench/bench_find_all.rb