test/prof.rb in daybreak-0.0.1 vs test/prof.rb in daybreak-0.0.2
- old
+ new
@@ -2,10 +2,10 @@
require 'ruby-prof'
result = RubyProf.profile do
db = Daybreak::DB.new './t.db'
- 1000.times {|n| db[n] = n}
+ 100000.times {|n| db[n] = n}
db.flush!
end
File.unlink './t.db'
printer = RubyProf::MultiPrinter.new(result)
\ No newline at end of file