From 9fc21f1a57c0913461147ec97658f2c6546d00b0 Mon Sep 17 00:00:00 2001 From: Lance Ivy Date: Sat, 1 Feb 2014 21:29:35 -0500 Subject: [PATCH] extend load time benchmarks for new load targets --- benchs/load_times.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/benchs/load_times.rb b/benchs/load_times.rb index 2d226dc70..68a02ae3a 100644 --- a/benchs/load_times.rb +++ b/benchs/load_times.rb @@ -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'}