From 8d947535a83c5beb6f622eaf503dcaf8323666d7 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 12 Jul 2013 12:56:23 +1000 Subject: [PATCH] add descriptive comment --- script/require_profiler.rb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/script/require_profiler.rb b/script/require_profiler.rb index 14755404e..8d760efe7 100644 --- a/script/require_profiler.rb +++ b/script/require_profiler.rb @@ -1,4 +1,7 @@ # Some based on : https://gist.github.com/277289 +# +# This is a rudimentary script that allows us to +# quickly determine if any gems are slowing down startup require 'benchmark' require 'fileutils' @@ -103,11 +106,11 @@ end -RequireProfiler.gc_analyze do - # require 'mime-types' - require 'highline' -end -exit +# RequireProfiler.gc_analyze do +# # require 'mime-types' +# require 'highline' +# end +# exit RequireProfiler.profile do Bundler.definition.dependencies.each do |dep|