extend load time benchmarks for new load targets

This commit is contained in:
Lance Ivy 2014-02-01 21:29:35 -05:00
Родитель 1cdd969a34
Коммит 9fc21f1a57
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -25,7 +25,13 @@ def report(label, n = 10, &block)
puts
end
# make rubygems load specifications now so the
# time is not included below.
Gem::Specification._all
N = 10
report("require fog:", N) { require 'fog' }
report("require fog/aws:", N) { require 'fog/aws' }
report("require fog/aws/compute:", N) { require 'fog/aws/compute' }
report("require fog/aws/core:", N) { require 'fog/aws/core'}