mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-12 08:41:23 -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
|
# 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 'benchmark'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
@ -103,11 +106,11 @@ end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RequireProfiler.gc_analyze do
|
# RequireProfiler.gc_analyze do
|
||||||
# require 'mime-types'
|
# # require 'mime-types'
|
||||||
require 'highline'
|
# require 'highline'
|
||||||
end
|
# end
|
||||||
exit
|
# exit
|
||||||
|
|
||||||
RequireProfiler.profile do
|
RequireProfiler.profile do
|
||||||
Bundler.definition.dependencies.each do |dep|
|
Bundler.definition.dependencies.each do |dep|
|
||||||
|
|
Loading…
Reference in a new issue