Sha256: f1185feb63502eeea29435c9d6e0fc73ef587a866f1cf9df35776548593f9c25

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

require File.expand_path(File.dirname(__FILE__)) + '/test_helper.rb'

require 'ruby-prof'

result = RubyProf.profile do
  db = Daybreak::DB.new './t.db'
  10.times {|n| db[n] = n}
  db.flush
  db.close
end
File.unlink './t.db'
printer = RubyProf::MultiPrinter.new(result)
FileUtils.mkdir('./profile') unless File.exists? './profile'
printer.print :path => './profile', :profile => 'profile'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
daybreak-0.3.0 test/prof.rb
daybreak-0.2.4 test/prof.rb
daybreak-0.2.3 test/prof.rb
daybreak-0.2.2 test/prof.rb
daybreak-0.2.1 test/prof.rb