mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 16:21:24 -05:00
add descriptive comment
This commit is contained in:
parent
d3b544bbff
commit
8d947535a8
1 changed files with 8 additions and 5 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue