ruby-prof 0.16.2 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +15 -0
- data/README.rdoc +36 -5
- data/bin/ruby-prof +7 -2
- data/doc/LICENSE.html +2 -1
- data/doc/README_rdoc.html +42 -8
- data/doc/Rack.html +2 -1
- data/doc/Rack/RubyProf.html +25 -18
- data/doc/Rack/RubyProf/RackProfiler.html +343 -0
- data/doc/RubyProf.html +14 -2
- data/doc/RubyProf/AbstractPrinter.html +91 -12
- data/doc/RubyProf/AggregateCallInfo.html +2 -1
- data/doc/RubyProf/CallInfo.html +18 -78
- data/doc/RubyProf/CallInfoPrinter.html +2 -1
- data/doc/RubyProf/CallInfoVisitor.html +2 -1
- data/doc/RubyProf/CallStackPrinter.html +35 -29
- data/doc/RubyProf/CallTreePrinter.html +98 -14
- data/doc/RubyProf/Cmd.html +11 -5
- data/doc/RubyProf/DeprecationWarnings.html +148 -0
- data/doc/RubyProf/DotPrinter.html +2 -1
- data/doc/RubyProf/FlatPrinter.html +2 -1
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +7 -5
- data/doc/RubyProf/GraphHtmlPrinter.html +18 -12
- data/doc/RubyProf/GraphPrinter.html +2 -1
- data/doc/RubyProf/MethodInfo.html +19 -88
- data/doc/RubyProf/MultiPrinter.html +231 -17
- data/doc/RubyProf/Profile.html +184 -39
- data/doc/RubyProf/Profile/ExcludeCommonMethods.html +411 -0
- data/doc/RubyProf/Profile/LegacyMethodElimination.html +158 -0
- data/doc/RubyProf/ProfileTask.html +2 -1
- data/doc/RubyProf/Thread.html +4 -39
- data/doc/created.rid +21 -19
- data/doc/css/fonts.css +6 -6
- data/doc/examples/flat_txt.html +2 -1
- data/doc/examples/graph_html.html +2 -1
- data/doc/examples/graph_txt.html +2 -1
- data/doc/index.html +47 -7
- data/doc/js/darkfish.js +7 -7
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +1 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +190 -80
- data/ext/ruby_prof/extconf.rb +4 -0
- data/ext/ruby_prof/rp_call_info.c +19 -1
- data/ext/ruby_prof/rp_call_info.h +8 -3
- data/ext/ruby_prof/rp_method.c +282 -57
- data/ext/ruby_prof/rp_method.h +28 -5
- data/ext/ruby_prof/rp_stack.c +69 -24
- data/ext/ruby_prof/rp_stack.h +21 -9
- data/ext/ruby_prof/rp_thread.c +4 -1
- data/ext/ruby_prof/ruby_prof.c +142 -39
- data/ext/ruby_prof/ruby_prof.h +3 -0
- data/lib/ruby-prof.rb +10 -0
- data/lib/ruby-prof/call_info.rb +0 -11
- data/lib/ruby-prof/method_info.rb +4 -12
- data/lib/ruby-prof/printers/abstract_printer.rb +19 -1
- data/lib/ruby-prof/printers/call_info_printer.rb +1 -1
- data/lib/ruby-prof/printers/call_stack_printer.rb +9 -4
- data/lib/ruby-prof/printers/call_tree_printer.rb +15 -2
- data/lib/ruby-prof/printers/flat_printer_with_line_numbers.rb +23 -4
- data/lib/ruby-prof/printers/graph_html_printer.rb +10 -5
- data/lib/ruby-prof/printers/graph_printer.rb +2 -2
- data/lib/ruby-prof/printers/multi_printer.rb +44 -18
- data/lib/ruby-prof/profile.rb +13 -42
- data/lib/ruby-prof/profile/exclude_common_methods.rb +201 -0
- data/lib/ruby-prof/profile/legacy_method_elimination.rb +49 -0
- data/lib/ruby-prof/rack.rb +130 -51
- data/lib/ruby-prof/thread.rb +0 -6
- data/lib/ruby-prof/version.rb +1 -1
- data/ruby-prof.gemspec +4 -3
- data/test/aggregate_test.rb +1 -1
- data/test/exclude_methods_test.rb +146 -0
- data/test/line_number_test.rb +12 -3
- data/test/multi_printer_test.rb +23 -2
- data/test/no_method_class_test.rb +1 -1
- data/test/printers_test.rb +21 -1
- data/test/rack_test.rb +64 -0
- data/test/recursive_test.rb +15 -15
- data/test/test_helper.rb +11 -0
- metadata +20 -13
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
11
|
+
var index_rel_prefix = "../";
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<script src="../js/jquery.js"></script>
|
@@ -484,7 +485,7 @@ allows Test::Unit options to be passed to the test suite.</p>
|
|
484
485
|
|
485
486
|
<footer id="validator-badges" role="contentinfo">
|
486
487
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
487
|
-
<p>Generated by <a href="
|
488
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
488
489
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
489
490
|
</footer>
|
490
491
|
|
data/doc/RubyProf/Thread.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
11
|
+
var index_rel_prefix = "../";
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<script src="../js/jquery.js"></script>
|
@@ -70,8 +71,6 @@
|
|
70
71
|
|
71
72
|
<ul class="link-list" role="directory">
|
72
73
|
|
73
|
-
<li ><a href="#method-i-detect_recursion">#detect_recursion</a>
|
74
|
-
|
75
74
|
<li ><a href="#method-i-top_call_infos">#top_call_infos</a>
|
76
75
|
|
77
76
|
<li ><a href="#method-i-top_methods">#top_methods</a>
|
@@ -114,40 +113,6 @@
|
|
114
113
|
</header>
|
115
114
|
|
116
115
|
|
117
|
-
<div id="method-i-detect_recursion" class="method-detail ">
|
118
|
-
|
119
|
-
<div class="method-heading">
|
120
|
-
<span class="method-name">detect_recursion</span><span
|
121
|
-
class="method-args">()</span>
|
122
|
-
|
123
|
-
<span class="method-click-advice">click to toggle source</span>
|
124
|
-
|
125
|
-
</div>
|
126
|
-
|
127
|
-
|
128
|
-
<div class="method-description">
|
129
|
-
|
130
|
-
<p>This method detect recursive calls in the call tree of a given thread It
|
131
|
-
should be called only once for each thread</p>
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
<div class="method-source-code" id="detect_recursion-source">
|
137
|
-
<pre><span class="ruby-comment"># File lib/ruby-prof/thread.rb, line 15</span>
|
138
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">detect_recursion</span>
|
139
|
-
<span class="ruby-identifier">top_call_infos</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-value">:detect_recursion</span>)
|
140
|
-
<span class="ruby-keyword">end</span></pre>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
</div>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
</div>
|
149
|
-
|
150
|
-
|
151
116
|
<div id="method-i-top_call_infos" class="method-detail ">
|
152
117
|
|
153
118
|
<div class="method-heading">
|
@@ -235,7 +200,7 @@ should be called only once for each thread</p>
|
|
235
200
|
|
236
201
|
|
237
202
|
<div class="method-source-code" id="total_time-source">
|
238
|
-
<pre><span class="ruby-comment"># File lib/ruby-prof/thread.rb, line
|
203
|
+
<pre><span class="ruby-comment"># File lib/ruby-prof/thread.rb, line 13</span>
|
239
204
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">total_time</span>
|
240
205
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">top_methods</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sum</span>, <span class="ruby-identifier">method_info</span><span class="ruby-operator">|</span>
|
241
206
|
<span class="ruby-identifier">method_info</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
|
@@ -275,7 +240,7 @@ should be called only once for each thread</p>
|
|
275
240
|
|
276
241
|
|
277
242
|
<div class="method-source-code" id="wait_time-source">
|
278
|
-
<pre><span class="ruby-comment"># File lib/ruby-prof/thread.rb, line
|
243
|
+
<pre><span class="ruby-comment"># File lib/ruby-prof/thread.rb, line 24</span>
|
279
244
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">wait_time</span>
|
280
245
|
<span class="ruby-comment"># wait_time, like self:time, is always method local</span>
|
281
246
|
<span class="ruby-comment"># thus we need to sum over all methods and call infos</span>
|
@@ -304,7 +269,7 @@ should be called only once for each thread</p>
|
|
304
269
|
|
305
270
|
<footer id="validator-badges" role="contentinfo">
|
306
271
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
307
|
-
<p>Generated by <a href="
|
272
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
308
273
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
309
274
|
</footer>
|
310
275
|
|
data/doc/created.rid
CHANGED
@@ -1,31 +1,33 @@
|
|
1
|
-
|
2
|
-
bin/ruby-prof
|
1
|
+
Sun, 17 Dec 2017 11:13:04 +0100
|
2
|
+
bin/ruby-prof Mon, 05 Jun 2017 23:04:26 +0200
|
3
3
|
bin/ruby-prof-check-trace Sun, 10 Mar 2013 10:57:14 +0100
|
4
4
|
examples/flat.txt Sun, 06 Dec 2015 14:08:42 +0100
|
5
5
|
examples/graph.txt Fri, 17 Jun 2016 19:44:14 +0200
|
6
6
|
examples/graph.html Wed, 09 Dec 2015 16:14:34 +0100
|
7
|
-
lib/ruby-prof.rb Wed,
|
7
|
+
lib/ruby-prof.rb Wed, 07 Jun 2017 10:35:33 +0200
|
8
8
|
lib/ruby-prof/aggregate_call_info.rb Tue, 08 Dec 2015 18:03:49 +0100
|
9
|
-
lib/ruby-prof/call_info.rb
|
9
|
+
lib/ruby-prof/call_info.rb Sat, 27 May 2017 13:08:27 +0200
|
10
10
|
lib/ruby-prof/call_info_visitor.rb Sun, 22 Feb 2015 16:10:12 +0100
|
11
11
|
lib/ruby-prof/compatibility.rb Sun, 13 Mar 2016 20:28:59 +0100
|
12
|
-
lib/ruby-prof/method_info.rb
|
13
|
-
lib/ruby-prof/printers/abstract_printer.rb
|
14
|
-
lib/ruby-prof/printers/call_info_printer.rb
|
15
|
-
lib/ruby-prof/printers/call_stack_printer.rb
|
16
|
-
lib/ruby-prof/printers/call_tree_printer.rb
|
12
|
+
lib/ruby-prof/method_info.rb Sat, 27 May 2017 13:08:27 +0200
|
13
|
+
lib/ruby-prof/printers/abstract_printer.rb Mon, 05 Jun 2017 13:01:38 +0200
|
14
|
+
lib/ruby-prof/printers/call_info_printer.rb Sat, 27 May 2017 13:08:27 +0200
|
15
|
+
lib/ruby-prof/printers/call_stack_printer.rb Sat, 16 Dec 2017 11:58:34 +0100
|
16
|
+
lib/ruby-prof/printers/call_tree_printer.rb Mon, 05 Jun 2017 13:02:40 +0200
|
17
17
|
lib/ruby-prof/printers/dot_printer.rb Sun, 13 Mar 2016 17:39:57 +0100
|
18
18
|
lib/ruby-prof/printers/flat_printer.rb Fri, 24 Apr 2015 08:23:15 +0200
|
19
|
-
lib/ruby-prof/printers/flat_printer_with_line_numbers.rb
|
20
|
-
lib/ruby-prof/printers/graph_html_printer.rb
|
21
|
-
lib/ruby-prof/printers/graph_printer.rb
|
22
|
-
lib/ruby-prof/printers/multi_printer.rb
|
23
|
-
lib/ruby-prof/profile.rb
|
24
|
-
lib/ruby-prof/
|
19
|
+
lib/ruby-prof/printers/flat_printer_with_line_numbers.rb Sat, 27 May 2017 14:24:39 +0200
|
20
|
+
lib/ruby-prof/printers/graph_html_printer.rb Sat, 16 Dec 2017 11:58:34 +0100
|
21
|
+
lib/ruby-prof/printers/graph_printer.rb Sat, 16 Dec 2017 11:58:34 +0100
|
22
|
+
lib/ruby-prof/printers/multi_printer.rb Mon, 05 Jun 2017 13:02:49 +0200
|
23
|
+
lib/ruby-prof/profile.rb Sat, 27 May 2017 13:54:48 +0200
|
24
|
+
lib/ruby-prof/profile/exclude_common_methods.rb Wed, 07 Jun 2017 08:32:19 +0200
|
25
|
+
lib/ruby-prof/profile/legacy_method_elimination.rb Wed, 07 Jun 2017 10:35:58 +0200
|
26
|
+
lib/ruby-prof/rack.rb Sat, 27 May 2017 14:24:39 +0200
|
25
27
|
lib/ruby-prof/task.rb Tue, 29 Jan 2013 16:43:39 +0100
|
26
|
-
lib/ruby-prof/thread.rb
|
27
|
-
lib/ruby-prof/version.rb
|
28
|
+
lib/ruby-prof/thread.rb Sat, 27 May 2017 13:08:27 +0200
|
29
|
+
lib/ruby-prof/version.rb Sun, 17 Dec 2017 11:05:06 +0100
|
28
30
|
lib/unprof.rb Tue, 29 Jan 2013 16:43:39 +0100
|
29
|
-
ext/ruby_prof/ruby_prof.c
|
30
|
-
README.rdoc
|
31
|
+
ext/ruby_prof/ruby_prof.c Sat, 16 Dec 2017 11:37:20 +0100
|
32
|
+
README.rdoc Wed, 07 Jun 2017 11:25:24 +0200
|
31
33
|
LICENSE Tue, 20 May 2014 07:16:27 +0200
|
data/doc/css/fonts.css
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
font-weight: 400;
|
18
18
|
src: local("Source Code Pro"),
|
19
19
|
local("SourceCodePro-Regular"),
|
20
|
-
url("fonts/SourceCodePro-Regular.ttf") format("truetype");
|
20
|
+
url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
|
21
21
|
}
|
22
22
|
|
23
23
|
@font-face {
|
@@ -26,7 +26,7 @@
|
|
26
26
|
font-weight: 700;
|
27
27
|
src: local("Source Code Pro Bold"),
|
28
28
|
local("SourceCodePro-Bold"),
|
29
|
-
url("fonts/SourceCodePro-Bold.ttf") format("truetype");
|
29
|
+
url("../fonts/SourceCodePro-Bold.ttf") format("truetype");
|
30
30
|
}
|
31
31
|
|
32
32
|
/*
|
@@ -46,7 +46,7 @@
|
|
46
46
|
font-weight: 300;
|
47
47
|
src: local("Lato Light"),
|
48
48
|
local("Lato-Light"),
|
49
|
-
url("fonts/Lato-Light.ttf") format("truetype");
|
49
|
+
url("../fonts/Lato-Light.ttf") format("truetype");
|
50
50
|
}
|
51
51
|
|
52
52
|
@font-face {
|
@@ -55,7 +55,7 @@
|
|
55
55
|
font-weight: 300;
|
56
56
|
src: local("Lato Light Italic"),
|
57
57
|
local("Lato-LightItalic"),
|
58
|
-
url("fonts/Lato-LightItalic.ttf") format("truetype");
|
58
|
+
url("../fonts/Lato-LightItalic.ttf") format("truetype");
|
59
59
|
}
|
60
60
|
|
61
61
|
@font-face {
|
@@ -64,7 +64,7 @@
|
|
64
64
|
font-weight: 700;
|
65
65
|
src: local("Lato Regular"),
|
66
66
|
local("Lato-Regular"),
|
67
|
-
url("fonts/Lato-Regular.ttf") format("truetype");
|
67
|
+
url("../fonts/Lato-Regular.ttf") format("truetype");
|
68
68
|
}
|
69
69
|
|
70
70
|
@font-face {
|
@@ -73,7 +73,7 @@
|
|
73
73
|
font-weight: 700;
|
74
74
|
src: local("Lato Italic"),
|
75
75
|
local("Lato-Italic"),
|
76
|
-
url("fonts/Lato-RegularItalic.ttf") format("truetype");
|
76
|
+
url("../fonts/Lato-RegularItalic.ttf") format("truetype");
|
77
77
|
}
|
78
78
|
|
79
79
|
/*
|
data/doc/examples/flat_txt.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
11
|
+
var index_rel_prefix = "../";
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<script src="../js/jquery.js"></script>
|
@@ -132,7 +133,7 @@ method on a singleton class.</p>
|
|
132
133
|
|
133
134
|
<footer id="validator-badges" role="contentinfo">
|
134
135
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
135
|
-
<p>Generated by <a href="
|
136
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
136
137
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
137
138
|
</footer>
|
138
139
|
|
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
11
|
+
var index_rel_prefix = "../";
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<script src="../js/jquery.js"></script>
|
@@ -903,7 +904,7 @@ reproduced in HTML. </p> <p>Profile Report</p></p>
|
|
903
904
|
|
904
905
|
<footer id="validator-badges" role="contentinfo">
|
905
906
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
906
|
-
<p>Generated by <a href="
|
907
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
907
908
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
908
909
|
</footer>
|
909
910
|
|
data/doc/examples/graph_txt.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "../";
|
11
|
+
var index_rel_prefix = "../";
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<script src="../js/jquery.js"></script>
|
@@ -241,7 +242,7 @@ Object#find_largest.</p>
|
|
241
242
|
|
242
243
|
<footer id="validator-badges" role="contentinfo">
|
243
244
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
244
|
-
<p>Generated by <a href="
|
245
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
245
246
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
246
247
|
</footer>
|
247
248
|
|
data/doc/index.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<script src="./js/jquery.js"></script>
|
@@ -79,6 +80,8 @@
|
|
79
80
|
|
80
81
|
<li><a href="./Rack/RubyProf.html">Rack::RubyProf</a>
|
81
82
|
|
83
|
+
<li><a href="./Rack/RubyProf/RackProfiler.html">Rack::RubyProf::RackProfiler</a>
|
84
|
+
|
82
85
|
<li><a href="./RubyProf.html">RubyProf</a>
|
83
86
|
|
84
87
|
<li><a href="./RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
|
@@ -97,6 +100,8 @@
|
|
97
100
|
|
98
101
|
<li><a href="./RubyProf/Cmd.html">RubyProf::Cmd</a>
|
99
102
|
|
103
|
+
<li><a href="./RubyProf/DeprecationWarnings.html">RubyProf::DeprecationWarnings</a>
|
104
|
+
|
100
105
|
<li><a href="./RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
|
101
106
|
|
102
107
|
<li><a href="./RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
|
@@ -113,6 +118,10 @@
|
|
113
118
|
|
114
119
|
<li><a href="./RubyProf/Profile.html">RubyProf::Profile</a>
|
115
120
|
|
121
|
+
<li><a href="./RubyProf/Profile/ExcludeCommonMethods.html">RubyProf::Profile::ExcludeCommonMethods</a>
|
122
|
+
|
123
|
+
<li><a href="./RubyProf/Profile/LegacyMethodElimination.html">RubyProf::Profile::LegacyMethodElimination</a>
|
124
|
+
|
116
125
|
<li><a href="./RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
|
117
126
|
|
118
127
|
<li><a href="./RubyProf/Thread.html">RubyProf::Thread</a>
|
@@ -192,7 +201,8 @@ via its convenience API or via its core API.</p>
|
|
192
201
|
<h3 id="label-ruby-prof+Executable">ruby-prof Executable<span><a href="#label-ruby-prof+Executable">¶</a> <a href="#top">↑</a></span></h3>
|
193
202
|
|
194
203
|
<p>The first is to use ruby-prof to run the Ruby program you want to profile.
|
195
|
-
For more information refer to the documentation of the ruby-prof command
|
204
|
+
For more information refer to the documentation of the ruby-prof command:
|
205
|
+
`$ ruby-prof -h.`</p>
|
196
206
|
|
197
207
|
<h3 id="label-ruby-prof+Convenience+API">ruby-prof Convenience API<span><a href="#label-ruby-prof+Convenience+API">¶</a> <a href="#top">↑</a></span></h3>
|
198
208
|
|
@@ -296,13 +306,13 @@ profiles.</p>
|
|
296
306
|
</dd><dt><a href="RubyProf/Profile.html#method-i-stop">RubyProf::Profile#stop</a>
|
297
307
|
<dd>
|
298
308
|
<p>Stop profiling and return self</p>
|
299
|
-
</dd><dt>RubyProf::Profile#profile
|
309
|
+
</dd><dt><a href="RubyProf/Profile.html#method-i-profile">RubyProf::Profile#profile</a>
|
300
310
|
<dd>
|
301
311
|
<p>Perform a profile run and return result. Accepts the same arguments as <a
|
302
312
|
href="RubyProf/Profile.html#method-c-new">RubyProf::Profile.new</a>.</p>
|
303
313
|
</dd></dl>
|
304
314
|
|
305
|
-
<h2 id="label-Method+Elimination">Method Elimination<span><a href="#label-Method+Elimination">¶</a> <a href="#top">↑</a></span></h2>
|
315
|
+
<h2 id="label-Method+Elimination+-28Deprecated-29">Method Elimination (Deprecated)<span><a href="#label-Method+Elimination+-28Deprecated-29">¶</a> <a href="#top">↑</a></span></h2>
|
306
316
|
|
307
317
|
<p>ruby-prof supports eliminating specific methods and threads from profiling
|
308
318
|
results. This is useful for reducing connectivity in the call graph, making
|
@@ -329,6 +339,26 @@ expressions (line separated text).</p>
|
|
329
339
|
<p>After eliminating methods the resulting profile will appear exactly as if
|
330
340
|
those methods had been inlined at their call sites.</p>
|
331
341
|
|
342
|
+
<h2 id="label-Method+Exclusion">Method Exclusion<span><a href="#label-Method+Exclusion">¶</a> <a href="#top">↑</a></span></h2>
|
343
|
+
|
344
|
+
<p>ruby-prof supports exluding methods from profiling. The effect on collected
|
345
|
+
metrics are identical to eliminating methods from the profiling result in a
|
346
|
+
prost process step. The interface is slightly different though:</p>
|
347
|
+
|
348
|
+
<pre>profile = RubyProf.new(...)
|
349
|
+
profile.exclude_methods!(Integer, :times, ...)
|
350
|
+
profile.start</pre>
|
351
|
+
|
352
|
+
<p>A convenience method is provided to exclude a large number of methods which
|
353
|
+
usually clutter up profiles:</p>
|
354
|
+
|
355
|
+
<pre class="ruby"><span class="ruby-identifier">profile</span>.<span class="ruby-identifier">exclude_common_methods!</span>
|
356
|
+
</pre>
|
357
|
+
|
358
|
+
<p>However, this is a somewhat opinionated method collection. It's usually
|
359
|
+
better to view it as an inspiration instead of using it directly (see <a
|
360
|
+
href="https://github.com/ruby-prof/ruby-prof/blob/e087b7d7ca11eecf1717d95a5c5fea1e36ea3136/lib/ruby-prof/profile/exclude_common_methods.rb">github.com/ruby-prof/ruby-prof/blob/e087b7d7ca11eecf1717d95a5c5fea1e36ea3136/lib/ruby-prof/profile/exclude_common_methods.rb</a>).</p>
|
361
|
+
|
332
362
|
<h2 id="label-Profiling+Rails">Profiling Rails<span><a href="#label-Profiling+Rails">¶</a> <a href="#top">↑</a></span></h2>
|
333
363
|
|
334
364
|
<p>To profile a Rails application it is vital to run it using production like
|
@@ -454,7 +484,7 @@ converted to an image</p>
|
|
454
484
|
<p>Uses the other printers to create several reports in one profiling run</p>
|
455
485
|
</dd></dl>
|
456
486
|
|
457
|
-
<p>
|
487
|
+
<p>Most printers are used in the following way:</p>
|
458
488
|
|
459
489
|
<pre class="ruby"><span class="ruby-identifier">result</span> = <span class="ruby-constant">RubyProf</span>.<span class="ruby-identifier">stop</span>
|
460
490
|
<span class="ruby-identifier">printer</span> = <span class="ruby-constant">RubyProf</span><span class="ruby-operator">::</span><span class="ruby-constant">GraphPrinter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">result</span>)
|
@@ -470,13 +500,16 @@ the different printers.</p>
|
|
470
500
|
<p>The other option is <code>:print_file => true</code> (default false),
|
471
501
|
which adds the filename to the output (GraphPrinter only).</p>
|
472
502
|
|
473
|
-
<p><code>MultiPrinter</code>
|
474
|
-
|
503
|
+
<p><code>MultiPrinter</code> and <code>CallTreePrinter</code>differ from the
|
504
|
+
other printers in that they require a directory path and a profile basename
|
505
|
+
for the files they produce:</p>
|
475
506
|
|
476
507
|
<pre class="ruby"><span class="ruby-identifier">printer</span> = <span class="ruby-constant">RubyProf</span><span class="ruby-operator">::</span><span class="ruby-constant">MultiPrinter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">result</span>)
|
477
508
|
<span class="ruby-identifier">printer</span>.<span class="ruby-identifier">print</span>(:<span class="ruby-identifier">path</span> =<span class="ruby-operator">></span> <span class="ruby-string">"."</span>, :<span class="ruby-identifier">profile</span> =<span class="ruby-operator">></span> <span class="ruby-string">"profile"</span>)
|
478
509
|
</pre>
|
479
510
|
|
511
|
+
<p>The values given in the example above are the defaults.</p>
|
512
|
+
|
480
513
|
<h2 id="label-Measurements">Measurements<span><a href="#label-Measurements">¶</a> <a href="#top">↑</a></span></h2>
|
481
514
|
|
482
515
|
<p>Depending on the mode and platform, ruby-prof can measure various aspects
|
@@ -593,6 +626,13 @@ profiling code varies considerably with the code being profiled. Most
|
|
593
626
|
programs will run approximately twice as slow while highly recursive
|
594
627
|
programs (like the fibonacci series test) will run three times slower.</p>
|
595
628
|
|
629
|
+
<h2 id="label-Editing+links">Editing links<span><a href="#label-Editing+links">¶</a> <a href="#top">↑</a></span></h2>
|
630
|
+
|
631
|
+
<p>Use <code>RUBY_PROF_EDITOR_URI</code> environment variable to open source
|
632
|
+
code files in your favorite text editor. For example,
|
633
|
+
<code>RUBY_PROF_EDITOR_URI=atm</code> will produce links for Atom text
|
634
|
+
editor.</p>
|
635
|
+
|
596
636
|
<h2 id="label-License">License<span><a href="#label-License">¶</a> <a href="#top">↑</a></span></h2>
|
597
637
|
|
598
638
|
<p>See <a href="LICENSE.html">LICENSE</a> for license information.</p>
|
@@ -620,7 +660,7 @@ or open a github issue.</p>
|
|
620
660
|
|
621
661
|
<footer id="validator-badges" role="contentinfo">
|
622
662
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
623
|
-
<p>Generated by <a href="
|
663
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
624
664
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
625
665
|
</footer>
|
626
666
|
|
data/doc/js/darkfish.js
CHANGED
@@ -59,7 +59,7 @@ function hookSearch() {
|
|
59
59
|
var html = '';
|
60
60
|
|
61
61
|
// TODO add relative path to <script> per-page
|
62
|
-
html += '<p class="search-match"><a href="' +
|
62
|
+
html += '<p class="search-match"><a href="' + index_rel_prefix + result.path + '">' + this.hlt(result.title);
|
63
63
|
if (result.params)
|
64
64
|
html += '<span class="params">' + result.params + '</span>';
|
65
65
|
html += '</a>';
|
@@ -121,9 +121,9 @@ function highlightClickTarget( event ) {
|
|
121
121
|
};
|
122
122
|
};
|
123
123
|
|
124
|
-
function loadAsync(path, success) {
|
124
|
+
function loadAsync(path, success, prefix) {
|
125
125
|
$.ajax({
|
126
|
-
url:
|
126
|
+
url: prefix + path,
|
127
127
|
dataType: 'script',
|
128
128
|
success: success,
|
129
129
|
cache: true
|
@@ -154,8 +154,8 @@ $(document).ready( function() {
|
|
154
154
|
});
|
155
155
|
}
|
156
156
|
|
157
|
-
loadAsync('js/navigation.js', search_success_function('navigation_loaded'));
|
158
|
-
loadAsync('js/search.js', search_success_function('search_loaded'));
|
159
|
-
loadAsync('js/search_index.js', search_success_function('search_index_loaded'));
|
160
|
-
loadAsync('js/searcher.js', search_success_function('searcher_loaded'));
|
157
|
+
loadAsync('js/navigation.js', search_success_function('navigation_loaded'), rdoc_rel_prefix);
|
158
|
+
loadAsync('js/search.js', search_success_function('search_loaded'), rdoc_rel_prefix);
|
159
|
+
loadAsync('js/search_index.js', search_success_function('search_index_loaded'), index_rel_prefix);
|
160
|
+
loadAsync('js/searcher.js', search_success_function('searcher_loaded'), rdoc_rel_prefix);
|
161
161
|
});
|
data/doc/js/search_index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var search_data = {"index":{"searchIndex":["rack","rubyprof","rubyprof","abstractprinter","aggregatecallinfo","callinfo","callinfoprinter","callinfovisitor","callstackprinter","calltreeprinter","cmd","dotprinter","flatprinter","flatprinterwithlinenumbers","graphhtmlprinter","graphprinter","methodinfo","multiprinter","profile","profiletask","thread","<=>()","aggregate_children()","aggregate_parents()","application()","arguments()","base64_image()","base_name()","call()","call_sequence()","called()","called()","children()","children()","children_time()","children_time()","children_time()","clean_output_directory()","color()","convert()","cpu_frequency()","create_link()","create_output_directory()","define()","descendent_of()","detect_recursion()","detect_recursion()","detect_recursion()","determine_event_specification_and_value_scale()","dump()","eliminate!()","eliminate!()","eliminate_methods!()","exclude_threads()","exclude_threads=()","expansion()","figure_measure_mode()","file()","file_link()","file_name_for_thread()","file_path_for_thread()","find_call()","flat_profile()","graph_link()","graph_profile()","inspect()","line()","link()","load_pre_execs()","load_pre_libs()","measure_allocations()","measure_cpu_time()","measure_gc_runs()","measure_gc_time()","measure_memory()","measure_mode()","measure_mode=()","measure_mode_string()","measure_process_time()","measure_wall_time()","merge_call_tree()","method_href()","method_href()","method_name()","min_depth()","min_percent()","name()","new()","new()","new()","new()","new()","new()","new()","new()","new()","open_asset()","option_parser()","output_directory()","parent()","parents()","parse_args()","path()","pause()","pause()","paused?()","post_process()","print()","print()","print()","print()","print()","print()","print_commands()","print_css()","print_file()","print_footer()","print_footer()","print_header()","print_header()","print_headers()","print_help()","print_java_script()","print_method()","print_methods()","print_stack()","print_thread()","print_thread()","print_threads()","print_threads()","print_title_bar()","profile()","profile()","recursive?()","remove_subsidiary_files_from_previous_profile_runs()","resume()","resume()","root?()","root?()","roots_of()","run()","run_script()","running?()","running?()","self_time()","self_time()","setup_options()","setup_options()","setup_options()","sort_method()","sort_method()","stack()","stack_profile()","start()","start()","start_script()","stop()","stop()","sum()","target()","template()","threads()","threshold()","title()","to_s()","to_s()","to_s()","top_call_infos()","top_methods()","total_time()","total_time()","total_time()","total_time()","tree_profile()","visit()","wait_time()","wait_time()","wait_time()","license","readme","flat","graph.html","graph"],"longSearchIndex":["rack","rack::rubyprof","rubyprof","rubyprof::abstractprinter","rubyprof::aggregatecallinfo","rubyprof::callinfo","rubyprof::callinfoprinter","rubyprof::callinfovisitor","rubyprof::callstackprinter","rubyprof::calltreeprinter","rubyprof::cmd","rubyprof::dotprinter","rubyprof::flatprinter","rubyprof::flatprinterwithlinenumbers","rubyprof::graphhtmlprinter","rubyprof::graphprinter","rubyprof::methodinfo","rubyprof::multiprinter","rubyprof::profile","rubyprof::profiletask","rubyprof::thread","rubyprof::methodinfo#<=>()","rubyprof::methodinfo#aggregate_children()","rubyprof::methodinfo#aggregate_parents()","rubyprof::callstackprinter#application()","rubyprof::callstackprinter#arguments()","rubyprof::callstackprinter#base64_image()","rubyprof::calltreeprinter#base_name()","rack::rubyprof#call()","rubyprof::callinfo#call_sequence()","rubyprof::aggregatecallinfo#called()","rubyprof::methodinfo#called()","rubyprof::aggregatecallinfo#children()","rubyprof::methodinfo#children()","rubyprof::aggregatecallinfo#children_time()","rubyprof::callinfo#children_time()","rubyprof::methodinfo#children_time()","rubyprof::profiletask#clean_output_directory()","rubyprof::callstackprinter#color()","rubyprof::calltreeprinter#convert()","rubyprof::cpu_frequency()","rubyprof::graphhtmlprinter#create_link()","rubyprof::profiletask#create_output_directory()","rubyprof::profiletask#define()","rubyprof::callinfo#descendent_of()","rubyprof::callinfo#detect_recursion()","rubyprof::methodinfo#detect_recursion()","rubyprof::thread#detect_recursion()","rubyprof::calltreeprinter#determine_event_specification_and_value_scale()","rubyprof::callstackprinter#dump()","rubyprof::callinfo#eliminate!()","rubyprof::methodinfo#eliminate!()","rubyprof::profile#eliminate_methods!()","rubyprof::exclude_threads()","rubyprof::exclude_threads=()","rubyprof::callstackprinter#expansion()","rubyprof::figure_measure_mode()","rubyprof::calltreeprinter#file()","rubyprof::graphhtmlprinter#file_link()","rubyprof::calltreeprinter#file_name_for_thread()","rubyprof::calltreeprinter#file_path_for_thread()","rubyprof::callinfo#find_call()","rubyprof::multiprinter#flat_profile()","rubyprof::callstackprinter#graph_link()","rubyprof::multiprinter#graph_profile()","rubyprof::callinfo#inspect()","rubyprof::aggregatecallinfo#line()","rubyprof::callstackprinter#link()","rubyprof::cmd#load_pre_execs()","rubyprof::cmd#load_pre_libs()","rubyprof::measure_allocations()","rubyprof::measure_cpu_time()","rubyprof::measure_gc_runs()","rubyprof::measure_gc_time()","rubyprof::measure_memory()","rubyprof::measure_mode()","rubyprof::measure_mode=()","rubyprof::measure_mode_string()","rubyprof::measure_process_time()","rubyprof::measure_wall_time()","rubyprof::callinfo#merge_call_tree()","rubyprof::callstackprinter#method_href()","rubyprof::graphhtmlprinter#method_href()","rubyprof::abstractprinter#method_name()","rubyprof::methodinfo#min_depth()","rubyprof::abstractprinter#min_percent()","rubyprof::callstackprinter#name()","rack::rubyprof::new()","rubyprof::abstractprinter::new()","rubyprof::aggregatecallinfo::new()","rubyprof::callinfovisitor::new()","rubyprof::cmd::new()","rubyprof::dotprinter::new()","rubyprof::multiprinter::new()","rubyprof::profile::new()","rubyprof::profiletask::new()","rubyprof::callstackprinter#open_asset()","rubyprof::cmd#option_parser()","rubyprof::profiletask#output_directory()","rubyprof::aggregatecallinfo#parent()","rubyprof::methodinfo#parents()","rubyprof::cmd#parse_args()","rubyprof::calltreeprinter#path()","rubyprof::pause()","rubyprof::profile#pause()","rubyprof::profile#paused?()","rubyprof::profile#post_process()","rubyprof::abstractprinter#print()","rubyprof::callstackprinter#print()","rubyprof::calltreeprinter#print()","rubyprof::dotprinter#print()","rubyprof::graphhtmlprinter#print()","rubyprof::multiprinter#print()","rubyprof::callstackprinter#print_commands()","rubyprof::callstackprinter#print_css()","rubyprof::abstractprinter#print_file()","rubyprof::abstractprinter#print_footer()","rubyprof::callstackprinter#print_footer()","rubyprof::abstractprinter#print_header()","rubyprof::callstackprinter#print_header()","rubyprof::calltreeprinter#print_headers()","rubyprof::callstackprinter#print_help()","rubyprof::callstackprinter#print_java_script()","rubyprof::calltreeprinter#print_method()","rubyprof::flatprinterwithlinenumbers#print_methods()","rubyprof::callstackprinter#print_stack()","rubyprof::abstractprinter#print_thread()","rubyprof::calltreeprinter#print_thread()","rubyprof::abstractprinter#print_threads()","rubyprof::calltreeprinter#print_threads()","rubyprof::callstackprinter#print_title_bar()","rubyprof::profile()","rubyprof::profile::profile()","rubyprof::methodinfo#recursive?()","rubyprof::calltreeprinter#remove_subsidiary_files_from_previous_profile_runs()","rubyprof::resume()","rubyprof::profile#resume()","rubyprof::callinfo#root?()","rubyprof::methodinfo#root?()","rubyprof::callinfo::roots_of()","rubyprof::cmd#run()","rubyprof::profiletask#run_script()","rubyprof::running?()","rubyprof::profile#running?()","rubyprof::aggregatecallinfo#self_time()","rubyprof::methodinfo#self_time()","rubyprof::abstractprinter#setup_options()","rubyprof::cmd#setup_options()","rubyprof::graphhtmlprinter#setup_options()","rubyprof::abstractprinter#sort_method()","rubyprof::flatprinter#sort_method()","rubyprof::callinfo#stack()","rubyprof::multiprinter#stack_profile()","rubyprof::start()","rubyprof::profile#start()","rubyprof::start_script()","rubyprof::stop()","rubyprof::profile#stop()","rubyprof::callstackprinter#sum()","rubyprof::aggregatecallinfo#target()","rubyprof::graphhtmlprinter#template()","rubyprof::profile#threads()","rubyprof::callstackprinter#threshold()","rubyprof::callstackprinter#title()","rubyprof::aggregatecallinfo#to_s()","rubyprof::callinfo#to_s()","rubyprof::methodinfo#to_s()","rubyprof::thread#top_call_infos()","rubyprof::thread#top_methods()","rubyprof::aggregatecallinfo#total_time()","rubyprof::callstackprinter#total_time()","rubyprof::methodinfo#total_time()","rubyprof::thread#total_time()","rubyprof::multiprinter#tree_profile()","rubyprof::callinfovisitor#visit()","rubyprof::aggregatecallinfo#wait_time()","rubyprof::methodinfo#wait_time()","rubyprof::thread#wait_time()","","","","",""],"info":[["Rack","","Rack.html","",""],["Rack::RubyProf","","Rack/RubyProf.html","",""],["RubyProf","","RubyProf.html","","<p>The call info visitor class does a depth-first traversal across a list of\nmethod infos. At each call_info …\n"],["RubyProf::AbstractPrinter","","RubyProf/AbstractPrinter.html","",""],["RubyProf::AggregateCallInfo","","RubyProf/AggregateCallInfo.html","",""],["RubyProf::CallInfo","","RubyProf/CallInfo.html","",""],["RubyProf::CallInfoPrinter","","RubyProf/CallInfoPrinter.html","","<p>Prints out the call graph based on CallInfo instances. This is mainly for\ndebugging purposes as it provides …\n"],["RubyProf::CallInfoVisitor","","RubyProf/CallInfoVisitor.html","",""],["RubyProf::CallStackPrinter","","RubyProf/CallStackPrinter.html","","<p>prints a HTML visualization of the call tree\n"],["RubyProf::CallTreePrinter","","RubyProf/CallTreePrinter.html","","<p>Generate profiling information in callgrind format for use by kcachegrind\nand similar tools.\n<p>Note: when …\n"],["RubyProf::Cmd","","RubyProf/Cmd.html","",""],["RubyProf::DotPrinter","","RubyProf/DotPrinter.html","","<p>Generates a graphviz graph in dot format. To use the dot printer:\n\n<pre>result = RubyProf.profile do\n [code ...</pre>\n"],["RubyProf::FlatPrinter","","RubyProf/FlatPrinter.html","","<p>Generates flat profile reports as text. To use the flat printer:\n\n<pre>result = RubyProf.profile do\n [code ...</pre>\n"],["RubyProf::FlatPrinterWithLineNumbers","","RubyProf/FlatPrinterWithLineNumbers.html","","<p>Generates flat profile reports as text. To use the flat printer with line\nnumbers:\n\n<pre>result = RubyProf.profile ...</pre>\n"],["RubyProf::GraphHtmlPrinter","","RubyProf/GraphHtmlPrinter.html","","<p>Generates graph profile reports as html. To use the graph html printer:\n\n<pre>result = RubyProf.profile do\n ...</pre>\n"],["RubyProf::GraphPrinter","","RubyProf/GraphPrinter.html","","<p>Generates graph profile reports as text. To use the graph printer:\n\n<pre>result = RubyProf.profile do\n [code ...</pre>\n"],["RubyProf::MethodInfo","","RubyProf/MethodInfo.html","",""],["RubyProf::MultiPrinter","","RubyProf/MultiPrinter.html","","<p>Helper class to simplify printing profiles of several types from one\nprofiling run. Currently prints …\n"],["RubyProf::Profile","","RubyProf/Profile.html","",""],["RubyProf::ProfileTask","","RubyProf/ProfileTask.html","","<p>Define a task library for profiling unit tests with ruby-prof.\n<p>All of the options provided by the Rake:TestTask …\n"],["RubyProf::Thread","","RubyProf/Thread.html","",""],["<=>","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-3C-3D-3E","(other)",""],["aggregate_children","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-aggregate_children","()",""],["aggregate_parents","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-aggregate_parents","()",""],["application","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-application","()",""],["arguments","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-arguments","()",""],["base64_image","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-base64_image","()",""],["base_name","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-base_name","()",""],["call","Rack::RubyProf","Rack/RubyProf.html#method-i-call","(env)",""],["call_sequence","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-call_sequence","()",""],["called","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-called","()",""],["called","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-called","()",""],["children","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-children","()",""],["children","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-children","()",""],["children_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-children_time","()",""],["children_time","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-children_time","()",""],["children_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-children_time","()",""],["clean_output_directory","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-clean_output_directory","()",""],["color","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-color","(p)",""],["convert","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-convert","(value)",""],["cpu_frequency","RubyProf","RubyProf.html#method-c-cpu_frequency","()","<p>Measurements\n"],["create_link","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-create_link","(thread, overall_time, method)","<p>Creates a link to a method. Note that we do not create links to methods\nwhich are under the min_perecent …\n"],["create_output_directory","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-create_output_directory","()",""],["define","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-define","()","<p>Create the tasks defined by this task lib.\n"],["descendent_of","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-descendent_of","(other)",""],["detect_recursion","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-detect_recursion","(visited_methods = Hash.new(0))",""],["detect_recursion","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-detect_recursion","()",""],["detect_recursion","RubyProf::Thread","RubyProf/Thread.html#method-i-detect_recursion","()","<p>This method detect recursive calls in the call tree of a given thread It\nshould be called only once for …\n"],["determine_event_specification_and_value_scale","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-determine_event_specification_and_value_scale","()",""],["dump","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-dump","(ci)",""],["eliminate!","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-eliminate-21","()","<p>eliminate call info from the call tree. adds self and wait time to parent\nand attaches called methods …\n"],["eliminate!","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-eliminate-21","()","<p>remove method from the call graph. should not be called directly.\n"],["eliminate_methods!","RubyProf::Profile","RubyProf/Profile.html#method-i-eliminate_methods-21","(matchers)","<p>eliminate some calls from the graph by merging the information into\ncallers. matchers can be a list of …\n"],["exclude_threads","RubyProf","RubyProf.html#method-c-exclude_threads","()","<p>Returns threads ruby-prof should exclude from profiling\n"],["exclude_threads=","RubyProf","RubyProf.html#method-c-exclude_threads-3D","(value)","<p>Specifies what threads ruby-prof should exclude from profiling\n"],["expansion","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-expansion","()",""],["figure_measure_mode","RubyProf","RubyProf.html#method-c-figure_measure_mode","()","<p>Checks if the user specified the clock mode via the RUBY_PROF_MEASURE_MODE\nenvironment variable\n"],["file","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-file","(method)",""],["file_link","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-file_link","(path, linenum)",""],["file_name_for_thread","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-file_name_for_thread","(thread)",""],["file_path_for_thread","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-file_path_for_thread","(thread)",""],["find_call","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-find_call","(other)","<p>find a specific call in list of children. returns nil if not found. note:\nthere can't be more than …\n"],["flat_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-flat_profile","()","<p>the name of the flat profile file\n"],["graph_link","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-graph_link","(call_info)",""],["graph_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-graph_profile","()","<p>the name of the graph profile file\n"],["inspect","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-inspect","()",""],["line","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-line","()",""],["link","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-link","(call_info)",""],["load_pre_execs","RubyProf::Cmd","RubyProf/Cmd.html#method-i-load_pre_execs","()",""],["load_pre_libs","RubyProf::Cmd","RubyProf/Cmd.html#method-i-load_pre_libs","()",""],["measure_allocations","RubyProf","RubyProf.html#method-c-measure_allocations","()",""],["measure_cpu_time","RubyProf","RubyProf.html#method-c-measure_cpu_time","()",""],["measure_gc_runs","RubyProf","RubyProf.html#method-c-measure_gc_runs","()",""],["measure_gc_time","RubyProf","RubyProf.html#method-c-measure_gc_time","()",""],["measure_memory","RubyProf","RubyProf.html#method-c-measure_memory","()",""],["measure_mode","RubyProf","RubyProf.html#method-c-measure_mode","()","<p>Returns what ruby-prof is measuring. Valid values include:\n<p>*RubyProf::WALL_TIME - Measure wall time using …\n"],["measure_mode=","RubyProf","RubyProf.html#method-c-measure_mode-3D","(value)","<p>Specifies what ruby-prof should measure. Valid values include:\n<p>*RubyProf::WALL_TIME - Measure wall time …\n"],["measure_mode_string","RubyProf","RubyProf.html#method-c-measure_mode_string","()",""],["measure_process_time","RubyProf","RubyProf.html#method-c-measure_process_time","()",""],["measure_wall_time","RubyProf","RubyProf.html#method-c-measure_wall_time","()",""],["merge_call_tree","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-merge_call_tree","(other)","<p>merge two call trees. adds self, wait, and total time of other to self and\nmerges children of other into …\n"],["method_href","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-method_href","(method)",""],["method_href","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-method_href","(thread, method)",""],["method_name","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-method_name","(method)",""],["min_depth","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-min_depth","()",""],["min_percent","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-min_percent","()",""],["name","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-name","(call_info)",""],["new","Rack::RubyProf","Rack/RubyProf.html#method-c-new","(app, options = {})",""],["new","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-c-new","(result)","<p>Create a new printer.\n<p>result should be the output generated from a profiling run\n"],["new","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-c-new","(call_infos, method_info)",""],["new","RubyProf::CallInfoVisitor","RubyProf/CallInfoVisitor.html#method-c-new","(call_infos)",""],["new","RubyProf::Cmd","RubyProf/Cmd.html#method-c-new","()",""],["new","RubyProf::DotPrinter","RubyProf/DotPrinter.html#method-c-new","(result)","<p>Creates the DotPrinter using a RubyProf::Proile.\n"],["new","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-c-new","(result)",""],["new","RubyProf::Profile","RubyProf/Profile.html#method-c-new","(p1 = v1, p2 = v2)","<p>Returns a new profiler. Possible options for the options hash are:\n<p>measure_mode — Measure mode. Specifies …\n"],["new","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-c-new","(name = :profile)",""],["open_asset","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-open_asset","(file)",""],["option_parser","RubyProf::Cmd","RubyProf/Cmd.html#method-i-option_parser","()",""],["output_directory","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-output_directory","()",""],["parent","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-parent","()",""],["parents","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-parents","()",""],["parse_args","RubyProf::Cmd","RubyProf/Cmd.html#method-i-parse_args","()",""],["path","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-path","()",""],["pause","RubyProf","RubyProf.html#method-c-pause","()",""],["pause","RubyProf::Profile","RubyProf/Profile.html#method-i-pause","()","<p>Pauses collecting profile data.\n"],["paused?","RubyProf::Profile","RubyProf/Profile.html#method-i-paused-3F","()","<p>Returns whether a profile is currently paused.\n"],["post_process","RubyProf::Profile","RubyProf/Profile.html#method-i-post_process","()","<p>This method gets called once profiling has been completed but before\nresults are returned to the user. …\n"],["print","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print","(output = STDOUT, options = {})","<p>Print a profiling report to the provided output.\n<p>output - Any IO object, including STDOUT or a file. …\n"],["print","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print","(output = STDOUT, options = {})","<p>Specify print options.\n<p>options - Hash table\n\n<pre>:min_percent - Number 0 to 100 that specifes the minimum\n ...</pre>\n"],["print","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print","(options = {})",""],["print","RubyProf::DotPrinter","RubyProf/DotPrinter.html#method-i-print","(output = STDOUT, options = {})","<p>Print a graph report to the provided output.\n<p>output - Any IO object, including STDOUT or a file. The default …\n"],["print","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-print","(output = STDOUT, options = {})",""],["print","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-print","(options)","<p>create profile files under options or the current directory. options is\nused as the base name for the …\n"],["print_commands","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_commands","()",""],["print_css","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_css","()",""],["print_file","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_file","()",""],["print_footer","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_footer","(thread)",""],["print_footer","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_footer","()",""],["print_header","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_header","(thread)",""],["print_header","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_header","()",""],["print_headers","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_headers","(output, thread)",""],["print_help","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_help","()",""],["print_java_script","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_java_script","()",""],["print_method","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_method","(output, method)",""],["print_methods","RubyProf::FlatPrinterWithLineNumbers","RubyProf/FlatPrinterWithLineNumbers.html#method-i-print_methods","(thread)",""],["print_stack","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_stack","(call_info, parent_time)",""],["print_thread","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_thread","(thread)",""],["print_thread","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_thread","(thread)",""],["print_threads","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_threads","()",""],["print_threads","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_threads","()",""],["print_title_bar","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_title_bar","()",""],["profile","RubyProf","RubyProf.html#method-c-profile","(options = {}, &block)","<p>Profile a block\n"],["profile","RubyProf::Profile","RubyProf/Profile.html#method-c-profile","(*args)","<p>Profiles the specified block and returns a RubyProf::Profile object.\nArguments are passed to Profile …\n"],["recursive?","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-recursive-3F","()",""],["remove_subsidiary_files_from_previous_profile_runs","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-remove_subsidiary_files_from_previous_profile_runs","()",""],["resume","RubyProf","RubyProf.html#method-c-resume","()",""],["resume","RubyProf::Profile","RubyProf/Profile.html#method-i-resume","()","<p>Resumes recording profile data.\n"],["root?","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-root-3F","()",""],["root?","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-root-3F","()",""],["roots_of","RubyProf::CallInfo","RubyProf/CallInfo.html#method-c-roots_of","(call_infos)",""],["run","RubyProf::Cmd","RubyProf/Cmd.html#method-i-run","()",""],["run_script","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-run_script","(script_path)","<p>Run script\n"],["running?","RubyProf","RubyProf.html#method-c-running-3F","()",""],["running?","RubyProf::Profile","RubyProf/Profile.html#method-i-running-3F","()","<p>Returns whether a profile is currently running.\n"],["self_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-self_time","()",""],["self_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-self_time","()",""],["setup_options","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-setup_options","(options = {})","<p>Specify print options.\n<p>options - Hash table\n\n<pre>:min_percent - Number 0 to 100 that specifes the minimum\n ...</pre>\n"],["setup_options","RubyProf::Cmd","RubyProf/Cmd.html#method-i-setup_options","()",""],["setup_options","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-setup_options","(options)",""],["sort_method","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-sort_method","()",""],["sort_method","RubyProf::FlatPrinter","RubyProf/FlatPrinter.html#method-i-sort_method","()","<p>Override for this printer to sort by self time by default\n"],["stack","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-stack","()",""],["stack_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-stack_profile","()","<p>the name of the call stack profile file\n"],["start","RubyProf","RubyProf.html#method-c-start","()",""],["start","RubyProf::Profile","RubyProf/Profile.html#method-i-start","()","<p>Starts recording profile data.\n"],["start_script","RubyProf","RubyProf.html#method-c-start_script","(script)","<p>Profiling\n"],["stop","RubyProf","RubyProf.html#method-c-stop","()",""],["stop","RubyProf::Profile","RubyProf/Profile.html#method-i-stop","()","<p>Stops collecting profile data.\n"],["sum","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-sum","(a)",""],["target","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-target","()",""],["template","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-template","()",""],["threads","RubyProf::Profile","RubyProf/Profile.html#method-i-threads","()","<p>Returns an array of RubyProf::Thread instances that were executed while the\nthe program was being run. …\n"],["threshold","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-threshold","()",""],["title","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-title","()",""],["to_s","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-to_s","()",""],["to_s","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-to_s","()",""],["to_s","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-to_s","()",""],["top_call_infos","RubyProf::Thread","RubyProf/Thread.html#method-i-top_call_infos","()",""],["top_methods","RubyProf::Thread","RubyProf/Thread.html#method-i-top_methods","()",""],["total_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-total_time","()",""],["total_time","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-total_time","(call_infos)",""],["total_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-total_time","()",""],["total_time","RubyProf::Thread","RubyProf/Thread.html#method-i-total_time","()",""],["tree_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-tree_profile","()","<p>the name of the callgrind profile file\n"],["visit","RubyProf::CallInfoVisitor","RubyProf/CallInfoVisitor.html#method-i-visit","(&block)",""],["wait_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-wait_time","()",""],["wait_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-wait_time","()",""],["wait_time","RubyProf::Thread","RubyProf/Thread.html#method-i-wait_time","()",""],["LICENSE","","LICENSE.html","","<p>Copyright (C) 2005 - 2014 Shugo Maeda <shugo@ruby-lang.org> and\nCharlie Savage <cfis@savagexi.com> …\n"],["README","","README_rdoc.html","","<p>ruby-prof\n<p><img src=\"https://travis-ci.org/ruby-prof/ruby-prof.png?branch=master\"\nalt=\"Build Status\" /> …\n"],["flat","","examples/flat_txt.html","","<p>Flat Profiles\n<p>Flat profiles show the total amount of time spent in each method. As an\nexample, here is …\n"],["graph.html","","examples/graph_html.html","","<p><!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”\n“www.w3.org/TR/html4/strict.dtd”> …\n"],["graph","","examples/graph_txt.html","","<p>Graph Profiles\n<p>Graph profiles show how long each method runs, which methods call it and\nwhich methods …\n"]]}}
|
1
|
+
var search_data = {"index":{"searchIndex":["rack","rubyprof","rackprofiler","rubyprof","abstractprinter","aggregatecallinfo","callinfo","callinfoprinter","callinfovisitor","callstackprinter","calltreeprinter","cmd","deprecationwarnings","dotprinter","flatprinter","flatprinterwithlinenumbers","graphhtmlprinter","graphprinter","methodinfo","multiprinter","profile","excludecommonmethods","legacymethodelimination","profiletask","thread","<=>()","aggregate_children()","aggregate_parents()","application()","apply!()","apply!()","arguments()","base64_image()","base_name()","call()","call_sequence()","called()","called()","children()","children()","children_time()","children_time()","children_time()","clean_output_directory()","color()","convert()","cpu_frequency()","create_link()","create_output_directory()","define()","deprecation_warning()","descendent_of()","determine_event_specification_and_value_scale()","dump()","editor_uri()","eliminate!()","eliminate!()","eliminate_methods!()","exclude_common_methods!()","exclude_method!()","exclude_methods!()","exclude_singleton_methods!()","exclude_threads()","exclude_threads=()","expansion()","figure_measure_mode()","file()","file_link()","file_name_for_thread()","file_path_for_thread()","find_call()","flat_profile()","graph_link()","graph_profile()","inspect()","line()","link()","load_pre_execs()","load_pre_libs()","max_requests_reached?()","measure_allocations()","measure_cpu_time()","measure_gc_runs()","measure_gc_time()","measure_memory()","measure_mode()","measure_mode=()","measure_mode_string()","measure_process_time()","measure_wall_time()","merge_call_tree()","method_href()","method_href()","method_name()","min_depth()","min_percent()","name()","needs_dir?()","needs_dir?()","needs_dir?()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","open_asset()","option_parser()","output_directory()","parent()","parents()","parse_args()","path()","pause()","pause()","pause()","paused?()","print()","print()","print()","print()","print()","print()","print!()","print_commands()","print_css()","print_file()","print_footer()","print_footer()","print_header()","print_header()","print_headers()","print_help()","print_java_script()","print_method()","print_methods()","print_stack()","print_thread()","print_thread()","print_threads()","print_threads()","print_title_bar()","print_to_flat()","print_to_graph()","print_to_stack()","print_to_tree()","profile()","profile()","profile()","remove_subsidiary_files_from_previous_profile_runs()","resume()","resume()","resume()","root?()","root?()","roots_of()","run()","run_script()","running?()","running?()","self_time()","self_time()","setup_options()","setup_options()","setup_options()","sort_method()","sort_method()","stack()","stack_profile()","start()","start()","start_script()","stop()","stop()","sum()","target()","template()","threads()","threshold()","title()","to_s()","to_s()","to_s()","top_call_infos()","top_methods()","total_time()","total_time()","total_time()","total_time()","tree_profile()","validate_print_params()","validate_print_params()","visit()","wait_time()","wait_time()","wait_time()","license","readme","flat","graph.html","graph"],"longSearchIndex":["rack","rack::rubyprof","rack::rubyprof::rackprofiler","rubyprof","rubyprof::abstractprinter","rubyprof::aggregatecallinfo","rubyprof::callinfo","rubyprof::callinfoprinter","rubyprof::callinfovisitor","rubyprof::callstackprinter","rubyprof::calltreeprinter","rubyprof::cmd","rubyprof::deprecationwarnings","rubyprof::dotprinter","rubyprof::flatprinter","rubyprof::flatprinterwithlinenumbers","rubyprof::graphhtmlprinter","rubyprof::graphprinter","rubyprof::methodinfo","rubyprof::multiprinter","rubyprof::profile","rubyprof::profile::excludecommonmethods","rubyprof::profile::legacymethodelimination","rubyprof::profiletask","rubyprof::thread","rubyprof::methodinfo#<=>()","rubyprof::methodinfo#aggregate_children()","rubyprof::methodinfo#aggregate_parents()","rubyprof::callstackprinter#application()","rubyprof::profile::excludecommonmethods#apply!()","rubyprof::profile::excludecommonmethods::apply!()","rubyprof::callstackprinter#arguments()","rubyprof::callstackprinter#base64_image()","rubyprof::calltreeprinter#base_name()","rack::rubyprof#call()","rubyprof::callinfo#call_sequence()","rubyprof::aggregatecallinfo#called()","rubyprof::methodinfo#called()","rubyprof::aggregatecallinfo#children()","rubyprof::methodinfo#children()","rubyprof::aggregatecallinfo#children_time()","rubyprof::callinfo#children_time()","rubyprof::methodinfo#children_time()","rubyprof::profiletask#clean_output_directory()","rubyprof::callstackprinter#color()","rubyprof::calltreeprinter#convert()","rubyprof::cpu_frequency()","rubyprof::graphhtmlprinter#create_link()","rubyprof::profiletask#create_output_directory()","rubyprof::profiletask#define()","rubyprof::deprecationwarnings#deprecation_warning()","rubyprof::callinfo#descendent_of()","rubyprof::calltreeprinter#determine_event_specification_and_value_scale()","rubyprof::callstackprinter#dump()","rubyprof::abstractprinter#editor_uri()","rubyprof::callinfo#eliminate!()","rubyprof::methodinfo#eliminate!()","rubyprof::profile::legacymethodelimination#eliminate_methods!()","rubyprof::profile#exclude_common_methods!()","rubyprof::profile#exclude_method!()","rubyprof::profile#exclude_methods!()","rubyprof::profile#exclude_singleton_methods!()","rubyprof::exclude_threads()","rubyprof::exclude_threads=()","rubyprof::callstackprinter#expansion()","rubyprof::figure_measure_mode()","rubyprof::calltreeprinter#file()","rubyprof::graphhtmlprinter#file_link()","rubyprof::calltreeprinter#file_name_for_thread()","rubyprof::calltreeprinter#file_path_for_thread()","rubyprof::callinfo#find_call()","rubyprof::multiprinter#flat_profile()","rubyprof::callstackprinter#graph_link()","rubyprof::multiprinter#graph_profile()","rubyprof::callinfo#inspect()","rubyprof::aggregatecallinfo#line()","rubyprof::callstackprinter#link()","rubyprof::cmd#load_pre_execs()","rubyprof::cmd#load_pre_libs()","rack::rubyprof::rackprofiler#max_requests_reached?()","rubyprof::measure_allocations()","rubyprof::measure_cpu_time()","rubyprof::measure_gc_runs()","rubyprof::measure_gc_time()","rubyprof::measure_memory()","rubyprof::measure_mode()","rubyprof::measure_mode=()","rubyprof::measure_mode_string()","rubyprof::measure_process_time()","rubyprof::measure_wall_time()","rubyprof::callinfo#merge_call_tree()","rubyprof::callstackprinter#method_href()","rubyprof::graphhtmlprinter#method_href()","rubyprof::abstractprinter#method_name()","rubyprof::methodinfo#min_depth()","rubyprof::abstractprinter#min_percent()","rubyprof::callstackprinter#name()","rubyprof::abstractprinter::needs_dir?()","rubyprof::calltreeprinter::needs_dir?()","rubyprof::multiprinter::needs_dir?()","rack::rubyprof::new()","rack::rubyprof::rackprofiler::new()","rubyprof::abstractprinter::new()","rubyprof::aggregatecallinfo::new()","rubyprof::callinfovisitor::new()","rubyprof::cmd::new()","rubyprof::dotprinter::new()","rubyprof::multiprinter::new()","rubyprof::profile::new()","rubyprof::profile::excludecommonmethods::new()","rubyprof::profiletask::new()","rubyprof::callstackprinter#open_asset()","rubyprof::cmd#option_parser()","rubyprof::profiletask#output_directory()","rubyprof::aggregatecallinfo#parent()","rubyprof::methodinfo#parents()","rubyprof::cmd#parse_args()","rubyprof::calltreeprinter#path()","rack::rubyprof::rackprofiler#pause()","rubyprof::pause()","rubyprof::profile#pause()","rubyprof::profile#paused?()","rubyprof::abstractprinter#print()","rubyprof::callstackprinter#print()","rubyprof::calltreeprinter#print()","rubyprof::dotprinter#print()","rubyprof::graphhtmlprinter#print()","rubyprof::multiprinter#print()","rack::rubyprof::rackprofiler#print!()","rubyprof::callstackprinter#print_commands()","rubyprof::callstackprinter#print_css()","rubyprof::abstractprinter#print_file()","rubyprof::abstractprinter#print_footer()","rubyprof::callstackprinter#print_footer()","rubyprof::abstractprinter#print_header()","rubyprof::callstackprinter#print_header()","rubyprof::calltreeprinter#print_headers()","rubyprof::callstackprinter#print_help()","rubyprof::callstackprinter#print_java_script()","rubyprof::calltreeprinter#print_method()","rubyprof::flatprinterwithlinenumbers#print_methods()","rubyprof::callstackprinter#print_stack()","rubyprof::abstractprinter#print_thread()","rubyprof::calltreeprinter#print_thread()","rubyprof::abstractprinter#print_threads()","rubyprof::calltreeprinter#print_threads()","rubyprof::callstackprinter#print_title_bar()","rubyprof::multiprinter#print_to_flat()","rubyprof::multiprinter#print_to_graph()","rubyprof::multiprinter#print_to_stack()","rubyprof::multiprinter#print_to_tree()","rubyprof::profile()","rubyprof::profile::profile()","rubyprof::profile#profile()","rubyprof::calltreeprinter#remove_subsidiary_files_from_previous_profile_runs()","rack::rubyprof::rackprofiler#resume()","rubyprof::resume()","rubyprof::profile#resume()","rubyprof::callinfo#root?()","rubyprof::methodinfo#root?()","rubyprof::callinfo::roots_of()","rubyprof::cmd#run()","rubyprof::profiletask#run_script()","rubyprof::running?()","rubyprof::profile#running?()","rubyprof::aggregatecallinfo#self_time()","rubyprof::methodinfo#self_time()","rubyprof::abstractprinter#setup_options()","rubyprof::cmd#setup_options()","rubyprof::graphhtmlprinter#setup_options()","rubyprof::abstractprinter#sort_method()","rubyprof::flatprinter#sort_method()","rubyprof::callinfo#stack()","rubyprof::multiprinter#stack_profile()","rubyprof::start()","rubyprof::profile#start()","rubyprof::start_script()","rubyprof::stop()","rubyprof::profile#stop()","rubyprof::callstackprinter#sum()","rubyprof::aggregatecallinfo#target()","rubyprof::graphhtmlprinter#template()","rubyprof::profile#threads()","rubyprof::callstackprinter#threshold()","rubyprof::callstackprinter#title()","rubyprof::aggregatecallinfo#to_s()","rubyprof::callinfo#to_s()","rubyprof::methodinfo#to_s()","rubyprof::thread#top_call_infos()","rubyprof::thread#top_methods()","rubyprof::aggregatecallinfo#total_time()","rubyprof::callstackprinter#total_time()","rubyprof::methodinfo#total_time()","rubyprof::thread#total_time()","rubyprof::multiprinter#tree_profile()","rubyprof::calltreeprinter#validate_print_params()","rubyprof::multiprinter#validate_print_params()","rubyprof::callinfovisitor#visit()","rubyprof::aggregatecallinfo#wait_time()","rubyprof::methodinfo#wait_time()","rubyprof::thread#wait_time()","","","","",""],"info":[["Rack","","Rack.html","",""],["Rack::RubyProf","","Rack/RubyProf.html","",""],["Rack::RubyProf::RackProfiler","","Rack/RubyProf/RackProfiler.html","",""],["RubyProf","","RubyProf.html","","<p>The call info visitor class does a depth-first traversal across a list of\nmethod infos. At each call_info …\n"],["RubyProf::AbstractPrinter","","RubyProf/AbstractPrinter.html","",""],["RubyProf::AggregateCallInfo","","RubyProf/AggregateCallInfo.html","",""],["RubyProf::CallInfo","","RubyProf/CallInfo.html","",""],["RubyProf::CallInfoPrinter","","RubyProf/CallInfoPrinter.html","","<p>Prints out the call graph based on CallInfo instances. This is mainly for\ndebugging purposes as it provides …\n"],["RubyProf::CallInfoVisitor","","RubyProf/CallInfoVisitor.html","",""],["RubyProf::CallStackPrinter","","RubyProf/CallStackPrinter.html","","<p>prints a HTML visualization of the call tree\n"],["RubyProf::CallTreePrinter","","RubyProf/CallTreePrinter.html","","<p>Generate profiling information in callgrind format for use by kcachegrind\nand similar tools.\n<p>Note: when …\n"],["RubyProf::Cmd","","RubyProf/Cmd.html","",""],["RubyProf::DeprecationWarnings","","RubyProf/DeprecationWarnings.html","",""],["RubyProf::DotPrinter","","RubyProf/DotPrinter.html","","<p>Generates a graphviz graph in dot format. To use the dot printer:\n\n<pre>result = RubyProf.profile do\n [code ...</pre>\n"],["RubyProf::FlatPrinter","","RubyProf/FlatPrinter.html","","<p>Generates flat profile reports as text. To use the flat printer:\n\n<pre>result = RubyProf.profile do\n [code ...</pre>\n"],["RubyProf::FlatPrinterWithLineNumbers","","RubyProf/FlatPrinterWithLineNumbers.html","","<p>Generates flat profile reports as text. To use the flat printer with line\nnumbers:\n\n<pre>result = RubyProf.profile ...</pre>\n"],["RubyProf::GraphHtmlPrinter","","RubyProf/GraphHtmlPrinter.html","","<p>Generates graph profile reports as html. To use the graph html printer:\n\n<pre>result = RubyProf.profile do\n ...</pre>\n"],["RubyProf::GraphPrinter","","RubyProf/GraphPrinter.html","","<p>Generates graph profile reports as text. To use the graph printer:\n\n<pre>result = RubyProf.profile do\n [code ...</pre>\n"],["RubyProf::MethodInfo","","RubyProf/MethodInfo.html","",""],["RubyProf::MultiPrinter","","RubyProf/MultiPrinter.html","","<p>Helper class to simplify printing profiles of several types from one\nprofiling run. Currently prints …\n"],["RubyProf::Profile","","RubyProf/Profile.html","",""],["RubyProf::Profile::ExcludeCommonMethods","","RubyProf/Profile/ExcludeCommonMethods.html","",""],["RubyProf::Profile::LegacyMethodElimination","","RubyProf/Profile/LegacyMethodElimination.html","",""],["RubyProf::ProfileTask","","RubyProf/ProfileTask.html","","<p>Define a task library for profiling unit tests with ruby-prof.\n<p>All of the options provided by the Rake:TestTask …\n"],["RubyProf::Thread","","RubyProf/Thread.html","",""],["<=>","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-3C-3D-3E","(other)",""],["aggregate_children","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-aggregate_children","()",""],["aggregate_parents","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-aggregate_parents","()",""],["application","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-application","()",""],["apply!","RubyProf::Profile::ExcludeCommonMethods","RubyProf/Profile/ExcludeCommonMethods.html#method-i-apply-21","()",""],["apply!","RubyProf::Profile::ExcludeCommonMethods","RubyProf/Profile/ExcludeCommonMethods.html#method-c-apply-21","(profile)",""],["arguments","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-arguments","()",""],["base64_image","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-base64_image","()",""],["base_name","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-base_name","()",""],["call","Rack::RubyProf","Rack/RubyProf.html#method-i-call","(env)",""],["call_sequence","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-call_sequence","()",""],["called","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-called","()",""],["called","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-called","()",""],["children","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-children","()",""],["children","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-children","()",""],["children_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-children_time","()",""],["children_time","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-children_time","()","<p>part of this class is defined in C code. it provides the following\nattributes pertaining to tree structure: …\n"],["children_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-children_time","()",""],["clean_output_directory","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-clean_output_directory","()",""],["color","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-color","(p)",""],["convert","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-convert","(value)",""],["cpu_frequency","RubyProf","RubyProf.html#method-c-cpu_frequency","()","<p>Measurements\n"],["create_link","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-create_link","(thread, overall_time, method)","<p>Creates a link to a method. Note that we do not create links to methods\nwhich are under the min_perecent …\n"],["create_output_directory","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-create_output_directory","()",""],["define","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-define","()","<p>Create the tasks defined by this task lib.\n"],["deprecation_warning","RubyProf::DeprecationWarnings","RubyProf/DeprecationWarnings.html#method-i-deprecation_warning","(feature, recommendation = nil)",""],["descendent_of","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-descendent_of","(other)",""],["determine_event_specification_and_value_scale","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-determine_event_specification_and_value_scale","()",""],["dump","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-dump","(ci)",""],["editor_uri","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-editor_uri","()",""],["eliminate!","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-eliminate-21","()","<p>eliminate call info from the call tree. adds self and wait time to parent\nand attaches called methods …\n"],["eliminate!","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-eliminate-21","()","<p>remove method from the call graph. should not be called directly.\n"],["eliminate_methods!","RubyProf::Profile::LegacyMethodElimination","RubyProf/Profile/LegacyMethodElimination.html#method-i-eliminate_methods-21","(matchers)","<p>eliminate some calls from the graph by merging the information into\ncallers. matchers can be a list of …\n"],["exclude_common_methods!","RubyProf::Profile","RubyProf/Profile.html#method-i-exclude_common_methods-21","()","<p>Hides methods that, when represented as a call graph, have extremely large\nin and out degrees and make …\n"],["exclude_method!","RubyProf::Profile","RubyProf/Profile.html#method-i-exclude_method-21","(p1, p2)",""],["exclude_methods!","RubyProf::Profile","RubyProf/Profile.html#method-i-exclude_methods-21","(mod, *method_or_methods)",""],["exclude_singleton_methods!","RubyProf::Profile","RubyProf/Profile.html#method-i-exclude_singleton_methods-21","(mod, *method_or_methods)",""],["exclude_threads","RubyProf","RubyProf.html#method-c-exclude_threads","()","<p>Returns threads ruby-prof should exclude from profiling\n"],["exclude_threads=","RubyProf","RubyProf.html#method-c-exclude_threads-3D","(value)","<p>Specifies what threads ruby-prof should exclude from profiling\n"],["expansion","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-expansion","()",""],["figure_measure_mode","RubyProf","RubyProf.html#method-c-figure_measure_mode","()","<p>Checks if the user specified the clock mode via the RUBY_PROF_MEASURE_MODE\nenvironment variable\n"],["file","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-file","(method)",""],["file_link","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-file_link","(path, linenum)",""],["file_name_for_thread","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-file_name_for_thread","(thread)",""],["file_path_for_thread","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-file_path_for_thread","(thread)",""],["find_call","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-find_call","(other)","<p>find a specific call in list of children. returns nil if not found. note:\nthere can't be more than …\n"],["flat_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-flat_profile","()","<p>the name of the flat profile file\n"],["graph_link","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-graph_link","(call_info)",""],["graph_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-graph_profile","()","<p>the name of the graph profile file\n"],["inspect","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-inspect","()",""],["line","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-line","()",""],["link","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-link","(call_info)",""],["load_pre_execs","RubyProf::Cmd","RubyProf/Cmd.html#method-i-load_pre_execs","()",""],["load_pre_libs","RubyProf::Cmd","RubyProf/Cmd.html#method-i-load_pre_libs","()",""],["max_requests_reached?","Rack::RubyProf::RackProfiler","Rack/RubyProf/RackProfiler.html#method-i-max_requests_reached-3F","()",""],["measure_allocations","RubyProf","RubyProf.html#method-c-measure_allocations","()",""],["measure_cpu_time","RubyProf","RubyProf.html#method-c-measure_cpu_time","()",""],["measure_gc_runs","RubyProf","RubyProf.html#method-c-measure_gc_runs","()",""],["measure_gc_time","RubyProf","RubyProf.html#method-c-measure_gc_time","()",""],["measure_memory","RubyProf","RubyProf.html#method-c-measure_memory","()",""],["measure_mode","RubyProf","RubyProf.html#method-c-measure_mode","()","<p>Returns what ruby-prof is measuring. Valid values include:\n<p>*RubyProf::WALL_TIME - Measure wall time using …\n"],["measure_mode=","RubyProf","RubyProf.html#method-c-measure_mode-3D","(value)","<p>Specifies what ruby-prof should measure. Valid values include:\n<p>*RubyProf::WALL_TIME - Measure wall time …\n"],["measure_mode_string","RubyProf","RubyProf.html#method-c-measure_mode_string","()",""],["measure_process_time","RubyProf","RubyProf.html#method-c-measure_process_time","()",""],["measure_wall_time","RubyProf","RubyProf.html#method-c-measure_wall_time","()",""],["merge_call_tree","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-merge_call_tree","(other)","<p>merge two call trees. adds self, wait, and total time of other to self and\nmerges children of other into …\n"],["method_href","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-method_href","(method)",""],["method_href","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-method_href","(thread, method)",""],["method_name","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-method_name","(method)",""],["min_depth","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-min_depth","()",""],["min_percent","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-min_percent","()",""],["name","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-name","(call_info)",""],["needs_dir?","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-c-needs_dir-3F","()","<p>whether this printer need a :path option pointing to a directory\n"],["needs_dir?","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-c-needs_dir-3F","()",""],["needs_dir?","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-c-needs_dir-3F","()",""],["new","Rack::RubyProf","Rack/RubyProf.html#method-c-new","(app, options = {})",""],["new","Rack::RubyProf::RackProfiler","Rack/RubyProf/RackProfiler.html#method-c-new","(options)",""],["new","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-c-new","(result)","<p>Create a new printer.\n<p>result should be the output generated from a profiling run\n"],["new","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-c-new","(call_infos, method_info)",""],["new","RubyProf::CallInfoVisitor","RubyProf/CallInfoVisitor.html#method-c-new","(call_infos)",""],["new","RubyProf::Cmd","RubyProf/Cmd.html#method-c-new","()",""],["new","RubyProf::DotPrinter","RubyProf/DotPrinter.html#method-c-new","(result)","<p>Creates the DotPrinter using a RubyProf::Proile.\n"],["new","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-c-new","(result, printers = [:stack, :graph, :tree, :flat])",""],["new","RubyProf::Profile","RubyProf/Profile.html#method-c-new","(p1 = v1, p2 = v2)","<p>Returns a new profiler. Possible options for the options hash are:\n<p>measure_mode — Measure mode. Specifies …\n"],["new","RubyProf::Profile::ExcludeCommonMethods","RubyProf/Profile/ExcludeCommonMethods.html#method-c-new","(profile)",""],["new","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-c-new","(name = :profile)",""],["open_asset","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-open_asset","(file)",""],["option_parser","RubyProf::Cmd","RubyProf/Cmd.html#method-i-option_parser","()",""],["output_directory","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-output_directory","()",""],["parent","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-parent","()",""],["parents","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-parents","()",""],["parse_args","RubyProf::Cmd","RubyProf/Cmd.html#method-i-parse_args","()",""],["path","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-path","()",""],["pause","Rack::RubyProf::RackProfiler","Rack/RubyProf/RackProfiler.html#method-i-pause","()",""],["pause","RubyProf","RubyProf.html#method-c-pause","()",""],["pause","RubyProf::Profile","RubyProf/Profile.html#method-i-pause","()","<p>Pauses collecting profile data.\n"],["paused?","RubyProf::Profile","RubyProf/Profile.html#method-i-paused-3F","()","<p>Returns whether a profile is currently paused.\n"],["print","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print","(output = STDOUT, options = {})","<p>Print a profiling report to the provided output.\n<p>output - Any IO object, including STDOUT or a file. …\n"],["print","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print","(output = STDOUT, options = {})","<p>Specify print options.\n<p>options - Hash table\n\n<pre>:min_percent - Number 0 to 100 that specifes the minimum\n ...</pre>\n"],["print","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print","(options = {})",""],["print","RubyProf::DotPrinter","RubyProf/DotPrinter.html#method-i-print","(output = STDOUT, options = {})","<p>Print a graph report to the provided output.\n<p>output - Any IO object, including STDOUT or a file. The default …\n"],["print","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-print","(output = STDOUT, options = {})",""],["print","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-print","(options)","<p>create profile files under options or the current directory. options is\nused as the base name for the …\n"],["print!","Rack::RubyProf::RackProfiler","Rack/RubyProf/RackProfiler.html#method-i-print-21","(prefix = nil)",""],["print_commands","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_commands","()",""],["print_css","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_css","()",""],["print_file","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_file","()",""],["print_footer","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_footer","(thread)",""],["print_footer","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_footer","()",""],["print_header","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_header","(thread)",""],["print_header","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_header","()",""],["print_headers","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_headers","(output, thread)",""],["print_help","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_help","()",""],["print_java_script","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_java_script","()",""],["print_method","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_method","(output, method)",""],["print_methods","RubyProf::FlatPrinterWithLineNumbers","RubyProf/FlatPrinterWithLineNumbers.html#method-i-print_methods","(thread)",""],["print_stack","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_stack","(call_info, parent_time)",""],["print_thread","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_thread","(thread)",""],["print_thread","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_thread","(thread)",""],["print_threads","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-print_threads","()",""],["print_threads","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print_threads","()",""],["print_title_bar","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_title_bar","()",""],["print_to_flat","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-print_to_flat","(options)",""],["print_to_graph","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-print_to_graph","(options)",""],["print_to_stack","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-print_to_stack","(options)",""],["print_to_tree","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-print_to_tree","(options)",""],["profile","RubyProf","RubyProf.html#method-c-profile","(options = {}, &block)","<p>Profile a block\n"],["profile","RubyProf::Profile","RubyProf/Profile.html#method-c-profile","(*args)","<p>Profiles the specified block and returns a RubyProf::Profile object.\nArguments are passed to Profile …\n"],["profile","RubyProf::Profile","RubyProf/Profile.html#method-i-profile","()","<p>Profiles the specified block and returns a RubyProf::Result object.\n"],["remove_subsidiary_files_from_previous_profile_runs","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-remove_subsidiary_files_from_previous_profile_runs","()",""],["resume","Rack::RubyProf::RackProfiler","Rack/RubyProf/RackProfiler.html#method-i-resume","()",""],["resume","RubyProf","RubyProf.html#method-c-resume","()",""],["resume","RubyProf::Profile","RubyProf/Profile.html#method-i-resume","()","<p>Resumes recording profile data.\n"],["root?","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-root-3F","()",""],["root?","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-root-3F","()",""],["roots_of","RubyProf::CallInfo","RubyProf/CallInfo.html#method-c-roots_of","(call_infos)",""],["run","RubyProf::Cmd","RubyProf/Cmd.html#method-i-run","()",""],["run_script","RubyProf::ProfileTask","RubyProf/ProfileTask.html#method-i-run_script","(script_path)","<p>Run script\n"],["running?","RubyProf","RubyProf.html#method-c-running-3F","()",""],["running?","RubyProf::Profile","RubyProf/Profile.html#method-i-running-3F","()","<p>Returns whether a profile is currently running.\n"],["self_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-self_time","()",""],["self_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-self_time","()",""],["setup_options","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-setup_options","(options = {})","<p>Specify print options.\n<p>options - Hash table\n\n<pre>:min_percent - Number 0 to 100 that specifes the minimum\n ...</pre>\n"],["setup_options","RubyProf::Cmd","RubyProf/Cmd.html#method-i-setup_options","()",""],["setup_options","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-setup_options","(options)",""],["sort_method","RubyProf::AbstractPrinter","RubyProf/AbstractPrinter.html#method-i-sort_method","()",""],["sort_method","RubyProf::FlatPrinter","RubyProf/FlatPrinter.html#method-i-sort_method","()","<p>Override for this printer to sort by self time by default\n"],["stack","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-stack","()",""],["stack_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-stack_profile","()","<p>the name of the call stack profile file\n"],["start","RubyProf","RubyProf.html#method-c-start","()",""],["start","RubyProf::Profile","RubyProf/Profile.html#method-i-start","()","<p>Starts recording profile data.\n"],["start_script","RubyProf","RubyProf.html#method-c-start_script","(script)","<p>Profiling\n"],["stop","RubyProf","RubyProf.html#method-c-stop","()",""],["stop","RubyProf::Profile","RubyProf/Profile.html#method-i-stop","()","<p>Stops collecting profile data.\n"],["sum","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-sum","(a)",""],["target","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-target","()",""],["template","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-template","()",""],["threads","RubyProf::Profile","RubyProf/Profile.html#method-i-threads","()","<p>Returns an array of RubyProf::Thread instances that were executed while the\nthe program was being run. …\n"],["threshold","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-threshold","()",""],["title","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-title","()",""],["to_s","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-to_s","()",""],["to_s","RubyProf::CallInfo","RubyProf/CallInfo.html#method-i-to_s","()",""],["to_s","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-to_s","()",""],["top_call_infos","RubyProf::Thread","RubyProf/Thread.html#method-i-top_call_infos","()",""],["top_methods","RubyProf::Thread","RubyProf/Thread.html#method-i-top_methods","()",""],["total_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-total_time","()",""],["total_time","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-total_time","(call_infos)",""],["total_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-total_time","()",""],["total_time","RubyProf::Thread","RubyProf/Thread.html#method-i-total_time","()",""],["tree_profile","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-tree_profile","()","<p>the name of the callgrind profile file\n"],["validate_print_params","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-validate_print_params","(options)",""],["validate_print_params","RubyProf::MultiPrinter","RubyProf/MultiPrinter.html#method-i-validate_print_params","(options)",""],["visit","RubyProf::CallInfoVisitor","RubyProf/CallInfoVisitor.html#method-i-visit","(&block)",""],["wait_time","RubyProf::AggregateCallInfo","RubyProf/AggregateCallInfo.html#method-i-wait_time","()",""],["wait_time","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-wait_time","()",""],["wait_time","RubyProf::Thread","RubyProf/Thread.html#method-i-wait_time","()",""],["LICENSE","","LICENSE.html","","<p>Copyright (C) 2005 - 2014 Shugo Maeda <shugo@ruby-lang.org> and\nCharlie Savage <cfis@savagexi.com> …\n"],["README","","README_rdoc.html","","<p>ruby-prof\n<p><img src=\"https://travis-ci.org/ruby-prof/ruby-prof.png?branch=master\"\nalt=\"Build Status\" /> …\n"],["flat","","examples/flat_txt.html","","<p>Flat Profiles\n<p>Flat profiles show the total amount of time spent in each method. As an\nexample, here is …\n"],["graph.html","","examples/graph_html.html","","<p><!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”\n“www.w3.org/TR/html4/strict.dtd”> …\n"],["graph","","examples/graph_txt.html","","<p>Graph Profiles\n<p>Graph profiles show how long each method runs, which methods call it and\nwhich methods …\n"]]}}
|
data/doc/js/search_index.js.gz
CHANGED
Binary file
|
data/doc/js/searcher.js
CHANGED
data/doc/js/searcher.js.gz
CHANGED
Binary file
|
data/doc/table_of_contents.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
11
12
|
</script>
|
12
13
|
|
13
14
|
<script src="./js/jquery.js"></script>
|
@@ -39,7 +40,8 @@
|
|
39
40
|
<li><a href="README_rdoc.html#label-ruby-prof+Executable">ruby-prof Executable</a>
|
40
41
|
<li><a href="README_rdoc.html#label-ruby-prof+Convenience+API">ruby-prof Convenience API</a>
|
41
42
|
<li><a href="README_rdoc.html#label-Profiling+Selected+Threads+-28Core+API-29">Profiling Selected Threads (Core API)</a>
|
42
|
-
<li><a href="README_rdoc.html#label-Method+Elimination">Method Elimination</a>
|
43
|
+
<li><a href="README_rdoc.html#label-Method+Elimination+-28Deprecated-29">Method Elimination (Deprecated)</a>
|
44
|
+
<li><a href="README_rdoc.html#label-Method+Exclusion">Method Exclusion</a>
|
43
45
|
<li><a href="README_rdoc.html#label-Profiling+Rails">Profiling Rails</a>
|
44
46
|
<li><a href="README_rdoc.html#label-Reports">Reports</a>
|
45
47
|
<li><a href="README_rdoc.html#label-Printers">Printers</a>
|
@@ -48,6 +50,7 @@
|
|
48
50
|
<li><a href="README_rdoc.html#label-Measure+modes">Measure modes</a>
|
49
51
|
<li><a href="README_rdoc.html#label-Multi-threaded+Applications">Multi-threaded Applications</a>
|
50
52
|
<li><a href="README_rdoc.html#label-Performance">Performance</a>
|
53
|
+
<li><a href="README_rdoc.html#label-Editing+links">Editing links</a>
|
51
54
|
<li><a href="README_rdoc.html#label-License">License</a>
|
52
55
|
<li><a href="README_rdoc.html#label-API+Documentation">API Documentation</a>
|
53
56
|
<li><a href="README_rdoc.html#label-Development">Development</a>
|
@@ -84,6 +87,9 @@
|
|
84
87
|
<li class="class">
|
85
88
|
<a href="Rack/RubyProf.html">Rack::RubyProf</a>
|
86
89
|
</li>
|
90
|
+
<li class="class">
|
91
|
+
<a href="Rack/RubyProf/RackProfiler.html">Rack::RubyProf::RackProfiler</a>
|
92
|
+
</li>
|
87
93
|
<li class="module">
|
88
94
|
<a href="RubyProf.html">RubyProf</a>
|
89
95
|
</li>
|
@@ -111,6 +117,9 @@
|
|
111
117
|
<li class="class">
|
112
118
|
<a href="RubyProf/Cmd.html">RubyProf::Cmd</a>
|
113
119
|
</li>
|
120
|
+
<li class="module">
|
121
|
+
<a href="RubyProf/DeprecationWarnings.html">RubyProf::DeprecationWarnings</a>
|
122
|
+
</li>
|
114
123
|
<li class="class">
|
115
124
|
<a href="RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
|
116
125
|
</li>
|
@@ -135,6 +144,12 @@
|
|
135
144
|
<li class="class">
|
136
145
|
<a href="RubyProf/Profile.html">RubyProf::Profile</a>
|
137
146
|
</li>
|
147
|
+
<li class="class">
|
148
|
+
<a href="RubyProf/Profile/ExcludeCommonMethods.html">RubyProf::Profile::ExcludeCommonMethods</a>
|
149
|
+
</li>
|
150
|
+
<li class="module">
|
151
|
+
<a href="RubyProf/Profile/LegacyMethodElimination.html">RubyProf::Profile::LegacyMethodElimination</a>
|
152
|
+
</li>
|
138
153
|
<li class="class">
|
139
154
|
<a href="RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
|
140
155
|
</li>
|
@@ -146,6 +161,11 @@
|
|
146
161
|
<h2 id="methods">Methods</h2>
|
147
162
|
<ul>
|
148
163
|
|
164
|
+
<li class="method">
|
165
|
+
<a href="RubyProf/Profile/ExcludeCommonMethods.html#method-c-apply-21">::apply!</a>
|
166
|
+
—
|
167
|
+
<span class="container">RubyProf::Profile::ExcludeCommonMethods</span>
|
168
|
+
|
149
169
|
<li class="method">
|
150
170
|
<a href="RubyProf.html#method-c-cpu_frequency">::cpu_frequency</a>
|
151
171
|
—
|
@@ -217,14 +237,29 @@
|
|
217
237
|
<span class="container">RubyProf</span>
|
218
238
|
|
219
239
|
<li class="method">
|
220
|
-
<a href="RubyProf/
|
240
|
+
<a href="RubyProf/MultiPrinter.html#method-c-needs_dir-3F">::needs_dir?</a>
|
221
241
|
—
|
222
|
-
<span class="container">RubyProf::
|
242
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
223
243
|
|
224
244
|
<li class="method">
|
225
|
-
<a href="RubyProf/
|
245
|
+
<a href="RubyProf/AbstractPrinter.html#method-c-needs_dir-3F">::needs_dir?</a>
|
226
246
|
—
|
227
|
-
<span class="container">RubyProf::
|
247
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
248
|
+
|
249
|
+
<li class="method">
|
250
|
+
<a href="RubyProf/CallTreePrinter.html#method-c-needs_dir-3F">::needs_dir?</a>
|
251
|
+
—
|
252
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
253
|
+
|
254
|
+
<li class="method">
|
255
|
+
<a href="RubyProf/ProfileTask.html#method-c-new">::new</a>
|
256
|
+
—
|
257
|
+
<span class="container">RubyProf::ProfileTask</span>
|
258
|
+
|
259
|
+
<li class="method">
|
260
|
+
<a href="RubyProf/Cmd.html#method-c-new">::new</a>
|
261
|
+
—
|
262
|
+
<span class="container">RubyProf::Cmd</span>
|
228
263
|
|
229
264
|
<li class="method">
|
230
265
|
<a href="RubyProf/AbstractPrinter.html#method-c-new">::new</a>
|
@@ -232,19 +267,19 @@
|
|
232
267
|
<span class="container">RubyProf::AbstractPrinter</span>
|
233
268
|
|
234
269
|
<li class="method">
|
235
|
-
<a href="RubyProf/
|
270
|
+
<a href="RubyProf/Profile.html#method-c-new">::new</a>
|
236
271
|
—
|
237
|
-
<span class="container">RubyProf::
|
272
|
+
<span class="container">RubyProf::Profile</span>
|
238
273
|
|
239
274
|
<li class="method">
|
240
|
-
<a href="RubyProf/
|
275
|
+
<a href="RubyProf/Profile/ExcludeCommonMethods.html#method-c-new">::new</a>
|
241
276
|
—
|
242
|
-
<span class="container">RubyProf::
|
277
|
+
<span class="container">RubyProf::Profile::ExcludeCommonMethods</span>
|
243
278
|
|
244
279
|
<li class="method">
|
245
|
-
<a href="RubyProf/
|
280
|
+
<a href="RubyProf/AggregateCallInfo.html#method-c-new">::new</a>
|
246
281
|
—
|
247
|
-
<span class="container">RubyProf::
|
282
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
248
283
|
|
249
284
|
<li class="method">
|
250
285
|
<a href="RubyProf/DotPrinter.html#method-c-new">::new</a>
|
@@ -256,11 +291,21 @@
|
|
256
291
|
—
|
257
292
|
<span class="container">RubyProf::MultiPrinter</span>
|
258
293
|
|
294
|
+
<li class="method">
|
295
|
+
<a href="RubyProf/CallInfoVisitor.html#method-c-new">::new</a>
|
296
|
+
—
|
297
|
+
<span class="container">RubyProf::CallInfoVisitor</span>
|
298
|
+
|
259
299
|
<li class="method">
|
260
300
|
<a href="Rack/RubyProf.html#method-c-new">::new</a>
|
261
301
|
—
|
262
302
|
<span class="container">Rack::RubyProf</span>
|
263
303
|
|
304
|
+
<li class="method">
|
305
|
+
<a href="Rack/RubyProf/RackProfiler.html#method-c-new">::new</a>
|
306
|
+
—
|
307
|
+
<span class="container">Rack::RubyProf::RackProfiler</span>
|
308
|
+
|
264
309
|
<li class="method">
|
265
310
|
<a href="RubyProf.html#method-c-pause">::pause</a>
|
266
311
|
—
|
@@ -326,6 +371,11 @@
|
|
326
371
|
—
|
327
372
|
<span class="container">RubyProf::CallStackPrinter</span>
|
328
373
|
|
374
|
+
<li class="method">
|
375
|
+
<a href="RubyProf/Profile/ExcludeCommonMethods.html#method-i-apply-21">#apply!</a>
|
376
|
+
—
|
377
|
+
<span class="container">RubyProf::Profile::ExcludeCommonMethods</span>
|
378
|
+
|
329
379
|
<li class="method">
|
330
380
|
<a href="RubyProf/CallStackPrinter.html#method-i-arguments">#arguments</a>
|
331
381
|
—
|
@@ -362,14 +412,14 @@
|
|
362
412
|
<span class="container">RubyProf::MethodInfo</span>
|
363
413
|
|
364
414
|
<li class="method">
|
365
|
-
<a href="RubyProf/
|
415
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-children">#children</a>
|
366
416
|
—
|
367
|
-
<span class="container">RubyProf::
|
417
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
368
418
|
|
369
419
|
<li class="method">
|
370
|
-
<a href="RubyProf/
|
420
|
+
<a href="RubyProf/MethodInfo.html#method-i-children">#children</a>
|
371
421
|
—
|
372
|
-
<span class="container">RubyProf::
|
422
|
+
<span class="container">RubyProf::MethodInfo</span>
|
373
423
|
|
374
424
|
<li class="method">
|
375
425
|
<a href="RubyProf/CallInfo.html#method-i-children_time">#children_time</a>
|
@@ -377,14 +427,14 @@
|
|
377
427
|
<span class="container">RubyProf::CallInfo</span>
|
378
428
|
|
379
429
|
<li class="method">
|
380
|
-
<a href="RubyProf/
|
430
|
+
<a href="RubyProf/MethodInfo.html#method-i-children_time">#children_time</a>
|
381
431
|
—
|
382
|
-
<span class="container">RubyProf::
|
432
|
+
<span class="container">RubyProf::MethodInfo</span>
|
383
433
|
|
384
434
|
<li class="method">
|
385
|
-
<a href="RubyProf/
|
435
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-children_time">#children_time</a>
|
386
436
|
—
|
387
|
-
<span class="container">RubyProf::
|
437
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
388
438
|
|
389
439
|
<li class="method">
|
390
440
|
<a href="RubyProf/ProfileTask.html#method-i-clean_output_directory">#clean_output_directory</a>
|
@@ -416,48 +466,63 @@
|
|
416
466
|
—
|
417
467
|
<span class="container">RubyProf::ProfileTask</span>
|
418
468
|
|
469
|
+
<li class="method">
|
470
|
+
<a href="RubyProf/DeprecationWarnings.html#method-i-deprecation_warning">#deprecation_warning</a>
|
471
|
+
—
|
472
|
+
<span class="container">RubyProf::DeprecationWarnings</span>
|
473
|
+
|
419
474
|
<li class="method">
|
420
475
|
<a href="RubyProf/CallInfo.html#method-i-descendent_of">#descendent_of</a>
|
421
476
|
—
|
422
477
|
<span class="container">RubyProf::CallInfo</span>
|
423
478
|
|
424
479
|
<li class="method">
|
425
|
-
<a href="RubyProf/
|
480
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-determine_event_specification_and_value_scale">#determine_event_specification_and_value_scale</a>
|
426
481
|
—
|
427
|
-
<span class="container">RubyProf::
|
482
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
483
|
+
|
484
|
+
<li class="method">
|
485
|
+
<a href="RubyProf/CallStackPrinter.html#method-i-dump">#dump</a>
|
486
|
+
—
|
487
|
+
<span class="container">RubyProf::CallStackPrinter</span>
|
488
|
+
|
489
|
+
<li class="method">
|
490
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-editor_uri">#editor_uri</a>
|
491
|
+
—
|
492
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
428
493
|
|
429
494
|
<li class="method">
|
430
|
-
<a href="RubyProf/MethodInfo.html#method-i-
|
495
|
+
<a href="RubyProf/MethodInfo.html#method-i-eliminate-21">#eliminate!</a>
|
431
496
|
—
|
432
497
|
<span class="container">RubyProf::MethodInfo</span>
|
433
498
|
|
434
499
|
<li class="method">
|
435
|
-
<a href="RubyProf/CallInfo.html#method-i-
|
500
|
+
<a href="RubyProf/CallInfo.html#method-i-eliminate-21">#eliminate!</a>
|
436
501
|
—
|
437
502
|
<span class="container">RubyProf::CallInfo</span>
|
438
503
|
|
439
504
|
<li class="method">
|
440
|
-
<a href="RubyProf/
|
505
|
+
<a href="RubyProf/Profile/LegacyMethodElimination.html#method-i-eliminate_methods-21">#eliminate_methods!</a>
|
441
506
|
—
|
442
|
-
<span class="container">RubyProf::
|
507
|
+
<span class="container">RubyProf::Profile::LegacyMethodElimination</span>
|
443
508
|
|
444
509
|
<li class="method">
|
445
|
-
<a href="RubyProf/
|
510
|
+
<a href="RubyProf/Profile.html#method-i-exclude_common_methods-21">#exclude_common_methods!</a>
|
446
511
|
—
|
447
|
-
<span class="container">RubyProf::
|
512
|
+
<span class="container">RubyProf::Profile</span>
|
448
513
|
|
449
514
|
<li class="method">
|
450
|
-
<a href="RubyProf/
|
515
|
+
<a href="RubyProf/Profile.html#method-i-exclude_method-21">#exclude_method!</a>
|
451
516
|
—
|
452
|
-
<span class="container">RubyProf::
|
517
|
+
<span class="container">RubyProf::Profile</span>
|
453
518
|
|
454
519
|
<li class="method">
|
455
|
-
<a href="RubyProf/
|
520
|
+
<a href="RubyProf/Profile.html#method-i-exclude_methods-21">#exclude_methods!</a>
|
456
521
|
—
|
457
|
-
<span class="container">RubyProf::
|
522
|
+
<span class="container">RubyProf::Profile</span>
|
458
523
|
|
459
524
|
<li class="method">
|
460
|
-
<a href="RubyProf/Profile.html#method-i-
|
525
|
+
<a href="RubyProf/Profile.html#method-i-exclude_singleton_methods-21">#exclude_singleton_methods!</a>
|
461
526
|
—
|
462
527
|
<span class="container">RubyProf::Profile</span>
|
463
528
|
|
@@ -531,6 +596,11 @@
|
|
531
596
|
—
|
532
597
|
<span class="container">RubyProf::Cmd</span>
|
533
598
|
|
599
|
+
<li class="method">
|
600
|
+
<a href="Rack/RubyProf/RackProfiler.html#method-i-max_requests_reached-3F">#max_requests_reached?</a>
|
601
|
+
—
|
602
|
+
<span class="container">Rack::RubyProf::RackProfiler</span>
|
603
|
+
|
534
604
|
<li class="method">
|
535
605
|
<a href="RubyProf/CallInfo.html#method-i-merge_call_tree">#merge_call_tree</a>
|
536
606
|
—
|
@@ -601,6 +671,11 @@
|
|
601
671
|
—
|
602
672
|
<span class="container">RubyProf::CallTreePrinter</span>
|
603
673
|
|
674
|
+
<li class="method">
|
675
|
+
<a href="Rack/RubyProf/RackProfiler.html#method-i-pause">#pause</a>
|
676
|
+
—
|
677
|
+
<span class="container">Rack::RubyProf::RackProfiler</span>
|
678
|
+
|
604
679
|
<li class="method">
|
605
680
|
<a href="RubyProf/Profile.html#method-i-pause">#pause</a>
|
606
681
|
—
|
@@ -612,19 +687,19 @@
|
|
612
687
|
<span class="container">RubyProf::Profile</span>
|
613
688
|
|
614
689
|
<li class="method">
|
615
|
-
<a href="RubyProf/
|
690
|
+
<a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
|
616
691
|
—
|
617
|
-
<span class="container">RubyProf::
|
692
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
618
693
|
|
619
694
|
<li class="method">
|
620
|
-
<a href="RubyProf/
|
695
|
+
<a href="RubyProf/CallStackPrinter.html#method-i-print">#print</a>
|
621
696
|
—
|
622
|
-
<span class="container">RubyProf::
|
697
|
+
<span class="container">RubyProf::CallStackPrinter</span>
|
623
698
|
|
624
699
|
<li class="method">
|
625
|
-
<a href="RubyProf/
|
700
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-print">#print</a>
|
626
701
|
—
|
627
|
-
<span class="container">RubyProf::
|
702
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
628
703
|
|
629
704
|
<li class="method">
|
630
705
|
<a href="RubyProf/AbstractPrinter.html#method-i-print">#print</a>
|
@@ -632,19 +707,19 @@
|
|
632
707
|
<span class="container">RubyProf::AbstractPrinter</span>
|
633
708
|
|
634
709
|
<li class="method">
|
635
|
-
<a href="RubyProf/
|
710
|
+
<a href="RubyProf/DotPrinter.html#method-i-print">#print</a>
|
636
711
|
—
|
637
|
-
<span class="container">RubyProf::
|
712
|
+
<span class="container">RubyProf::DotPrinter</span>
|
638
713
|
|
639
714
|
<li class="method">
|
640
|
-
<a href="RubyProf/
|
715
|
+
<a href="RubyProf/GraphHtmlPrinter.html#method-i-print">#print</a>
|
641
716
|
—
|
642
|
-
<span class="container">RubyProf::
|
717
|
+
<span class="container">RubyProf::GraphHtmlPrinter</span>
|
643
718
|
|
644
719
|
<li class="method">
|
645
|
-
<a href="RubyProf/
|
720
|
+
<a href="Rack/RubyProf/RackProfiler.html#method-i-print-21">#print!</a>
|
646
721
|
—
|
647
|
-
<span class="container">RubyProf::
|
722
|
+
<span class="container">Rack::RubyProf::RackProfiler</span>
|
648
723
|
|
649
724
|
<li class="method">
|
650
725
|
<a href="RubyProf/CallStackPrinter.html#method-i-print_commands">#print_commands</a>
|
@@ -661,18 +736,13 @@
|
|
661
736
|
—
|
662
737
|
<span class="container">RubyProf::AbstractPrinter</span>
|
663
738
|
|
664
|
-
<li class="method">
|
665
|
-
<a href="RubyProf/AbstractPrinter.html#method-i-print_footer">#print_footer</a>
|
666
|
-
—
|
667
|
-
<span class="container">RubyProf::AbstractPrinter</span>
|
668
|
-
|
669
739
|
<li class="method">
|
670
740
|
<a href="RubyProf/CallStackPrinter.html#method-i-print_footer">#print_footer</a>
|
671
741
|
—
|
672
742
|
<span class="container">RubyProf::CallStackPrinter</span>
|
673
743
|
|
674
744
|
<li class="method">
|
675
|
-
<a href="RubyProf/AbstractPrinter.html#method-i-
|
745
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-print_footer">#print_footer</a>
|
676
746
|
—
|
677
747
|
<span class="container">RubyProf::AbstractPrinter</span>
|
678
748
|
|
@@ -681,6 +751,11 @@
|
|
681
751
|
—
|
682
752
|
<span class="container">RubyProf::CallStackPrinter</span>
|
683
753
|
|
754
|
+
<li class="method">
|
755
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-print_header">#print_header</a>
|
756
|
+
—
|
757
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
758
|
+
|
684
759
|
<li class="method">
|
685
760
|
<a href="RubyProf/CallTreePrinter.html#method-i-print_headers">#print_headers</a>
|
686
761
|
—
|
@@ -722,14 +797,14 @@
|
|
722
797
|
<span class="container">RubyProf::AbstractPrinter</span>
|
723
798
|
|
724
799
|
<li class="method">
|
725
|
-
<a href="RubyProf/
|
800
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-print_threads">#print_threads</a>
|
726
801
|
—
|
727
|
-
<span class="container">RubyProf::
|
802
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
728
803
|
|
729
804
|
<li class="method">
|
730
|
-
<a href="RubyProf/
|
805
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-print_threads">#print_threads</a>
|
731
806
|
—
|
732
|
-
<span class="container">RubyProf::
|
807
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
733
808
|
|
734
809
|
<li class="method">
|
735
810
|
<a href="RubyProf/CallStackPrinter.html#method-i-print_title_bar">#print_title_bar</a>
|
@@ -737,9 +812,29 @@
|
|
737
812
|
<span class="container">RubyProf::CallStackPrinter</span>
|
738
813
|
|
739
814
|
<li class="method">
|
740
|
-
<a href="RubyProf/
|
815
|
+
<a href="RubyProf/MultiPrinter.html#method-i-print_to_flat">#print_to_flat</a>
|
741
816
|
—
|
742
|
-
<span class="container">RubyProf::
|
817
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
818
|
+
|
819
|
+
<li class="method">
|
820
|
+
<a href="RubyProf/MultiPrinter.html#method-i-print_to_graph">#print_to_graph</a>
|
821
|
+
—
|
822
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
823
|
+
|
824
|
+
<li class="method">
|
825
|
+
<a href="RubyProf/MultiPrinter.html#method-i-print_to_stack">#print_to_stack</a>
|
826
|
+
—
|
827
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
828
|
+
|
829
|
+
<li class="method">
|
830
|
+
<a href="RubyProf/MultiPrinter.html#method-i-print_to_tree">#print_to_tree</a>
|
831
|
+
—
|
832
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
833
|
+
|
834
|
+
<li class="method">
|
835
|
+
<a href="RubyProf/Profile.html#method-i-profile">#profile</a>
|
836
|
+
—
|
837
|
+
<span class="container">RubyProf::Profile</span>
|
743
838
|
|
744
839
|
<li class="method">
|
745
840
|
<a href="RubyProf/CallTreePrinter.html#method-i-remove_subsidiary_files_from_previous_profile_runs">#remove_subsidiary_files_from_previous_profile_runs</a>
|
@@ -747,20 +842,25 @@
|
|
747
842
|
<span class="container">RubyProf::CallTreePrinter</span>
|
748
843
|
|
749
844
|
<li class="method">
|
750
|
-
<a href="RubyProf/
|
845
|
+
<a href="Rack/RubyProf/RackProfiler.html#method-i-resume">#resume</a>
|
751
846
|
—
|
752
|
-
<span class="container">RubyProf::
|
847
|
+
<span class="container">Rack::RubyProf::RackProfiler</span>
|
753
848
|
|
754
849
|
<li class="method">
|
755
|
-
<a href="RubyProf/
|
850
|
+
<a href="RubyProf/Profile.html#method-i-resume">#resume</a>
|
756
851
|
—
|
757
|
-
<span class="container">RubyProf::
|
852
|
+
<span class="container">RubyProf::Profile</span>
|
758
853
|
|
759
854
|
<li class="method">
|
760
855
|
<a href="RubyProf/MethodInfo.html#method-i-root-3F">#root?</a>
|
761
856
|
—
|
762
857
|
<span class="container">RubyProf::MethodInfo</span>
|
763
858
|
|
859
|
+
<li class="method">
|
860
|
+
<a href="RubyProf/CallInfo.html#method-i-root-3F">#root?</a>
|
861
|
+
—
|
862
|
+
<span class="container">RubyProf::CallInfo</span>
|
863
|
+
|
764
864
|
<li class="method">
|
765
865
|
<a href="RubyProf/Cmd.html#method-i-run">#run</a>
|
766
866
|
—
|
@@ -802,14 +902,14 @@
|
|
802
902
|
<span class="container">RubyProf::AbstractPrinter</span>
|
803
903
|
|
804
904
|
<li class="method">
|
805
|
-
<a href="RubyProf/
|
905
|
+
<a href="RubyProf/FlatPrinter.html#method-i-sort_method">#sort_method</a>
|
806
906
|
—
|
807
|
-
<span class="container">RubyProf::
|
907
|
+
<span class="container">RubyProf::FlatPrinter</span>
|
808
908
|
|
809
909
|
<li class="method">
|
810
|
-
<a href="RubyProf/
|
910
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-sort_method">#sort_method</a>
|
811
911
|
—
|
812
|
-
<span class="container">RubyProf::
|
912
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
813
913
|
|
814
914
|
<li class="method">
|
815
915
|
<a href="RubyProf/CallInfo.html#method-i-stack">#stack</a>
|
@@ -862,14 +962,14 @@
|
|
862
962
|
<span class="container">RubyProf::CallStackPrinter</span>
|
863
963
|
|
864
964
|
<li class="method">
|
865
|
-
<a href="RubyProf/
|
965
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-to_s">#to_s</a>
|
866
966
|
—
|
867
|
-
<span class="container">RubyProf::
|
967
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
868
968
|
|
869
969
|
<li class="method">
|
870
|
-
<a href="RubyProf/
|
970
|
+
<a href="RubyProf/CallInfo.html#method-i-to_s">#to_s</a>
|
871
971
|
—
|
872
|
-
<span class="container">RubyProf::
|
972
|
+
<span class="container">RubyProf::CallInfo</span>
|
873
973
|
|
874
974
|
<li class="method">
|
875
975
|
<a href="RubyProf/MethodInfo.html#method-i-to_s">#to_s</a>
|
@@ -887,9 +987,14 @@
|
|
887
987
|
<span class="container">RubyProf::Thread</span>
|
888
988
|
|
889
989
|
<li class="method">
|
890
|
-
<a href="RubyProf/
|
990
|
+
<a href="RubyProf/Thread.html#method-i-total_time">#total_time</a>
|
891
991
|
—
|
892
|
-
<span class="container">RubyProf::
|
992
|
+
<span class="container">RubyProf::Thread</span>
|
993
|
+
|
994
|
+
<li class="method">
|
995
|
+
<a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
|
996
|
+
—
|
997
|
+
<span class="container">RubyProf::MethodInfo</span>
|
893
998
|
|
894
999
|
<li class="method">
|
895
1000
|
<a href="RubyProf/CallStackPrinter.html#method-i-total_time">#total_time</a>
|
@@ -897,17 +1002,22 @@
|
|
897
1002
|
<span class="container">RubyProf::CallStackPrinter</span>
|
898
1003
|
|
899
1004
|
<li class="method">
|
900
|
-
<a href="RubyProf/
|
1005
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-total_time">#total_time</a>
|
901
1006
|
—
|
902
|
-
<span class="container">RubyProf::
|
1007
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
903
1008
|
|
904
1009
|
<li class="method">
|
905
|
-
<a href="RubyProf/
|
1010
|
+
<a href="RubyProf/MultiPrinter.html#method-i-tree_profile">#tree_profile</a>
|
906
1011
|
—
|
907
|
-
<span class="container">RubyProf::
|
1012
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
908
1013
|
|
909
1014
|
<li class="method">
|
910
|
-
<a href="RubyProf/
|
1015
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-validate_print_params">#validate_print_params</a>
|
1016
|
+
—
|
1017
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
1018
|
+
|
1019
|
+
<li class="method">
|
1020
|
+
<a href="RubyProf/MultiPrinter.html#method-i-validate_print_params">#validate_print_params</a>
|
911
1021
|
—
|
912
1022
|
<span class="container">RubyProf::MultiPrinter</span>
|
913
1023
|
|
@@ -917,9 +1027,9 @@
|
|
917
1027
|
<span class="container">RubyProf::CallInfoVisitor</span>
|
918
1028
|
|
919
1029
|
<li class="method">
|
920
|
-
<a href="RubyProf/
|
1030
|
+
<a href="RubyProf/Thread.html#method-i-wait_time">#wait_time</a>
|
921
1031
|
—
|
922
|
-
<span class="container">RubyProf::
|
1032
|
+
<span class="container">RubyProf::Thread</span>
|
923
1033
|
|
924
1034
|
<li class="method">
|
925
1035
|
<a href="RubyProf/AggregateCallInfo.html#method-i-wait_time">#wait_time</a>
|
@@ -927,16 +1037,16 @@
|
|
927
1037
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
928
1038
|
|
929
1039
|
<li class="method">
|
930
|
-
<a href="RubyProf/
|
1040
|
+
<a href="RubyProf/MethodInfo.html#method-i-wait_time">#wait_time</a>
|
931
1041
|
—
|
932
|
-
<span class="container">RubyProf::
|
1042
|
+
<span class="container">RubyProf::MethodInfo</span>
|
933
1043
|
</ul>
|
934
1044
|
</main>
|
935
1045
|
|
936
1046
|
|
937
1047
|
<footer id="validator-badges" role="contentinfo">
|
938
1048
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
939
|
-
<p>Generated by <a href="
|
1049
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
|
940
1050
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
941
1051
|
</footer>
|
942
1052
|
|