Skip to content

Instantly share code, notes, and snippets.

@mustmodify
Last active August 29, 2015 14:03
Show Gist options
  • Save mustmodify/57122d7bb3e15ffa184f to your computer and use it in GitHub Desktop.
Save mustmodify/57122d7bb3e15ffa184f to your computer and use it in GitHub Desktop.
Rails loads slowly in production
index % time self children called name
----------------------------------------------------------
[1] 100.0 0.00 9.33 1 Object::__script__<13> {} [1]
0.00 9.33 1 Rails::Railtie::Configurable::ClassMethods#initialize! [2]
-------------------------------------------------------
0.00 9.33 1 Object::__script__<13> {} [1]
[2] 100.0 0.00 9.33 1 Rails::Railtie::Configurable::ClassMethods#initialize! [2]
0.00 9.33 1 Rails::Application#initialize! [3]
-------------------------------------------------------
0.00 9.33 1 Rails::Railtie::Configurable::ClassMethods#initialize! [2]
[3] 100.0 0.00 9.33 1 Rails::Application#initialize! [3]
0.00 9.33 1 Rails::Initializable#run_initializers [4]
-------------------------------------------------------
0.00 9.33 1 Rails::Application#initialize! [3]
[4] 100.0 0.00 9.33 1 Rails::Initializable#run_initializers [4]
0.00 9.30 1 TSort#tsort_each [5]
0.00 0.03 1 Rails::Application#initializers
-------------------------------------------------------
0.00 9.33 1 Rails::Initializable#run_initializers [4]
[5] 99.7 0.00 9.30 1 TSort#tsort_each [5]
0.00 9.30 1 TSort#each_strongly_connected_component [6]
-------------------------------------------------------
0.00 9.30 1 TSort#tsort_each [5]
[6] 99.7 0.00 9.30 1 TSort#each_strongly_connected_component [6]
0.00 9.30 1 Array#each [7]
-------------------------------------------------------
0.00 9.30 1 TSort#each_strongly_connected_component [6]
[7] 99.7 0.00 9.30 1 Array#each [7]
0.00 9.30 124 TSort::each_strongly_connected_component<180> {} [8]
-------------------------------------------------------
0.00 9.30 1 Array#each [7]
[8] 99.7 0.00 9.30 124 TSort::each_strongly_connected_component<180> {} [8]
0.00 9.30 64 TSort#each_strongly_connected_component_from [9]
-------------------------------------------------------
0.00 9.30 124 TSort::each_strongly_connected_component<180> {} [8]
[9] 99.7 0.00 9.30 64 TSort#each_strongly_connected_component_from [9]
0.00 8.38 64 TSort::each_strongly_connected_component<182> {} [10]
0.00 0.92 64 Rails::Initializable::Collection#tsort_each_child
0.00 0.00 64 Array#slice!
-------------------------------------------------------
0.00 9.30 64 TSort#each_strongly_connected_component_from [9]
[10] 89.8 0.00 8.38 64 TSort::each_strongly_connected_component<182> {} [10]
0.00 8.38 64 TSort::tsort_each<148> {} [11]
-------------------------------------------------------
0.00 8.38 64 TSort::each_strongly_connected_component<182> {} [10]
[11] 89.8 0.00 8.38 64 TSort::tsort_each<148> {} [11]
0.00 8.38 64 Rails::Initializable::run_initializers<54> {} [12]
-------------------------------------------------------
0.00 8.38 64 TSort::tsort_each<148> {} [11]
[12] 89.8 0.00 8.38 64 Rails::Initializable::run_initializers<54> {} [12]
0.00 8.38 64 Rails::Initializable::Initializer#run [13]
-------------------------------------------------------
0.00 8.38 64 Rails::Initializable::run_initializers<54> {} [12]
[13] 89.8 0.00 8.38 64 Rails::Initializable::Initializer#run [13]
0.01 8.37 64 BasicObject#instance_exec [14]
-------------------------------------------------------
0.00 8.38 64 Rails::Initializable::Initializer#run [13]
[14] 89.8 0.01 8.37 64 BasicObject#instance_exec [14]
0.00 5.01 1 Object::__script__<53> {} [15]
0.00 1.76 1 Object::__script__<67> {} [33]
0.00 0.38 1 Object::__script__<61> {}
0.00 0.30 1 Object::__script__<33> {}
0.00 0.22 1 Object::__script__<12> {}
0.00 0.18 1 Object::__script__<18> {}
0.00 0.11 1 Object::__script__<8> {}
0.00 0.09 1 Object::__script__<60> {}
0.00 0.08 1 Object::__script__<173> {}
0.00 0.07 1 Object::__script__<75> {}
-------------------------------------------------------
0.01 8.37 64 BasicObject#instance_exec [14]
[15] 53.7 0.00 5.01 1 Object::__script__<53> {} [15]
0.00 4.85 1 Array#each [16]
0.00 0.15 1 ActiveSupport.run_load_hooks
-------------------------------------------------------
0.00 5.01 1 Object::__script__<53> {} [15]
[16] 52.0 0.00 4.85 1 Array#each [16]
0.00 4.85 14 Symbol::to_proc<116> {} [17]
-------------------------------------------------------
0.00 4.85 1 Array#each [16]
[17] 52.0 0.00 4.85 14 Symbol::to_proc<116> {} [17]
0.00 3.94 7 Rails::Engine.eager_load! [18]
0.00 0.37 1 ActionView.eager_load!
0.00 0.23 1 ActiveRecord.eager_load!
0.00 0.16 4 ActiveSupport::Autoload#eager_load!
0.00 0.15 1 ActionController.eager_load!
-------------------------------------------------------
0.00 4.85 14 Symbol::to_proc<116> {} [17]
[18] 42.3 0.00 3.94 7 Rails::Engine.eager_load! [18]
0.00 3.94 7 Rails::Engine#eager_load! [19]
-------------------------------------------------------
0.00 3.94 7 Rails::Engine.eager_load! [18]
[19] 42.3 0.00 3.94 7 Rails::Engine#eager_load! [19]
0.00 3.94 7 Array#each [20]
-------------------------------------------------------
0.00 3.94 7 Rails::Engine#eager_load! [19]
[20] 42.3 0.00 3.94 7 Array#each [20]
0.00 3.94 13 Rails::Engine::eager_load!<462> {} [21]
-------------------------------------------------------
0.00 3.94 7 Array#each [20]
[21] 42.3 0.00 3.94 13 Rails::Engine::eager_load!<462> {} [21]
0.00 3.92 13 Array#each [22]
0.00 0.01 13 Dir.glob
0.00 0.00 13 Array#sort
-------------------------------------------------------
0.00 3.94 13 Rails::Engine::eager_load!<462> {} [21]
[22] 42.1 0.00 3.92 13 Array#each [22]
0.00 3.92 119 Rails::Engine::eager_load!<464> {} [23]
-------------------------------------------------------
0.00 3.92 13 Array#each [22]
[23] 42.1 0.00 3.92 119 Rails::Engine::eager_load!<464> {} [23]
0.00 3.92 119 ActiveSupport::Dependencies::Loadable#require_dependency [24]
0.00 0.00 119 String#sub
-------------------------------------------------------
0.00 3.92 119 Rails::Engine::eager_load!<464> {} [23]
[24] 42.0 0.00 3.92 119 ActiveSupport::Dependencies::Loadable#require_dependency [24]
0.00 3.92 119 ActiveSupport::Dependencies#depend_on [25]
-------------------------------------------------------
0.00 3.92 119 ActiveSupport::Dependencies::Loadable#require_dependency [24]
[25] 42.0 0.00 3.92 119 ActiveSupport::Dependencies#depend_on [25]
0.00 3.89 119 ActiveSupport::Dependencies#require_or_load [26]
0.00 0.03 119 ActiveSupport::Dependencies#search_for_file
-------------------------------------------------------
0.00 3.92 119 ActiveSupport::Dependencies#depend_on [25]
[26] 41.7 0.00 3.89 119 ActiveSupport::Dependencies#require_or_load [26]
0.00 3.88 104 ActiveSupport::Dependencies::Loadable#require [27]
0.00 0.00 119 File.expand_path
0.00 0.00 208 Set#add
-------------------------------------------------------
0.00 3.89 119 ActiveSupport::Dependencies#require_or_load [26]
[27] 41.6 0.00 3.88 104 ActiveSupport::Dependencies::Loadable#require [27]
0.00 3.88 104 ActiveSupport::Dependencies::Loadable#load_dependency [28]
-------------------------------------------------------
0.00 3.88 104 ActiveSupport::Dependencies::Loadable#require [27]
[28] 41.6 0.00 3.88 104 ActiveSupport::Dependencies::Loadable#load_dependency [28]
0.00 3.88 104 ActiveSupport::Dependencies::Loadable::require<229> {} [29]
-------------------------------------------------------
0.00 3.88 104 ActiveSupport::Dependencies::Loadable#load_dependency [28]
[29] 41.6 0.00 3.88 104 ActiveSupport::Dependencies::Loadable::require<229> {} [29]
0.00 3.88 104 Kernel#require [30]
-------------------------------------------------------
0.00 3.88 104 ActiveSupport::Dependencies::Loadable::require<229> {} [29]
[30] 41.6 0.00 3.88 104 Kernel#require [30]
0.00 3.88 104 Rubinius::CodeLoader.require [31]
-------------------------------------------------------
0.00 3.88 104 Kernel#require [30]
[31] 41.6 0.00 3.88 104 Rubinius::CodeLoader.require [31]
0.01 3.35 97 Rubinius.run_script [32]
0.00 0.50 104 Rubinius::CodeLoader#require
0.00 0.01 97 Rubinius::CodeLoader#add_feature
0.00 0.00 97 Rubinius::CodeLoader::RequireRequest#remove!
-------------------------------------------------------
0.00 3.88 104 Rubinius::CodeLoader.require [31]
[32] 36.0 0.01 3.35 97 Rubinius.run_script [32]
0.00 1.42 1 script:/projects/project/api/app/mailers/post_office.rb
0.00 0.20 1 script:/projects/project/api/app/events/create_physician_event.rb
0.00 0.14 1 script:/projects/project/api/app/models/user.rb
0.00 0.13 1 script:/projects/project/api/app/models/network.rb
0.00 0.11 1 script:/projects/project/api/app/controllers/acceptances_controller.rb
0.00 0.11 1 script:/projects/project/api/app/models/questionnaire.rb
0.00 0.09 1 script:/projects/project/api/app/events/create_patient_event.rb
0.00 0.07 1 script:/projects/project/api/app/events/create_connection_event.rb
0.00 0.05 1 script:/projects/project/api/app/models/specialization.rb
0.00 0.04 1 script:/projects/project/api/app/models/facility.rb
-------------------------------------------------------
0.01 8.37 64 BasicObject#instance_exec [14]
[33] 18.8 0.00 1.76 1 Object::__script__<67> {} [33]
0.00 1.76 1 Rails::Application::RoutesReloader#execute_if_updated [34]
-------------------------------------------------------
0.00 1.76 1 Object::__script__<67> {} [33]
[34] 18.8 0.00 1.76 1 Rails::Application::RoutesReloader#execute_if_updated [34]
0.00 1.76 1 Rails::Application::RoutesReloader#updater [35]
-------------------------------------------------------
0.00 1.76 1 Rails::Application::RoutesReloader#execute_if_updated [34]
[35] 18.8 0.00 1.76 1 Rails::Application::RoutesReloader#updater [35]
0.00 1.76 1 ActiveSupport::FileUpdateChecker#execute [36]
-------------------------------------------------------
0.00 1.76 1 Rails::Application::RoutesReloader#updater [35]
[36] 18.8 0.00 1.76 1 ActiveSupport::FileUpdateChecker#execute [36]
0.00 1.76 1 Proc#call [37]
-------------------------------------------------------
0.00 1.76 1 ActiveSupport::FileUpdateChecker#execute [36]
[37] 18.8 0.00 1.76 1 Proc#call [37]
0.00 1.76 1 Rails::Application::RoutesReloader::updater<26> {} [38]
-------------------------------------------------------
0.00 1.76 1 Proc#call [37]
[38] 18.8 0.00 1.76 1 Rails::Application::RoutesReloader::updater<26> {} [38]
0.00 1.76 1 Rails::Application::RoutesReloader#reload! [39]
-------------------------------------------------------
0.00 1.76 1 Rails::Application::RoutesReloader::updater<26> {} [38]
[39] 18.8 0.00 1.76 1 Rails::Application::RoutesReloader#reload! [39]
0.00 1.69 1 Rails::Application::RoutesReloader#load_paths [40]
0.00 0.07 1 Rails::Application::RoutesReloader#clear!
-------------------------------------------------------
0.00 1.76 1 Rails::Application::RoutesReloader#reload! [39]
[40] 18.1 0.00 1.69 1 Rails::Application::RoutesReloader#load_paths [40]
0.00 1.69 1 Array#each [41]
-------------------------------------------------------
0.00 1.69 1 Rails::Application::RoutesReloader#load_paths [40]
[41] 18.1 0.00 1.69 1 Array#each [41]
0.00 1.69 1 Rails::Application::RoutesReloader::load_paths<40> {} [42]
-------------------------------------------------------
0.00 1.69 1 Array#each [41]
[42] 18.1 0.00 1.69 1 Rails::Application::RoutesReloader::load_paths<40> {} [42]
0.00 1.69 1 ActiveSupport::Dependencies::Loadable#load [43]
-------------------------------------------------------
0.00 1.69 1 Rails::Application::RoutesReloader::load_paths<40> {} [42]
[43] 18.1 0.00 1.69 1 ActiveSupport::Dependencies::Loadable#load [43]
0.00 1.69 1 ActiveSupport::Dependencies::Loadable#load_dependency [44]
-------------------------------------------------------
0.00 1.69 1 ActiveSupport::Dependencies::Loadable#load [43]
[44] 18.1 0.00 1.69 1 ActiveSupport::Dependencies::Loadable#load_dependency [44]
0.00 1.69 1 ActiveSupport::Dependencies::Loadable::load<223> {} [45]
-------------------------------------------------------
0.00 1.69 1 ActiveSupport::Dependencies::Loadable#load_dependency [44]
[45] 18.1 0.00 1.69 1 ActiveSupport::Dependencies::Loadable::load<223> {} [45]
0.00 1.69 1 Kernel#load
-------------------------------------------------------
18,926 methods omitted
18,971 methods called a total of 0 times
jw@logopolis:...$ RAILS_ENV=production time bin/rails c
Bundler Setup: 1.526278
Thread 1: total running time: 9.281820872s
% cumulative self self total
time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
12.92 3.65 3.25 1552 2.09 2.35 Array::==<311> {}
4.11 9.26 1.03 45100 0.02 0.21 Array#each
2.90 0.44 0.73 24046 0.03 0.02 ActionDispatch::Journey::Visitors::Visitor#visit
2.38 0.43 0.60 21032 0.03 0.02 ActionDispatch::Journey::Visitors::Each#visit
1.64 0.42 0.41 10300 0.04 0.04 ActionDispatch::Journey::Visitors::Visitor#visit_CAT
1.48 0.36 0.37 8928 0.04 0.04 ActionDispatch::Journey::Visitors::Visitor#binary
1.39 0.42 0.35 131745 0.00 0.00 Comparable#==
1.27 0.38 0.32 7000 0.05 0.05 Rubinius.add_method
1.17 0.43 0.29 5624190 0.00 0.00 Fixnum#+
1.08 0.37 0.27 85602 0.00 0.00 Hash#[]
1.06 0.41 0.27 168015 0.00 0.00 File::Stat.stat
1.01 0.73 0.25 164516 0.00 0.00 Rubinius::CodeLoader#check_path
0.99 0.25 0.25 168175 0.00 0.00 File::Stat#setup
0.96 0.35 0.24 5097216 0.00 0.00 Rubinius::Tuple#[]
0.96 0.25 0.24 24916 0.01 0.01 ThreadSafe::Cache#[]
0.93 1.31 0.23 1684 0.14 0.78 Module#module_eval
0.92 0.25 0.23 103075 0.00 0.00 Symbol#<=>
0.91 0.33 0.23 15746 0.01 0.02 Array#include?
0.90 2.34 0.23 44093 0.01 0.05 Proc#call
0.87 0.22 0.22 24916 0.01 0.01 ThreadSafe::AtomicReferenceCacheBackend#[]
0.85 0.22 0.21 25029 0.01 0.01 ThreadSafe::AtomicReferenceCacheBackend#get_or_default
0.85 0.24 0.21 91482 0.00 0.00 Hash#find_item
0.80 0.31 0.20 4064 0.05 0.08 Rubinius.add_defn_method
0.72 0.24 0.18 40198 0.00 0.01 Hash#[]=
0.69 0.23 0.17 2498383 0.00 0.00 String#==
0.68 0.53 0.17 518 0.33 1.02 Rubinius::ToolSets::Runtime::Compiler::Parser#run
0.65 0.48 0.16 164670 0.00 0.00 Rubinius::CodeLoader#loadable?
0.64 0.57 0.16 553 0.29 1.03 Rubinius::ToolSets::Runtime::Compiler.compile_eval
0.59 0.22 0.15 4325 0.03 0.05 Enumerable#each_with_index
0.58 0.15 0.15 97 1.51 1.51 GC.collect_young
0.57 0.38 0.14 2072 0.07 0.18 Rubinius::ToolSets::Runtime::Compiler::Stage#run_next
0.55 0.59 0.14 4424 0.03 0.13 Array#map
0.54 0.21 0.14 7462 0.02 0.03 Enumerable::each_with_index<200> {}
0.53 0.37 0.13 518 0.26 0.72 Rubinius::ToolSets::Runtime::Compiler::Generator#run
0.52 0.18 0.13 1025 0.13 0.17 Rubinius::ToolSets::Runtime::AST::Block::bytecode<94> {}
0.51 0.24 0.13 535 0.24 0.45 Rubinius::ToolSets::Runtime::AST::Define#bytecode
0.50 0.21 0.12 3030584 0.00 0.00 Fixnum#<
0.48 0.14 0.12 5495 0.02 0.03 Rubinius.privatized_method?
0.48 0.14 0.12 511 0.24 0.27 Rubinius::ToolSets::Runtime::Melbourne#string_to_ast
0.46 0.32 0.12 530 0.22 0.61 Racc::Parser#_racc_do_parse_c
0.46 3.75 0.12 6779 0.02 0.55 Thread.detect_recursion
0.46 0.11 0.11 451 0.25 0.25 Rubinius::CodeLoader#load_compiled_file
0.46 0.20 0.11 559 0.21 0.35 Rubinius::ToolSets::Runtime::AST::Define#compile_body
0.44 0.18 0.11 744 0.15 0.25 Rubinius::ToolSets::Runtime::AST::Block#bytecode
0.43 0.11 0.11 827 0.13 0.13 Rubinius::Type.each_ancestor
1,819 methods omitted
1,864 methods called a total of 19,536,085 times
% cumulative self self total
time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
23.52 65.14 44.78 1561 28.68 41.73 Array::==<311> {}
4.06 15.48 7.72 5651945 0.00 0.00 Fixnum#+
3.73 14.11 7.10 5129131 0.00 0.00 Rubinius::Tuple#[]
2.94 128.25 5.60 44589 0.13 2.88 Array#each
2.18 8.31 4.16 3038477 0.00 0.00 Fixnum#<
1.97 7.19 3.76 2524964 0.00 0.00 String#==
1.81 6.36 3.44 130510 0.03 0.05 Comparable#==
1.32 3.09 2.52 25029 0.10 0.12 ThreadSafe::AtomicReferenceCacheBackend#get_or_default
1.32 3.71 2.51 102946 0.02 0.04 Symbol#<=>
1.19 3.57 2.26 90929 0.02 0.04 Hash#find_item
1.08 4.99 2.06 85030 0.02 0.06 Hash#[]
1.06 3.31 2.02 162593 0.01 0.02 File::Stat.stat
1.02 4.99 1.94 15748 0.12 0.32 Array#include?
0.91 2.94 1.73 40078 0.04 0.07 Hash#[]=
0.90 5.28 1.71 7014 0.24 0.75 Rubinius.add_method
0.79 1.86 1.51 827 1.83 2.25 Rubinius::Type.each_ancestor
0.78 1.72 1.49 98449 0.02 0.02 String#<=>
0.65 5.61 1.25 24046 0.05 0.23 ActionDispatch::Journey::Visitors::Visitor#visit
0.64 1.48 1.21 2992 0.40 0.49 Module#lookup_method
0.61 28.88 1.16 43776 0.03 0.66 Proc#call
0.56 5.57 1.06 159105 0.01 0.04 Rubinius::CodeLoader#check_path
0.53 1.52 1.01 1568 0.64 0.97 File.expand_path
0.52 6.32 1.00 76499 0.01 0.08 Rubinius::CodeLoader::search_require_path<351> {}
0.51 1.34 0.98 35039 0.03 0.04 Hash#new_bucket
0.51 1.90 0.97 677131 0.00 0.00 Fixnum#==
0.50 5.45 0.95 21032 0.05 0.26 ActionDispatch::Journey::Visitors::Each#visit
0.48 1.14 0.91 141060 0.01 0.01 Array#<<
0.47 1.38 0.90 6983 0.13 0.20 Rubinius::Tuple#each
0.46 0.99 0.88 24913 0.04 0.04 ThreadSafe::Util::PowerOfTwoTuple#volatile_get_by_hash
0.46 1.07 0.87 93856 0.01 0.01 BasicObject#!
0.45 1.08 0.86 139528 0.01 0.01 Module#===
0.45 0.67 0.86 5782 0.15 0.12 Array#hash
0.44 1.06 0.85 162752 0.01 0.01 File::Stat#setup
0.44 4.10 0.84 159259 0.01 0.03 Rubinius::CodeLoader#loadable?
0.44 3.44 0.83 24916 0.03 0.14 ThreadSafe::Cache#[]
0.42 3.20 0.80 24916 0.03 0.13 ThreadSafe::AtomicReferenceCacheBackend#[]
0.42 0.99 0.79 89217 0.01 0.01 Hash::State#match?
0.41 1.53 0.79 522960 0.00 0.00 Kernel#kind_of?
0.40 16.17 0.75 1684 0.45 9.60 Module#module_eval
0.39 0.78 0.75 4434 0.17 0.18 Rubinius::CompiledCode#line_from_ip
0.38 66.34 0.73 6791 0.11 9.77 Thread.detect_recursion
0.38 7.25 0.72 4425 0.16 1.64 Array#map
0.35 4.19 0.66 4074 0.16 1.03 Rubinius.add_defn_method
0.33 1.24 0.63 439026 0.00 0.00 Rubinius::Tuple#at
0.32 0.82 0.62 103845 0.01 0.01 Hash#key_index
index % time self children called name
----------------------------------------------------------
[1] 100.0 0.00 122.13 1 Object::__script__<13> {} [1]
0.00 122.13 1 Rails::Railtie::Configurable::ClassMethods#initialize! [2]
-------------------------------------------------------
0.00 122.13 1 Object::__script__<13> {} [1]
[2] 100.0 0.00 122.13 1 Rails::Railtie::Configurable::ClassMethods#initialize! [2]
0.00 122.13 1 Rails::Application#initialize! [3]
-------------------------------------------------------
0.00 122.13 1 Rails::Railtie::Configurable::ClassMethods#initialize! [2]
[3] 100.0 0.00 122.13 1 Rails::Application#initialize! [3]
0.00 122.13 1 Rails::Initializable#run_initializers [4]
-------------------------------------------------------
0.00 122.13 1 Rails::Application#initialize! [3]
[4] 100.0 0.00 122.13 1 Rails::Initializable#run_initializers [4]
0.00 121.22 1 TSort#tsort_each [5]
0.00 0.91 1 Rails::Application#initializers
-------------------------------------------------------
0.00 122.13 1 Rails::Initializable#run_initializers [4]
[5] 99.3 0.00 121.22 1 TSort#tsort_each [5]
0.00 121.22 1 TSort#each_strongly_connected_component [6]
-------------------------------------------------------
0.00 121.22 1 TSort#tsort_each [5]
[6] 99.3 0.00 121.22 1 TSort#each_strongly_connected_component [6]
0.00 121.21 1 Array#each [7]
-------------------------------------------------------
0.00 121.22 1 TSort#each_strongly_connected_component [6]
[7] 99.3 0.00 121.21 1 Array#each [7]
0.00 121.21 124 TSort::each_strongly_connected_component<180> {} [8]
-------------------------------------------------------
0.00 121.21 1 Array#each [7]
[8] 99.2 0.00 121.21 124 TSort::each_strongly_connected_component<180> {} [8]
0.00 121.20 64 TSort#each_strongly_connected_component_from [9]
0.00 0.00 124 Hash#include?
-------------------------------------------------------
0.00 121.21 124 TSort::each_strongly_connected_component<180> {} [8]
[9] 99.2 0.00 121.20 64 TSort#each_strongly_connected_component_from [9]
0.00 111.36 64 TSort::each_strongly_connected_component<182> {} [10]
0.00 9.81 64 Rails::Initializable::Collection#tsort_each_child
0.00 0.01 64 Array#each
0.00 0.01 64 Array#slice!
0.00 0.00 64 Hash#[]=
-------------------------------------------------------
0.00 121.20 64 TSort#each_strongly_connected_component_from [9]
[10] 91.2 0.00 111.36 64 TSort::each_strongly_connected_component<182> {} [10]
0.00 111.36 64 TSort::tsort_each<148> {} [11]
-------------------------------------------------------
0.00 111.36 64 TSort::each_strongly_connected_component<182> {} [10]
[11] 91.2 0.00 111.36 64 TSort::tsort_each<148> {} [11]
0.00 111.36 64 Rails::Initializable::run_initializers<54> {} [12]
-------------------------------------------------------
0.00 111.36 64 TSort::tsort_each<148> {} [11]
[12] 91.2 0.00 111.36 64 Rails::Initializable::run_initializers<54> {} [12]
0.00 111.35 64 Rails::Initializable::Initializer#run [13]
0.00 0.00 64 Rails::Initializable::Initializer#belongs_to?
-------------------------------------------------------
0.00 111.36 64 Rails::Initializable::run_initializers<54> {} [12]
[13] 91.2 0.00 111.35 64 Rails::Initializable::Initializer#run [13]
0.01 111.34 64 BasicObject#instance_exec [14]
-------------------------------------------------------
0.00 111.35 64 Rails::Initializable::Initializer#run [13]
[14] 91.2 0.01 111.34 64 BasicObject#instance_exec [14]
0.00 69.61 1 Object::__script__<53> {} [15]
0.00 19.25 1 Object::__script__<67> {} [38]
0.00 5.90 1 Object::__script__<61> {}
0.00 3.96 1 Object::__script__<33> {}
0.00 3.21 1 Object::__script__<12> {}
0.00 2.33 1 Object::__script__<18> {}
0.00 1.41 1 Object::__script__<60> {}
0.00 1.22 1 Object::__script__<8> {}
0.00 1.07 1 Object::__script__<75> {}
0.00 0.94 1 Object::__script__<173> {}
-------------------------------------------------------
0.01 111.34 64 BasicObject#instance_exec [14]
[15] 57.0 0.00 69.61 1 Object::__script__<53> {} [15]
0.00 67.43 1 Array#each [16]
0.00 2.18 1 ActiveSupport.run_load_hooks
-------------------------------------------------------
0.00 69.61 1 Object::__script__<53> {} [15]
[16] 55.2 0.00 67.43 1 Array#each [16]
0.00 67.43 14 Symbol::to_proc<116> {} [17]
-------------------------------------------------------
0.00 67.43 1 Array#each [16]
[17] 55.2 0.00 67.43 14 Symbol::to_proc<116> {} [17]
0.00 52.24 7 Rails::Engine.eager_load! [18]
0.00 5.47 1 ActionView.eager_load!
0.00 4.39 1 ActiveRecord.eager_load!
0.00 2.72 1 ActionController.eager_load!
0.00 2.61 4 ActiveSupport::Autoload#eager_load!
-------------------------------------------------------
0.00 67.43 14 Symbol::to_proc<116> {} [17]
[18] 42.8 0.00 52.24 7 Rails::Engine.eager_load! [18]
0.00 52.24 7 Rails::Engine#eager_load! [19]
-------------------------------------------------------
0.00 52.24 7 Rails::Engine.eager_load! [18]
[19] 42.8 0.00 52.24 7 Rails::Engine#eager_load! [19]
0.00 52.24 7 Array#each [20]
-------------------------------------------------------
0.00 52.24 7 Rails::Engine#eager_load! [19]
[20] 42.8 0.00 52.24 7 Array#each [20]
0.00 52.24 13 Rails::Engine::eager_load!<462> {} [21]
-------------------------------------------------------
0.00 52.24 7 Array#each [20]
[21] 42.8 0.00 52.24 13 Rails::Engine::eager_load!<462> {} [21]
0.00 52.00 13 Array#each [22]
0.00 0.20 13 Dir.glob
0.00 0.04 13 Array#sort
-------------------------------------------------------
0.00 52.24 13 Rails::Engine::eager_load!<462> {} [21]
[22] 42.6 0.00 52.00 13 Array#each [22]
0.00 51.99 119 Rails::Engine::eager_load!<464> {} [23]
-------------------------------------------------------
0.00 52.00 13 Array#each [22]
[23] 42.6 0.00 51.99 119 Rails::Engine::eager_load!<464> {} [23]
0.00 51.95 119 ActiveSupport::Dependencies::Loadable#require_dependency [24]
0.01 0.04 119 String#sub
-------------------------------------------------------
0.00 51.99 119 Rails::Engine::eager_load!<464> {} [23]
[24] 42.5 0.00 51.95 119 ActiveSupport::Dependencies::Loadable#require_dependency [24]
0.00 51.94 119 ActiveSupport::Dependencies#depend_on [25]
-------------------------------------------------------
0.00 51.95 119 ActiveSupport::Dependencies::Loadable#require_dependency [24]
[25] 42.5 0.00 51.94 119 ActiveSupport::Dependencies#depend_on [25]
0.01 51.61 119 ActiveSupport::Dependencies#require_or_load [26]
0.00 0.32 119 ActiveSupport::Dependencies#search_for_file
-------------------------------------------------------
0.00 51.94 119 ActiveSupport::Dependencies#depend_on [25]
[26] 42.3 0.01 51.61 119 ActiveSupport::Dependencies#require_or_load [26]
0.00 51.46 105 ActiveSupport::Dependencies::Loadable#require [27]
0.03 0.06 119 File.expand_path
0.00 0.04 210 Set#add
0.00 0.01 105 ActiveSupport::Dependencies#load?
0.00 0.00 119 String#=~
0.00 0.01 119 Set#include?
0.00 0.00 119 ActiveSupport::Dependencies#log_call
0.00 0.00 105 ActiveSupport::Dependencies#log
0.00 0.00 224 ActiveSupport::Dependencies.loaded
-------------------------------------------------------
0.01 51.61 119 ActiveSupport::Dependencies#require_or_load [26]
[27] 42.1 0.00 51.46 105 ActiveSupport::Dependencies::Loadable#require [27]
0.00 51.46 105 ActiveSupport::Dependencies::Loadable#load_dependency [28]
-------------------------------------------------------
0.00 51.46 105 ActiveSupport::Dependencies::Loadable#require [27]
[28] 42.1 0.00 51.46 105 ActiveSupport::Dependencies::Loadable#load_dependency [28]
0.00 51.45 105 ActiveSupport::Dependencies::Loadable::require<229> {} [29]
0.00 0.01 105 ActiveSupport::Dependencies#load?
-------------------------------------------------------
0.00 51.46 105 ActiveSupport::Dependencies::Loadable#load_dependency [28]
[29] 42.1 0.00 51.45 105 ActiveSupport::Dependencies::Loadable::require<229> {} [29]
0.00 51.45 105 Kernel#require [30]
-------------------------------------------------------
0.00 51.45 105 ActiveSupport::Dependencies::Loadable::require<229> {} [29]
[30] 42.1 0.00 51.45 105 Kernel#require [30]
0.01 51.44 105 Rubinius::CodeLoader.require [31]
-------------------------------------------------------
0.00 51.45 105 Kernel#require [30]
[31] 42.1 0.01 51.44 105 Rubinius::CodeLoader.require [31]
0.00 42.16 98 Rubinius.run_script [32]
0.00 9.21 105 Rubinius::CodeLoader#require
0.00 0.05 98 Rubinius::CodeLoader#add_feature
0.00 0.01 98 Rubinius::CodeLoader::RequireRequest#remove!
0.00 0.00 98 Rubinius::Hook#trigger!
0.00 0.00 105 Rubinius::CodeLoader#initialize
-------------------------------------------------------
0.01 51.44 105 Rubinius::CodeLoader.require [31]
[32] 34.5 0.00 42.16 98 Rubinius.run_script [32]
0.00 19.97 1 script:/home/production/.../app/mailers/post_office.rb [33]
0.00 2.79 1 script:/home/production/.../app/events/create_physician_event.rb
0.00 1.74 1 script:/home/production/.../app/models/user.rb
0.00 1.71 1 script:/home/production/.../app/controllers/acceptances_controller.rb
0.00 1.46 1 script:/home/production/.../app/models/acceptance.rb
0.00 1.11 1 script:/home/production/.../app/events/create_patient_event.rb
0.00 0.91 1 script:/home/production/.../app/events/create_connection_event.rb
0.00 0.69 1 script:/home/production/.../app/models/specialization.rb
0.00 0.52 1 script:/home/production/.../app/models/facility.rb
0.00 0.33 1 script:/home/production/.../app/endpoints/facility_search_endpoint.rb
-------------------------------------------------------
0.00 42.16 98 Rubinius.run_script [32]
[33] 16.3 0.00 19.97 1 script:/home/production/.../app/mailers/post_office.rb [33]
0.00 19.70 1 Autoload#resolve [34]
0.00 0.27 1 Rubinius.open_class
0.00 0.00 1 Object::__script__<2> {}
-------------------------------------------------------
0.00 19.97 1 script:/home/production/.../app/mailers/post_office.rb [33]
[34] 16.1 0.00 19.70 1 Autoload#resolve [34]
0.00 19.70 1 Rubinius::CodeLoader.require [35]
-------------------------------------------------------
0.00 19.70 1 Autoload#resolve [34]
[35] 16.1 0.00 19.70 1 Rubinius::CodeLoader.require [35]
0.00 19.57 1 Rubinius.run_script [36]
0.00 0.12 1 Rubinius::CodeLoader#require
-------------------------------------------------------
0.00 19.70 1 Rubinius::CodeLoader.require [35]
[36] 16.0 0.00 19.57 1 Rubinius.run_script [36]
0.00 19.57 1 script:/home/production/.../shared/bundle/rbx/2.1/gems/actionmailer-4.0.2/lib/action_mailer/base.rb [37]
-------------------------------------------------------
0.00 19.57 1 Rubinius.run_script [36]
[37] 16.0 0.00 19.57 1 script:/home/production/.../shared/bundle/rbx/2.1/gems/actionmailer-4.0.2/lib/action_mailer/base.rb [37]
0.00 16.25 6 ActiveSupport::Dependencies::Loadable#require
0.00 3.32 1 Object::__script__<362> {}
-------------------------------------------------------
0.01 111.34 64 BasicObject#instance_exec [14]
[38] 15.8 0.00 19.25 1 Object::__script__<67> {} [38]
0.00 19.24 1 Rails::Application::RoutesReloader#execute_if_updated [39]
0.00 0.00 1 ActionDispatch::Reloader.to_prepare
-------------------------------------------------------
0.00 19.25 1 Object::__script__<67> {} [38]
[39] 15.8 0.00 19.24 1 Rails::Application::RoutesReloader#execute_if_updated [39]
0.00 19.24 1 Rails::Application::RoutesReloader#updater [40]
-------------------------------------------------------
0.00 19.24 1 Rails::Application::RoutesReloader#execute_if_updated [39]
[40] 15.8 0.00 19.24 1 Rails::Application::RoutesReloader#updater [40]
0.00 19.24 1 ActiveSupport::FileUpdateChecker#execute [41]
-------------------------------------------------------
0.00 19.24 1 Rails::Application::RoutesReloader#updater [40]
[41] 15.8 0.00 19.24 1 ActiveSupport::FileUpdateChecker#execute [41]
0.00 19.24 1 Proc#call [42]
-------------------------------------------------------
0.00 19.24 1 ActiveSupport::FileUpdateChecker#execute [41]
[42] 15.8 0.00 19.24 1 Proc#call [42]
0.00 19.24 1 Rails::Application::RoutesReloader::updater<26> {} [43]
-------------------------------------------------------
0.00 19.24 1 Proc#call [42]
[43] 15.8 0.00 19.24 1 Rails::Application::RoutesReloader::updater<26> {} [43]
0.00 19.24 1 Rails::Application::RoutesReloader#reload! [44]
-------------------------------------------------------
0.00 19.24 1 Rails::Application::RoutesReloader::updater<26> {} [43]
[44] 15.8 0.00 19.24 1 Rails::Application::RoutesReloader#reload! [44]
0.00 18.36 1 Rails::Application::RoutesReloader#load_paths [45]
0.00 0.88 1 Rails::Application::RoutesReloader#clear!
-------------------------------------------------------
0.00 19.24 1 Rails::Application::RoutesReloader#reload! [44]
[45] 15.0 0.00 18.36 1 Rails::Application::RoutesReloader#load_paths [45]
0.00 18.36 1 Array#each
-------------------------------------------------------
67,532 methods omitted
67,577 methods called a total of 0 times
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment