mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
extend load time benchmarks for new load targets
This commit is contained in:
parent
1cdd969a34
commit
9fc21f1a57
1 changed files with 6 additions and 0 deletions
|
@ -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'}
|
||||
|
|
Loading…
Add table
Reference in a new issue