ruby-prof 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +14 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -3
- data/bin/ruby-prof +4 -4
- data/bin/ruby-prof-check-trace +45 -0
- data/doc/LICENSE.html +49 -88
- data/doc/README_rdoc.html +92 -106
- data/doc/Rack.html +47 -116
- data/doc/Rack/RubyProf.html +119 -174
- data/doc/RubyProf.html +184 -216
- data/doc/RubyProf/AbstractPrinter.html +131 -162
- data/doc/RubyProf/AggregateCallInfo.html +136 -166
- data/doc/RubyProf/CallInfo.html +113 -154
- data/doc/RubyProf/CallInfoPrinter.html +56 -123
- data/doc/RubyProf/CallInfoVisitor.html +87 -216
- data/doc/RubyProf/CallStackPrinter.html +222 -215
- data/doc/RubyProf/CallTreePrinter.html +91 -142
- data/doc/RubyProf/Cmd.html +115 -157
- data/doc/RubyProf/DotPrinter.html +88 -140
- data/doc/RubyProf/FlatPrinter.html +66 -129
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +69 -132
- data/doc/RubyProf/GraphHtmlPrinter.html +115 -166
- data/doc/RubyProf/GraphPrinter.html +58 -125
- data/doc/RubyProf/MethodInfo.html +147 -172
- data/doc/RubyProf/MultiPrinter.html +104 -150
- data/doc/RubyProf/Profile.html +125 -179
- data/doc/RubyProf/ProfileTask.html +117 -157
- data/doc/RubyProf/Test.html +115 -154
- data/doc/RubyProf/Thread.html +87 -147
- data/doc/created.rid +13 -14
- data/doc/examples/flat_txt.html +51 -90
- data/doc/examples/graph_html.html +852 -0
- data/doc/examples/graph_txt.html +64 -92
- data/doc/fonts.css +167 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/index.html +75 -65
- data/doc/js/darkfish.js +0 -15
- data/doc/js/search.js +20 -5
- data/doc/js/search_index.js +1 -1
- data/doc/rdoc.css +255 -218
- data/doc/table_of_contents.html +751 -353
- data/ext/ruby_prof/extconf.rb +20 -22
- data/ext/ruby_prof/rp_measure_allocations.c +9 -5
- data/ext/ruby_prof/rp_measure_gc_runs.c +8 -0
- data/ext/ruby_prof/rp_measure_gc_time.c +5 -2
- data/ext/ruby_prof/rp_measure_wall_time.c +1 -0
- data/ext/ruby_prof/rp_method.c +0 -9
- data/ext/ruby_prof/rp_method.h +1 -6
- data/ext/ruby_prof/ruby_prof.c +32 -112
- data/ext/ruby_prof/ruby_prof.h +9 -10
- data/lib/ruby-prof.rb +2 -1
- data/lib/ruby-prof/aggregate_call_info.rb +4 -6
- data/lib/ruby-prof/call_info_visitor.rb +42 -44
- data/lib/ruby-prof/printers/graph_html_printer.rb +0 -8
- data/lib/ruby-prof/profile.rb +4 -4
- data/lib/ruby-prof/rack.rb +47 -47
- data/lib/ruby-prof/task.rb +0 -0
- data/lib/ruby-prof/thread.rb +22 -22
- data/lib/ruby-prof/version.rb +3 -0
- data/ruby-prof.gemspec +7 -11
- data/test/call_info_test.rb +78 -78
- data/test/call_info_visitor_test.rb +31 -31
- data/test/fiber_test.rb +2 -2
- data/test/measure_gc_runs_test.rb +1 -1
- data/test/measure_process_time_test.rb +7 -6
- data/test/printers_test.rb +4 -8
- data/test/recursive_test.rb +5 -9
- data/test/test_helper.rb +1 -1
- data/test/unique_call_path_test.rb +7 -29
- data/test/yarv_test.rb +55 -0
- metadata +63 -55
- data/ext/ruby_prof/version.h +0 -7
- data/lib/ruby-prof/test.rb +0 -150
- data/test/exec_test.rb +0 -14
- data/test/test_suite.rb +0 -37
data/doc/RubyProf/CallInfo.html
CHANGED
@@ -2,173 +2,107 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
5
|
+
<meta charset="UTF-8">
|
6
6
|
|
7
7
|
<title>class RubyProf::CallInfo - ruby-prof</title>
|
8
8
|
|
9
|
-
<link
|
9
|
+
<link href="../fonts.css" rel="stylesheet">
|
10
|
+
<link href="../rdoc.css" rel="stylesheet">
|
10
11
|
|
11
12
|
<script type="text/javascript">
|
12
13
|
var rdoc_rel_prefix = "../";
|
13
14
|
</script>
|
14
15
|
|
15
|
-
<script
|
16
|
-
<script
|
17
|
-
<script
|
18
|
-
<script
|
19
|
-
<script
|
20
|
-
<script
|
16
|
+
<script src="../js/jquery.js"></script>
|
17
|
+
<script src="../js/navigation.js"></script>
|
18
|
+
<script src="../js/search_index.js"></script>
|
19
|
+
<script src="../js/search.js"></script>
|
20
|
+
<script src="../js/searcher.js"></script>
|
21
|
+
<script src="../js/darkfish.js"></script>
|
21
22
|
|
22
23
|
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav
|
25
|
-
<
|
26
|
-
|
27
|
-
|
24
|
+
<body id="top" role="document" class="class">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="../index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
28
34
|
<a href="../table_of_contents.html#classes">Classes</a>
|
29
35
|
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
-
</
|
31
|
-
</
|
32
|
-
|
36
|
+
</div>
|
37
|
+
</div>
|
33
38
|
|
34
|
-
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
35
40
|
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<
|
37
|
-
<input
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
38
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
46
|
+
</div>
|
45
47
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
</ul>
|
52
|
-
</nav>
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
53
|
|
54
|
-
|
55
54
|
</div>
|
56
55
|
|
56
|
+
|
57
|
+
|
57
58
|
<div id="class-metadata">
|
58
59
|
|
59
|
-
<
|
60
|
-
<h3
|
60
|
+
<div id="parent-class-section" class="nav-section">
|
61
|
+
<h3>Parent</h3>
|
62
|
+
|
61
63
|
|
62
64
|
<p class="link">Object
|
63
65
|
|
64
|
-
</
|
66
|
+
</div>
|
65
67
|
|
66
68
|
|
69
|
+
|
67
70
|
<!-- Method Quickref -->
|
68
|
-
<
|
69
|
-
<h3
|
71
|
+
<div id="method-list-section" class="nav-section">
|
72
|
+
<h3>Methods</h3>
|
70
73
|
|
71
|
-
<ul class="link-list">
|
74
|
+
<ul class="link-list" role="directory">
|
72
75
|
|
73
|
-
<li><a href="#method-i-call_sequence">#call_sequence</a>
|
76
|
+
<li ><a href="#method-i-call_sequence">#call_sequence</a>
|
74
77
|
|
75
|
-
<li><a href="#method-i-children_time">#children_time</a>
|
78
|
+
<li ><a href="#method-i-children_time">#children_time</a>
|
76
79
|
|
77
|
-
<li><a href="#method-i-eliminate-21">#eliminate!</a>
|
80
|
+
<li ><a href="#method-i-eliminate-21">#eliminate!</a>
|
78
81
|
|
79
|
-
<li><a href="#method-i-find_call">#find_call</a>
|
82
|
+
<li ><a href="#method-i-find_call">#find_call</a>
|
80
83
|
|
81
|
-
<li><a href="#method-i-merge_call_tree">#merge_call_tree</a>
|
84
|
+
<li ><a href="#method-i-merge_call_tree">#merge_call_tree</a>
|
82
85
|
|
83
|
-
<li><a href="#method-i-root-3F">#root?</a>
|
86
|
+
<li ><a href="#method-i-root-3F">#root?</a>
|
84
87
|
|
85
|
-
<li><a href="#method-i-stack">#stack</a>
|
88
|
+
<li ><a href="#method-i-stack">#stack</a>
|
86
89
|
|
87
|
-
<li><a href="#method-i-to_s">#to_s</a>
|
90
|
+
<li ><a href="#method-i-to_s">#to_s</a>
|
88
91
|
|
89
92
|
</ul>
|
90
|
-
</
|
93
|
+
</div>
|
91
94
|
|
92
95
|
</div>
|
93
|
-
|
94
|
-
<div id="project-metadata">
|
95
|
-
<nav id="fileindex-section" class="section project-section">
|
96
|
-
<h3 class="section-header">Pages</h3>
|
97
|
-
|
98
|
-
<ul>
|
99
|
-
|
100
|
-
<li class="file"><a href="../LICENSE.html">LICENSE</a>
|
101
|
-
|
102
|
-
<li class="file"><a href="../README_rdoc.html">README</a>
|
103
|
-
|
104
|
-
<li class="file"><a href="../examples/flat_txt.html">flat</a>
|
105
|
-
|
106
|
-
<li class="file"><a href="../examples/graph_txt.html">graph</a>
|
107
|
-
|
108
|
-
</ul>
|
109
96
|
</nav>
|
110
97
|
|
111
|
-
|
112
|
-
<
|
98
|
+
<main role="main" aria-labelledby="class-RubyProf::CallInfo">
|
99
|
+
<h1 id="class-RubyProf::CallInfo" class="class">
|
100
|
+
class RubyProf::CallInfo
|
101
|
+
</h1>
|
113
102
|
|
114
|
-
<
|
115
|
-
|
116
|
-
<li><a href="../RubyProf.html">RubyProf</a>
|
117
|
-
|
118
|
-
<li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
|
119
|
-
|
120
|
-
<li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
|
121
|
-
|
122
|
-
<li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
|
123
|
-
|
124
|
-
<li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
|
125
|
-
|
126
|
-
<li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
|
127
|
-
|
128
|
-
<li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
|
129
|
-
|
130
|
-
<li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
|
131
|
-
|
132
|
-
<li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
|
133
|
-
|
134
|
-
<li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
|
135
|
-
|
136
|
-
<li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
|
137
|
-
|
138
|
-
<li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
|
139
|
-
|
140
|
-
<li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
|
141
|
-
|
142
|
-
<li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
|
143
|
-
|
144
|
-
<li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
|
145
|
-
|
146
|
-
<li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
|
147
|
-
|
148
|
-
<li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
|
149
|
-
|
150
|
-
<li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
|
151
|
-
|
152
|
-
<li><a href="../RubyProf/Test.html">RubyProf::Test</a>
|
153
|
-
|
154
|
-
<li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
|
155
|
-
|
156
|
-
<li><a href="../Rack.html">Rack</a>
|
157
|
-
|
158
|
-
<li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
|
159
|
-
|
160
|
-
</ul>
|
161
|
-
</nav>
|
162
|
-
|
163
|
-
</div>
|
164
|
-
</nav>
|
165
|
-
|
166
|
-
<div id="documentation">
|
167
|
-
<h1 class="class">class RubyProf::CallInfo</h1>
|
168
|
-
|
169
|
-
<div id="description" class="description">
|
103
|
+
<section class="description">
|
170
104
|
|
171
|
-
</
|
105
|
+
</section>
|
172
106
|
|
173
107
|
|
174
108
|
|
@@ -181,9 +115,10 @@
|
|
181
115
|
|
182
116
|
|
183
117
|
|
184
|
-
|
185
|
-
|
186
|
-
|
118
|
+
<section class="attribute-method-details" class="method-section">
|
119
|
+
<header>
|
120
|
+
<h3>Attributes</h3>
|
121
|
+
</header>
|
187
122
|
|
188
123
|
|
189
124
|
<div id="attribute-i-recursive" class="method-detail">
|
@@ -199,13 +134,14 @@
|
|
199
134
|
</div>
|
200
135
|
</div>
|
201
136
|
|
202
|
-
</section
|
137
|
+
</section>
|
203
138
|
|
204
139
|
|
205
|
-
<!-- Methods -->
|
206
140
|
|
207
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
208
|
-
|
141
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
142
|
+
<header>
|
143
|
+
<h3>Public Instance Methods</h3>
|
144
|
+
</header>
|
209
145
|
|
210
146
|
|
211
147
|
<div id="method-i-call_sequence" class="method-detail ">
|
@@ -213,7 +149,9 @@
|
|
213
149
|
<div class="method-heading">
|
214
150
|
<span class="method-name">call_sequence</span><span
|
215
151
|
class="method-args">()</span>
|
152
|
+
|
216
153
|
<span class="method-click-advice">click to toggle source</span>
|
154
|
+
|
217
155
|
</div>
|
218
156
|
|
219
157
|
|
@@ -221,6 +159,7 @@
|
|
221
159
|
|
222
160
|
|
223
161
|
|
162
|
+
|
224
163
|
|
225
164
|
|
226
165
|
<div class="method-source-code" id="call_sequence-source">
|
@@ -230,14 +169,14 @@
|
|
230
169
|
<span class="ruby-identifier">stack</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">method</span><span class="ruby-operator">|</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">full_name</span>}.<span class="ruby-identifier">join</span>(<span class="ruby-string">'->'</span>)
|
231
170
|
<span class="ruby-keyword">end</span>
|
232
171
|
<span class="ruby-keyword">end</span></pre>
|
233
|
-
</div
|
172
|
+
</div>
|
234
173
|
|
235
174
|
</div>
|
236
175
|
|
237
176
|
|
238
177
|
|
239
178
|
|
240
|
-
</div
|
179
|
+
</div>
|
241
180
|
|
242
181
|
|
243
182
|
<div id="method-i-children_time" class="method-detail ">
|
@@ -245,7 +184,9 @@
|
|
245
184
|
<div class="method-heading">
|
246
185
|
<span class="method-name">children_time</span><span
|
247
186
|
class="method-args">()</span>
|
187
|
+
|
248
188
|
<span class="method-click-advice">click to toggle source</span>
|
189
|
+
|
249
190
|
</div>
|
250
191
|
|
251
192
|
|
@@ -253,6 +194,7 @@
|
|
253
194
|
|
254
195
|
|
255
196
|
|
197
|
+
|
256
198
|
|
257
199
|
|
258
200
|
<div class="method-source-code" id="children_time-source">
|
@@ -262,14 +204,14 @@
|
|
262
204
|
<span class="ruby-identifier">sum</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">total_time</span>
|
263
205
|
<span class="ruby-keyword">end</span>
|
264
206
|
<span class="ruby-keyword">end</span></pre>
|
265
|
-
</div
|
207
|
+
</div>
|
266
208
|
|
267
209
|
</div>
|
268
210
|
|
269
211
|
|
270
212
|
|
271
213
|
|
272
|
-
</div
|
214
|
+
</div>
|
273
215
|
|
274
216
|
|
275
217
|
<div id="method-i-eliminate-21" class="method-detail ">
|
@@ -277,7 +219,9 @@
|
|
277
219
|
<div class="method-heading">
|
278
220
|
<span class="method-name">eliminate!</span><span
|
279
221
|
class="method-args">()</span>
|
222
|
+
|
280
223
|
<span class="method-click-advice">click to toggle source</span>
|
224
|
+
|
281
225
|
</div>
|
282
226
|
|
283
227
|
|
@@ -287,6 +231,7 @@
|
|
287
231
|
and attaches called methods to parent. merges call trees for methods called
|
288
232
|
from both praent end self.</p>
|
289
233
|
|
234
|
+
|
290
235
|
|
291
236
|
|
292
237
|
<div class="method-source-code" id="eliminate-21-source">
|
@@ -307,14 +252,14 @@ from both praent end self.</p>
|
|
307
252
|
<span class="ruby-keyword">end</span>
|
308
253
|
<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">children</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-keyword">self</span>)
|
309
254
|
<span class="ruby-keyword">end</span></pre>
|
310
|
-
</div
|
255
|
+
</div>
|
311
256
|
|
312
257
|
</div>
|
313
258
|
|
314
259
|
|
315
260
|
|
316
261
|
|
317
|
-
</div
|
262
|
+
</div>
|
318
263
|
|
319
264
|
|
320
265
|
<div id="method-i-find_call" class="method-detail ">
|
@@ -322,7 +267,9 @@ from both praent end self.</p>
|
|
322
267
|
<div class="method-heading">
|
323
268
|
<span class="method-name">find_call</span><span
|
324
269
|
class="method-args">(other)</span>
|
270
|
+
|
325
271
|
<span class="method-click-advice">click to toggle source</span>
|
272
|
+
|
326
273
|
</div>
|
327
274
|
|
328
275
|
|
@@ -333,6 +280,7 @@ there can't be more than one child with a given target method. in other
|
|
333
280
|
words: x.children.grep{|y|y.target==m}.size <= 1 for all method infos m
|
334
281
|
and call infos x</p>
|
335
282
|
|
283
|
+
|
336
284
|
|
337
285
|
|
338
286
|
<div class="method-source-code" id="find_call-source">
|
@@ -342,14 +290,14 @@ and call infos x</p>
|
|
342
290
|
<span class="ruby-identifier">raise</span> <span class="ruby-string">"inconsistent call tree"</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">matching</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator"><=</span> <span class="ruby-value">1</span>
|
343
291
|
<span class="ruby-identifier">matching</span>.<span class="ruby-identifier">first</span>
|
344
292
|
<span class="ruby-keyword">end</span></pre>
|
345
|
-
</div
|
293
|
+
</div>
|
346
294
|
|
347
295
|
</div>
|
348
296
|
|
349
297
|
|
350
298
|
|
351
299
|
|
352
|
-
</div
|
300
|
+
</div>
|
353
301
|
|
354
302
|
|
355
303
|
<div id="method-i-merge_call_tree" class="method-detail ">
|
@@ -357,7 +305,9 @@ and call infos x</p>
|
|
357
305
|
<div class="method-heading">
|
358
306
|
<span class="method-name">merge_call_tree</span><span
|
359
307
|
class="method-args">(other)</span>
|
308
|
+
|
360
309
|
<span class="method-click-advice">click to toggle source</span>
|
310
|
+
|
361
311
|
</div>
|
362
312
|
|
363
313
|
|
@@ -366,6 +316,7 @@ and call infos x</p>
|
|
366
316
|
<p>merge two call trees. adds self, wait, and total time of other to self and
|
367
317
|
merges children of other into children of self.</p>
|
368
318
|
|
319
|
+
|
369
320
|
|
370
321
|
|
371
322
|
<div class="method-source-code" id="merge_call_tree-source">
|
@@ -388,14 +339,14 @@ merges children of other into children of self.</p>
|
|
388
339
|
<span class="ruby-identifier">other</span>.<span class="ruby-identifier">children</span>.<span class="ruby-identifier">clear</span>
|
389
340
|
<span class="ruby-identifier">other</span>.<span class="ruby-identifier">target</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">other</span>)
|
390
341
|
<span class="ruby-keyword">end</span></pre>
|
391
|
-
</div
|
342
|
+
</div>
|
392
343
|
|
393
344
|
</div>
|
394
345
|
|
395
346
|
|
396
347
|
|
397
348
|
|
398
|
-
</div
|
349
|
+
</div>
|
399
350
|
|
400
351
|
|
401
352
|
<div id="method-i-root-3F" class="method-detail ">
|
@@ -403,7 +354,9 @@ merges children of other into children of self.</p>
|
|
403
354
|
<div class="method-heading">
|
404
355
|
<span class="method-name">root?</span><span
|
405
356
|
class="method-args">()</span>
|
357
|
+
|
406
358
|
<span class="method-click-advice">click to toggle source</span>
|
359
|
+
|
407
360
|
</div>
|
408
361
|
|
409
362
|
|
@@ -411,6 +364,7 @@ merges children of other into children of self.</p>
|
|
411
364
|
|
412
365
|
|
413
366
|
|
367
|
+
|
414
368
|
|
415
369
|
|
416
370
|
<div class="method-source-code" id="root-3F-source">
|
@@ -418,14 +372,14 @@ merges children of other into children of self.</p>
|
|
418
372
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">root?</span>
|
419
373
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">nil?</span>
|
420
374
|
<span class="ruby-keyword">end</span></pre>
|
421
|
-
</div
|
375
|
+
</div>
|
422
376
|
|
423
377
|
</div>
|
424
378
|
|
425
379
|
|
426
380
|
|
427
381
|
|
428
|
-
</div
|
382
|
+
</div>
|
429
383
|
|
430
384
|
|
431
385
|
<div id="method-i-stack" class="method-detail ">
|
@@ -433,7 +387,9 @@ merges children of other into children of self.</p>
|
|
433
387
|
<div class="method-heading">
|
434
388
|
<span class="method-name">stack</span><span
|
435
389
|
class="method-args">()</span>
|
390
|
+
|
436
391
|
<span class="method-click-advice">click to toggle source</span>
|
392
|
+
|
437
393
|
</div>
|
438
394
|
|
439
395
|
|
@@ -441,6 +397,7 @@ merges children of other into children of self.</p>
|
|
441
397
|
|
442
398
|
|
443
399
|
|
400
|
+
|
444
401
|
|
445
402
|
|
446
403
|
<div class="method-source-code" id="stack-source">
|
@@ -457,14 +414,14 @@ merges children of other into children of self.</p>
|
|
457
414
|
<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">reverse</span>
|
458
415
|
<span class="ruby-keyword">end</span>
|
459
416
|
<span class="ruby-keyword">end</span></pre>
|
460
|
-
</div
|
417
|
+
</div>
|
461
418
|
|
462
419
|
</div>
|
463
420
|
|
464
421
|
|
465
422
|
|
466
423
|
|
467
|
-
</div
|
424
|
+
</div>
|
468
425
|
|
469
426
|
|
470
427
|
<div id="method-i-to_s" class="method-detail ">
|
@@ -472,7 +429,9 @@ merges children of other into children of self.</p>
|
|
472
429
|
<div class="method-heading">
|
473
430
|
<span class="method-name">to_s</span><span
|
474
431
|
class="method-args">()</span>
|
432
|
+
|
475
433
|
<span class="method-click-advice">click to toggle source</span>
|
434
|
+
|
476
435
|
</div>
|
477
436
|
|
478
437
|
|
@@ -480,6 +439,7 @@ merges children of other into children of self.</p>
|
|
480
439
|
|
481
440
|
|
482
441
|
|
442
|
+
|
483
443
|
|
484
444
|
|
485
445
|
<div class="method-source-code" id="to_s-source">
|
@@ -487,26 +447,25 @@ merges children of other into children of self.</p>
|
|
487
447
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
488
448
|
<span class="ruby-node">"#{self.target.full_name} (c: #{self.called}, tt: #{self.total_time}, st: #{self.self_time}, ct: #{self.children_time})"</span>
|
489
449
|
<span class="ruby-keyword">end</span></pre>
|
490
|
-
</div
|
450
|
+
</div>
|
491
451
|
|
492
452
|
</div>
|
493
453
|
|
494
454
|
|
495
455
|
|
496
456
|
|
497
|
-
</div
|
457
|
+
</div>
|
498
458
|
|
499
459
|
|
500
|
-
</section
|
460
|
+
</section>
|
501
461
|
|
502
|
-
</section
|
503
|
-
|
504
|
-
</div><!-- documentation -->
|
462
|
+
</section>
|
463
|
+
</main>
|
505
464
|
|
506
465
|
|
507
|
-
<footer id="validator-badges">
|
508
|
-
<p><a href="http://validator.w3.org/check/referer">
|
509
|
-
<p>Generated by <a href="
|
510
|
-
<p>
|
466
|
+
<footer id="validator-badges" role="contentinfo">
|
467
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
468
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
469
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
511
470
|
</footer>
|
512
471
|
|