1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

remove most uri.parse calls, explicitly pass host/path

This commit is contained in:
Wesley Beary 2009-06-24 20:48:51 -07:00
parent fec6fccae0
commit b7a7f07e6c
4 changed files with 37 additions and 42 deletions

View file

@ -27,8 +27,6 @@ Benchmark.bmbm(25) do |bench|
raws.create_bucket('rawsbench')
end
print '-' * 64 << "\n"
bench.report('fog.put_object') do
TIMES.times do |x|
file = File.open(File.dirname(__FILE__) + '/../spec/lorem.txt', 'r')
@ -42,8 +40,6 @@ Benchmark.bmbm(25) do |bench|
end
end
print '-' * 64 << "\n"
bench.report('fog.delete_object') do
TIMES.times do |x|
fog.delete_object('fogbench', "lorem_#{x}")
@ -55,8 +51,6 @@ Benchmark.bmbm(25) do |bench|
end
end
print '-' * 64 << "\n"
bench.report('fog.delete_bucket') do
fog.delete_bucket('fogbench')
end