Sha256: 21d5d47db40e068ee200f231e50cd888c722e06e30322405ac6864a586b979fe

Contents?: true

Size: 210 Bytes

Versions: 21

Compression:

Stored size: 210 Bytes

Contents

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

puts "Widget.new.valid?"
Benchmark.bm do |make|
  TIMES.times do
    make.report do
      100_000.times do
        Widget.new.valid?
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 6 rubygems

Version Path
saturnflyer-activerecord-jdbc-adapter-0.9.3 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.9.1 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.3.0.beta2 bench/bench_new_valid.rb
cmoran92-activerecord-jdbc-adapter-1.2.1.2 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.3.0.beta1 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.9 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.8 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.5 bench/bench_new_valid.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.5 bench/bench_new_valid.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.4 bench/bench_new_valid.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.3 bench/bench_new_valid.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.2 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.2.1 bench/bench_new_valid.rb
activerecord-jdbc-adapter-onsite-1.2.2 bench/bench_new_valid.rb
cmoran92-activerecord-jdbc-adapter-1.2.1.1 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.2 bench/bench_new_valid.rb
cmoran92-activerecord-jdbc-adapter-1.2.1 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.1 bench/bench_new_valid.rb
activerecord-jdbc-adapter-1.2.0 bench/bench_new_valid.rb
jashmenn-activerecord-jdbc-adapter-1.2.0.0 bench/bench_new_valid.rb