evanphx (owner)

Revisions

gist: 192158 Download_button fork
public
Public Clone URL: git://gist.github.com/192158.git
Embed All Files: show embed
percentage from runtime #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
2982 ms / 1000 req = 2982.5 usec/req
 
Total Runtime: 2.984324177s
  % cumulative self self total
 time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
 100.00 2.98 0.00 1 0.01 2984.31 #toplevel
 100.00 2.98 0.00 1 0.02 2984.29 Runner.run
  99.94 2.98 0.00 1 0.01 2982.57 Benchmark.realtime
  99.94 2.98 0.00 1 0.01 2982.55 <metaclass>#run {}
  99.94 2.98 0.00 1 0.01 2982.54 Runner#call
  99.89 2.98 0.00 1001 0.00 2.98 ActionController::Metal::ActionEndpoint#call
  99.84 2.98 0.00 1 0.63 2979.53 Integer#times
  99.82 2.98 0.00 1001 0.00 2.98 Runner#call {}
  99.52 2.97 0.00 1001 0.00 2.97 ActionController::RackConvenience#call
  98.82 2.95 0.00 1001 0.00 2.95 ActionController::Metal#call
  85.41 2.55 0.00 1001 0.00 2.55 ActionController::FilterParameterLogging::InstanceMethodsForNewBase#process
  84.29 2.52 0.00 1001 0.00 2.51 AbstractController::Base#process
  83.80 2.50 0.00 1001 0.00 2.50 ActionController::Rescue#process_action
  83.77 2.50 0.00 1001 0.00 2.50 ActionController::Flash#process_action
  83.62 2.50 0.00 1001 0.00 2.49 ActionController::RenderingController#process_action
  82.85 2.47 0.00 1001 0.00 2.47 AbstractController::Logger#process_action
  81.00 2.42 0.05 12012 0.00 0.20 ActiveSupport::Orchestra.instrument
  79.64 2.38 0.00 1001 0.00 2.37 AbstractController::Logger#process_action {}
  79.63 2.38 0.00 1001 0.00 2.37 AbstractController::Callbacks#process_action
  79.60 2.38 0.01 1001 0.01 2.37 ActionController::Base#_run_process_action_callbacks
  79.11 2.36 0.00 1001 0.00 2.36 BasePostController#_run__1693308649125225035__process_action__4090336424997001094__callbacks
  79.08 2.36 0.00 1001 0.00 2.36 AbstractController::Callbacks#process_action {}
  79.06 2.36 0.00 1001 0.00 2.36 AbstractController::Base#process_action
  79.04 2.36 0.00 1001 0.00 2.36 ActionController::Base::ImplicitRender#send_action
  78.99 2.36 0.00 1001 0.00 2.35 BasePostController#ten_partials
  78.54 2.34 0.00 1001 0.00 2.34 ActionController::Base#render
  78.16 2.33 0.01 1001 0.01 2.33 ActionController::RenderingController#render
  76.58 2.29 0.00 1001 0.00 2.28 AbstractController::RenderingController#render
  76.37 2.28 0.00 1001 0.00 2.28 AbstractController::Layouts#render_to_body
  76.18 2.27 0.00 1001 0.00 2.27 ActionController::RenderOptions#render_to_body
  75.85 2.26 0.00 1001 0.00 2.26 ActionController::RenderingController#render_to_body
  74.27 2.22 0.00 1001 0.00 2.21 AbstractController::RenderingController#render_to_body
  72.03 2.15 0.00 1001 0.00 2.15 ActionView::Partials#render_partial
  62.84 1.88 0.02 11011 0.00 0.17 ActionView::Partials::PartialRenderer#render
  62.41 1.86 0.03 11011 0.00 0.17 ActionView::Partials::PartialRenderer#render_template
  62.02 1.85 0.03 11011 0.00 0.17 ActionView::Template#render
  60.58 1.81 0.02 11011 0.00 0.16 ActionView::Template#render {}
  59.48 1.78 0.03 1001 0.03 1.77 ActionView::CompiledTemplates#_render_template_2411658227922702191_3910_1539999278187549380
  51.08 1.52 0.02 10010 0.00 0.15 ActionView::Rendering#render
  47.00 1.40 0.01 10010 0.00 0.14 ActionView::Partials#_render_partial
  15.50 0.46 0.13 50060 0.00 0.01 Hash.[]
  14.68 0.44 0.08 156215 0.00 0.00 Hash#[]
  13.86 0.41 0.21 191254 0.00 0.00 Hash#find_entry
  13.37 0.40 0.00 1001 0.00 0.40 ActionController::Metal#to_a
  13.32 0.40 0.00 1001 0.00 0.40 ActionDispatch::Response#to_a
  11.24 0.34 0.01 11011 0.00 0.03 ActionView::Template#compile
  11.16 0.33 0.00 1001 0.00 0.33 ActionDispatch::Response#handle_conditional_get!
  10.30 0.31 0.02 1001 0.02 0.31 ActionDispatch::Response#etag=
  10.25 0.31 0.01 11011 0.00 0.03 ActionView::Template#build_method_name
   9.32 0.28 0.04 1001 0.04 0.28 Digest::Class.hexdigest
   8.09 0.24 0.08 1001 0.08 0.24 Digest::Class.digest
   7.68 0.23 0.00 1001 0.00 0.23 ActionView::Base#_evaluate_assigns_and_ivars
   7.58 0.23 0.05 10010 0.00 0.02 ActionView::CompiledTemplates#_render_template_2336724986862189222_3966_381541351890795378
   7.41 0.22 0.09 52105 0.00 0.00 Hash#[]=
   5.74 0.17 0.01 11011 0.00 0.02 Hash#keys
   5.57 0.17 0.03 12015 0.00 0.01 Hash#each
   5.50 0.16 0.01 11011 0.00 0.01 Enumerable#map
   5.28 0.16 0.02 11011 0.00 0.01 ActionView::Partials::PartialRenderer#setup
   5.14 0.15 0.12 1001 0.12 0.15 Digest::Instance#digest
   4.20 0.13 0.00 4005 0.00 0.03 Rubinius::StaticScope#class_variable_get
   4.13 0.12 0.01 4005 0.00 0.03 Module#class_variable_get
   3.57 0.11 0.03 12012 0.00 0.01 ActiveSupport::Orchestra::Event#finish!
   3.50 0.10 0.09 244373 0.00 0.00 Hash#key_index
   3.45 0.10 0.09 23044 0.00 0.00 Hash::Iterator#next
   3.32 0.10 0.03 51066 0.00 0.00 Hash.allocate
   3.29 0.10 0.06 69069 0.00 0.00 String#concat
   3.27 0.10 0.01 12013 0.00 0.01 Array#hash
   3.21 0.10 0.06 52100 0.00 0.00 Hash#new_entry
   3.20 0.10 0.06 12012 0.00 0.01 Array#delete
   3.16 0.09 0.02 15018 0.00 0.01 Array#each
   3.15 0.09 0.01 1001 0.01 0.09 Array#-
   3.15 0.09 0.03 13014 0.00 0.01 Thread.detect_recursion
   3.03 0.09 0.01 4005 0.00 0.02 Module#verify_class_variable_name
   2.68 0.08 0.01 34036 0.00 0.00 Hash#key?
   2.63 0.08 0.06 137210 0.00 0.00 Hash::Entry#match?
   2.61 0.08 0.05 18039 0.00 0.00 String#[]
   2.28 0.07 0.00 2002 0.00 0.03 ActionController::Base#logger
   2.11 0.06 0.00 1001 0.00 0.06 AbstractController::RenderingController#view_context
   2.06 0.06 0.00 1001 0.00 0.06 ActionView::Base.for_controller
   2.05 0.06 0.06 51068 0.00 0.00 Hash#setup
   2.04 0.06 0.05 51066 0.00 0.00 Hash#initialize
   1.99 0.06 0.03 38050 0.00 0.00 Kernel#respond_to?
   1.95 0.06 0.00 2002 0.00 0.03 ActionView::Partials::PartialRenderer#initialize
   1.91 0.06 0.03 24026 0.00 0.00 Time.now
   1.87 0.06 0.00 1001 0.00 0.06 Array::IdentityMap#initialize
   1.78 0.05 0.00 5005 0.00 0.01 ActionView::Base#_evaluate_assigns_and_ivars {}
   1.75 0.05 0.02 12012 0.00 0.00 ActiveSupport::Orchestra::Event#initialize
   1.62 0.05 0.04 24026 0.00 0.00 Time#to_f
   1.59 0.05 0.01 11011 0.00 0.00 ActionView::Partials::PartialRenderer#collection
   1.54 0.05 0.01 14015 0.00 0.00 Rubinius.instance_variable_validate
   1.52 0.05 0.00 1001 0.00 0.05 ActionDispatch::Response#assign_default_content_type_and_charset!
   1.52 0.05 0.01 1001 0.01 0.05 Array::IdentityMap#load
   1.45 0.04 0.03 71087 0.00 0.00 Array#to_iter
   1.40 0.04 0.00 1001 0.00 0.04 Object#instance_variable_names
   1.36 0.04 0.00 1001 0.00 0.04 ActionView::Base#initialize
   1.34 0.04 0.01 11011 0.00 0.00 ActionView::Partials::PartialRenderer#find_template
   1.27 0.04 0.03 45054 0.00 0.00 String#to_s
   1.11 0.03 0.02 12013 0.00 0.00 Array#hash {}
   1.09 0.03 0.01 2002 0.01 0.02 Array#map
   1.07 0.03 0.04 466799 0.00 0.00 Rubinius::Tuple#[]
   1.06 0.03 0.02 14014 0.00 0.00 Array::IdentityMap#insert
   1.04 0.03 0.00 1001 0.00 0.03 ActionController::Base#protected_instance_variables
   0.96 0.03 0.02 24026 0.00 0.00 Time#initialize
   0.95 0.03 0.00 1001 0.00 0.03 ActionDispatch::Response.default_charset
   0.91 0.03 0.00 1001 0.00 0.03 ActionController::HashKey.get
   0.85 0.03 0.03 283398 0.00 0.00 Kernel#hash
   0.83 0.02 0.00 10010 0.00 0.00 Kernel#instance_variable_get
   0.83 0.02 0.02 7007 0.00 0.00 Array::IdentityMap#include?
   0.80 0.02 0.00 10010 0.00 0.00 Kernel#instance_variable_set
   0.77 0.02 0.01 4005 0.00 0.01 Array#initialize
   0.74 0.02 0.02 52100 0.00 0.00 Hash::Entry#initialize
   0.74 0.02 0.01 11011 0.00 0.00 Enumerable#collect {}
   0.73 0.02 0.00 1001 0.00 0.02 Rubinius.convert_to_names
   0.72 0.02 0.00 1001 0.00 0.02 ActionController::RenderingController#_process_options
   0.72 0.02 0.02 35043 0.00 0.00 Array#<<
   0.68 0.02 0.00 1001 0.00 0.02 Hash#values_at
   0.68 0.02 0.02 296437 0.00 0.00 Fixnum#&
   0.66 0.02 0.00 1001 0.00 0.02 Array#collect
   0.65 0.02 0.01 6010 0.00 0.00 Class#new
   0.63 0.02 0.02 75105 0.00 0.00 Kernel#tainted?
   0.62 0.02 0.00 1001 0.00 0.02 ActionView::Base#view_paths=
   0.59 0.02 0.00 1001 0.00 0.02 Enumerable#find_all
   0.58 0.02 0.00 1001 0.00 0.02 ActionView::Base.process_view_paths
   0.53 0.02 0.01 12012 0.00 0.00 Array#reallocate_shrink
   0.52 0.02 0.01 12023 0.00 0.00 Hash#to_iter
   0.51 0.02 0.02 26028 0.00 0.00 String#to_sym
   0.48 0.01 0.01 38050 0.00 0.00 Kernel#prim_respond_to?
   0.47 0.01 0.02 55074 0.00 0.00 Rubinius::Tuple.new
   0.46 0.01 0.02 200260 0.00 0.00 Array::Iterator#next
   0.46 0.01 0.01 10015 0.00 0.00 Rubinius::GlobalVariables#[]
   0.45 0.01 0.00 1001 0.00 0.01 ActionView::PathSet#initialize
   0.44 0.01 0.00 4004 0.00 0.00 Type.coerce_to_symbol
   0.44 0.01 0.00 3003 0.00 0.00 Thread#[]
   0.44 0.01 0.01 2002 0.01 0.01 Digest::Base#reset
   0.44 0.01 0.01 71080 0.00 0.00 String#append
   0.43 0.01 0.00 1001 0.00 0.01 ActionController::Base::ImplicitRender#method_for_action
   0.43 0.01 0.01 52076 0.00 0.00 Hash#default
   0.43 0.01 0.02 137214 0.00 0.00 Kernel#kind_of?
   0.42 0.01 0.01 12012 0.00 0.00 Array#last
   0.42 0.01 0.01 4019 0.00 0.00 String#substring
   0.42 0.01 0.01 4005 0.00 0.00 Kernel#__instance_variable_defined_eh__
   0.41 0.01 0.01 107153 0.00 0.00 Module#===
   0.40 0.01 0.00 1001 0.00 0.01 ActionDispatch::Response#initialize
   0.39 0.01 0.01 26026 0.00 0.00 Proc.__from_block__
   0.39 0.01 0.01 138225 0.00 0.00 Class#allocate
   0.36 0.01 0.01 13041 0.00 0.00 Kernel#===
   0.35 0.01 0.01 154236 0.00 0.00 Kernel#equal?
   0.35 0.01 0.00 2002 0.00 0.01 Rack::Response#[]=
   0.34 0.01 0.01 1001 0.01 0.01 Digest::Base#update
   0.33 0.01 0.01 18034 0.00 0.00 Type.coerce_to
   0.33 0.01 0.00 7007 0.00 0.00 Enumerable#find_all {}
   0.32 0.01 0.00 1001 0.00 0.01 ActionController::Metal#initialize
   0.32 0.01 0.01 1001 0.01 0.01 Digest::Base.allocate
   0.31 0.01 0.01 71087 0.00 0.00 Array::Iterator.new
   0.31 0.01 0.01 53059 0.00 0.00 Kernel#object_id
   0.30 0.01 0.00 1001 0.00 0.01 ActionController::Base#_handle_render_optio