Sha256: a1a9d444fbc95343e28f907f647afeb20c1e321c1ef6c2748f288526350cfd54
Contents?: true
Size: 279 Bytes
Versions: 21
Compression:
Stored size: 279 Bytes
Contents
require File.dirname(__FILE__) + '/bench_model' puts "Widget.find(:first).attributes" Benchmark.bm do |make| TIMES.times do w = Widget.find(:first) make.report do 10_000.times do w.attributes # rails makes copy for every call end end end end
Version data entries
21 entries across 21 versions & 6 rubygems