Skip to content

Instantly share code, notes, and snippets.

@xrl
Created July 3, 2011 07:44
Show Gist options
  • Save xrl/1062043 to your computer and use it in GitHub Desktop.
Save xrl/1062043 to your computer and use it in GitHub Desktop.
Merb app startup
tureus_production@Crawler:~/app$ RBXOPT=-Xprofile bundle exec rackup config.ru --env production
NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01.
Gem.cache called from /home/tureus_production/app/gems/rbx/1.8/gems/templater-1.0.0/lib/templater/discovery.rb:62.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/rvm/rubies/rbx-head/lib/rubygems.rb:1128.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /home/tureus_production/app/gems/rbx/1.8/gems/templater-1.0.0/lib/templater/discovery.rb:62.
Loading init file from ./config/init.rb
Loading ./config/environments/production.rb
Logging to file at ./log/production.log
Starting Merb::Rack::Application
Total running time: 161.99278299800002s
% cumulative self self total
time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
64.71 106.91 104.78 265 395.40 403.45 ObjectSpace.find_object
3.85 15.79 6.24 270 23.10 58.49 Array#-
2.31 3.70 3.75 1708178 0.00 0.00 Rubinius::Tuple#[]
1.96 3.16 3.18 1402265 0.00 0.00 Array#set_index
1.94 3.10 3.14 1396591 0.00 0.00 Kernel#hash
1.61 5.28 2.61 2102 1.24 2.51 Rubinius::IdentityMap::load<249> {}
0.88 1.41 1.43 655359 0.00 0.00 Kernel#equal?
0.74 2.57 1.20 118 10.15 21.77 Module#filter_methods
0.71 1.51 1.15 290533 0.00 0.01 Class#allocate
0.69 1.11 1.11 146 7.62 7.62 GC.collect_young
0.56 0.89 0.91 414185 0.00 0.00 Kernel#eql?
0.47 0.75 0.76 329749 0.00 0.00 Kernel#kind_of?
0.47 2.74 0.76 1382 0.55 1.98 Rubinius::Melbourne#string_to_ast
0.42 0.68 0.68 10 67.53 67.53 GC.collect_mature
0.38 0.61 0.62 284601 0.00 0.00 Rubinius::Tuple#[]=
0.31 0.50 0.51 190237 0.00 0.00 Kernel#respond_to?
0.25 0.40 0.40 183697 0.00 0.00 String#==
0.22 1.32 0.36 4550 0.08 0.29 Array#flatten
0.22 0.36 0.36 731 0.50 0.50 Rubinius::CodeLoader#load_compiled_file
0.21 0.35 0.35 13 26.57 26.56 Process.replace
0.21 0.33 0.34 146353 0.00 0.00 Module#===
0.17 0.66 0.28 4080 0.07 0.16 Array#recursively_flatten
0.17 0.27 0.27 122171 0.00 0.00 Rubinius::Tuple#at
0.16 0.26 0.26 120430 0.00 0.00 Fixnum#^
0.14 0.59 0.22 756 0.29 0.78 Rubinius::CodeLoader#search_require_path
0.14 0.37 0.22 30416 0.01 0.01 String#==
0.13 2.00 0.22 2898 0.07 0.69 Enumerable#inject
0.13 7.44 0.21 4012 0.05 1.85 Enumerable#each_with_index
0.13 0.20 0.21 88274 0.00 0.00 String#eql?
0.12 1.95 0.19 1222 0.16 1.60 <anonymous>::__script__<1290> {}
0.12 6.73 0.19 1758 0.11 3.83 Module#class_eval
0.11 0.90 0.18 1687 0.10 0.53 Rubinius::AST::ArrayLiteral#bytecode
0.11 0.24 0.18 4004 0.04 0.06 Rubinius::IdentityMap#enlarge_row
0.11 0.17 0.17 77836 0.00 0.00 Kernel#__class__
0.10 1.88 0.17 2972 0.06 0.63 Rubinius::AST::Send#bytecode
0.10 0.84 0.16 262 0.61 3.22 Sequel::Model::ClassMethods::def_column_accessor<566> {}
0.09 34.91 0.15 1047 0.15 33.34 Rubinius::CodeLoader.require
0.09 0.62 0.15 1382 0.11 0.45 Rubinius::Compiler::LRUCache::set<210> {}
0.09 2.92 0.15 1150 0.13 2.54 Rubinius::AST::Define#compile_body
0.09 0.32 0.14 2998 0.05 0.11 Array#<=>
0.09 0.49 0.14 4003 0.04 0.12 Rubinius::Melbourne#process_transforms
0.08 1.07 0.14 4002 0.03 0.27 Gem::Specification::hash<1305> {}
0.08 2.47 0.13 119 1.11 20.72 Merb::Template::Erubis.compile_template
0.08 0.35 0.13 3940 0.03 0.09 String#gsub
0.08 1.01 0.13 892 0.15 1.13 Rubinius::CodeLoader#verify_require_path
7,478 methods omitted
7,523 methods called a total of 10,393,594 times
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment