ruby-prof 0.15.9 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +27 -1
- data/README.rdoc +83 -31
- data/bin/ruby-prof +4 -4
- data/doc/LICENSE.html +1 -1
- data/doc/README_rdoc.html +92 -33
- data/doc/Rack.html +1 -1
- data/doc/Rack/RubyProf.html +17 -14
- data/doc/RubyProf.html +30 -29
- data/doc/RubyProf/AbstractPrinter.html +1 -1
- data/doc/RubyProf/AggregateCallInfo.html +1 -1
- data/doc/RubyProf/CallInfo.html +1 -1
- data/doc/RubyProf/CallInfoPrinter.html +1 -1
- data/doc/RubyProf/CallInfoVisitor.html +1 -1
- data/doc/RubyProf/CallStackPrinter.html +1 -1
- data/doc/RubyProf/CallTreePrinter.html +349 -67
- data/doc/RubyProf/Cmd.html +5 -5
- data/doc/RubyProf/DotPrinter.html +2 -2
- data/doc/RubyProf/FlatPrinter.html +1 -1
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +1 -1
- data/doc/RubyProf/GraphHtmlPrinter.html +1 -1
- data/doc/RubyProf/GraphPrinter.html +1 -1
- data/doc/RubyProf/MethodInfo.html +2 -2
- data/doc/RubyProf/MultiPrinter.html +11 -9
- data/doc/RubyProf/Profile.html +94 -44
- data/doc/RubyProf/ProfileTask.html +1 -1
- data/doc/RubyProf/Thread.html +43 -1
- data/doc/created.rid +16 -16
- data/doc/examples/flat_txt.html +1 -1
- data/doc/examples/graph_html.html +1 -1
- data/doc/examples/graph_txt.html +3 -3
- data/doc/index.html +85 -30
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +2 -2
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +117 -68
- data/examples/cachegrind.out.1 +114 -0
- data/examples/cachegrind.out.1.32313213 +114 -0
- data/examples/graph.txt +1 -1
- data/ext/ruby_prof/extconf.rb +6 -2
- data/ext/ruby_prof/rp_measure_cpu_time.c +29 -31
- data/ext/ruby_prof/rp_method.c +1 -1
- data/ext/ruby_prof/rp_thread.c +57 -52
- data/ext/ruby_prof/ruby_prof.c +122 -66
- data/ext/ruby_prof/ruby_prof.h +2 -0
- data/lib/ruby-prof.rb +14 -13
- data/lib/ruby-prof/assets/call_stack_printer.js.html +1 -1
- data/lib/ruby-prof/compatibility.rb +9 -8
- data/lib/ruby-prof/method_info.rb +1 -1
- data/lib/ruby-prof/printers/call_tree_printer.rb +88 -50
- data/lib/ruby-prof/printers/dot_printer.rb +1 -1
- data/lib/ruby-prof/printers/multi_printer.rb +6 -4
- data/lib/ruby-prof/profile.rb +0 -1
- data/lib/ruby-prof/rack.rb +53 -16
- data/lib/ruby-prof/thread.rb +11 -0
- data/lib/ruby-prof/version.rb +1 -1
- data/test/exclude_threads_test.rb +2 -3
- data/test/fiber_test.rb +21 -7
- data/test/measure_cpu_time_test.rb +84 -24
- data/test/multi_printer_test.rb +5 -4
- data/test/pause_resume_test.rb +7 -7
- data/test/printers_test.rb +6 -4
- data/test/rack_test.rb +26 -1
- data/test/test_helper.rb +28 -3
- data/test/thread_test.rb +1 -0
- metadata +5 -3
data/doc/created.rid
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
Wed,
|
2
|
-
bin/ruby-prof
|
1
|
+
Wed, 24 Aug 2016 20:28:44 +0200
|
2
|
+
bin/ruby-prof Sat, 02 Jan 2016 16:48:57 +0100
|
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
|
-
examples/graph.txt
|
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
|
7
|
+
lib/ruby-prof.rb Sun, 13 Mar 2016 17:37:58 +0100
|
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 Sun, 13 Mar 2016 12:37:42 +0100
|
10
10
|
lib/ruby-prof/call_info_visitor.rb Sun, 22 Feb 2015 16:10:12 +0100
|
11
|
-
lib/ruby-prof/compatibility.rb
|
12
|
-
lib/ruby-prof/method_info.rb
|
11
|
+
lib/ruby-prof/compatibility.rb Sun, 13 Mar 2016 20:28:59 +0100
|
12
|
+
lib/ruby-prof/method_info.rb Sun, 13 Mar 2016 17:39:57 +0100
|
13
13
|
lib/ruby-prof/printers/abstract_printer.rb Tue, 29 Jan 2013 16:43:39 +0100
|
14
14
|
lib/ruby-prof/printers/call_info_printer.rb Sun, 22 Feb 2015 16:10:12 +0100
|
15
15
|
lib/ruby-prof/printers/call_stack_printer.rb Thu, 23 Apr 2015 12:17:56 +0200
|
16
|
-
lib/ruby-prof/printers/call_tree_printer.rb
|
17
|
-
lib/ruby-prof/printers/dot_printer.rb Sun,
|
16
|
+
lib/ruby-prof/printers/call_tree_printer.rb Sun, 13 Mar 2016 17:39:57 +0100
|
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
19
|
lib/ruby-prof/printers/flat_printer_with_line_numbers.rb Sun, 15 Feb 2015 12:21:36 +0100
|
20
20
|
lib/ruby-prof/printers/graph_html_printer.rb Tue, 08 Dec 2015 17:40:05 +0100
|
21
21
|
lib/ruby-prof/printers/graph_printer.rb Wed, 09 Dec 2015 15:31:08 +0100
|
22
|
-
lib/ruby-prof/printers/multi_printer.rb
|
23
|
-
lib/ruby-prof/profile.rb Sun,
|
24
|
-
lib/ruby-prof/rack.rb
|
22
|
+
lib/ruby-prof/printers/multi_printer.rb Sun, 13 Mar 2016 17:39:57 +0100
|
23
|
+
lib/ruby-prof/profile.rb Sun, 13 Mar 2016 17:37:58 +0100
|
24
|
+
lib/ruby-prof/rack.rb Fri, 17 Jun 2016 20:01:16 +0200
|
25
25
|
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
|
26
|
+
lib/ruby-prof/thread.rb Sun, 13 Mar 2016 17:39:57 +0100
|
27
|
+
lib/ruby-prof/version.rb Sun, 13 Mar 2016 21:00:43 +0100
|
28
28
|
lib/unprof.rb Tue, 29 Jan 2013 16:43:39 +0100
|
29
|
-
ext/ruby_prof/ruby_prof.c
|
30
|
-
README.rdoc
|
29
|
+
ext/ruby_prof/ruby_prof.c Sun, 13 Mar 2016 20:27:23 +0100
|
30
|
+
README.rdoc Fri, 17 Jun 2016 20:01:16 +0200
|
31
31
|
LICENSE Tue, 20 May 2014 07:16:27 +0200
|
data/doc/examples/flat_txt.html
CHANGED
@@ -132,7 +132,7 @@ method on a singleton class.</p>
|
|
132
132
|
|
133
133
|
<footer id="validator-badges" role="contentinfo">
|
134
134
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
135
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.
|
135
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
136
136
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
137
137
|
</footer>
|
138
138
|
|
@@ -903,7 +903,7 @@ reproduced in HTML. </p> <p>Profile Report</p></p>
|
|
903
903
|
|
904
904
|
<footer id="validator-badges" role="contentinfo">
|
905
905
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
906
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.
|
906
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
907
907
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
908
908
|
</footer>
|
909
909
|
|
data/doc/examples/graph_txt.html
CHANGED
@@ -198,8 +198,8 @@ name - The name of the method.</pre>
|
|
198
198
|
|
199
199
|
<p>For example, we see that 97.74% of the time was spent in Object#is_prime
|
200
200
|
and its children. Of that time, almost everything was contributed by
|
201
|
-
Integer#upto. Overall,
|
202
|
-
|
201
|
+
Integer#upto. Overall, Integer#upto was called 1001 times and 1000 of those
|
202
|
+
calls were made by Object#is_prime.</p>
|
203
203
|
|
204
204
|
<h2 id="label-Parents">Parents<span><a href="#label-Parents">¶</a> <a href="#top">↑</a></span></h2>
|
205
205
|
|
@@ -241,7 +241,7 @@ Object#find_largest.</p>
|
|
241
241
|
|
242
242
|
<footer id="validator-badges" role="contentinfo">
|
243
243
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
244
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.
|
244
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
245
245
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
246
246
|
</footer>
|
247
247
|
|
data/doc/index.html
CHANGED
@@ -164,7 +164,8 @@ the KCacheGrind profiling tool.</p>
|
|
164
164
|
<p>ruby-prof requires Ruby 1.9.3 or higher. Please note some ruby releases
|
165
165
|
have known bugs which cause ruby-prof problems, like incorrect
|
166
166
|
measurements. We suggest to use the latest minor patch level release if
|
167
|
-
possible. In particular, on the 2.1 branch of ruby you should use
|
167
|
+
possible. In particular, on the 2.1 branch of ruby you should use at least
|
168
|
+
2.1.7.</p>
|
168
169
|
|
169
170
|
<p>If you are running Linux or Unix you'll need a C compiler so the
|
170
171
|
extension can be compiled when it is installed.</p>
|
@@ -185,18 +186,18 @@ can compile.</p>
|
|
185
186
|
|
186
187
|
<h2 id="label-Usage">Usage<span><a href="#label-Usage">¶</a> <a href="#top">↑</a></span></h2>
|
187
188
|
|
188
|
-
<p>There are
|
189
|
-
API.</p>
|
189
|
+
<p>There are three major options for running ruby-prof: via the command line,
|
190
|
+
via its convenience API or via its core API.</p>
|
190
191
|
|
191
|
-
<h3 id="label-ruby-prof+
|
192
|
+
<h3 id="label-ruby-prof+Executable">ruby-prof Executable<span><a href="#label-ruby-prof+Executable">¶</a> <a href="#top">↑</a></span></h3>
|
192
193
|
|
193
|
-
<p>The first is to use ruby-prof to run the Ruby program you want to profile.
|
194
|
+
<p>The first is to use ruby-prof to run the Ruby program you want to profile.
|
194
195
|
For more information refer to the documentation of the ruby-prof command.</p>
|
195
196
|
|
196
|
-
<h3 id="label-ruby-prof+API">ruby-prof API<span><a href="#label-ruby-prof+API">¶</a> <a href="#top">↑</a></span></h3>
|
197
|
+
<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>
|
197
198
|
|
198
|
-
<p>The second way is to use the ruby-prof API to profile
|
199
|
-
of code.</p>
|
199
|
+
<p>The second way is to use the ruby-prof convenience API to profile
|
200
|
+
particular segments of code.</p>
|
200
201
|
|
201
202
|
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'ruby-prof'</span>
|
202
203
|
|
@@ -240,8 +241,8 @@ of code.</p>
|
|
240
241
|
<span class="ruby-identifier">result</span> = <span class="ruby-constant">RubyProf</span>.<span class="ruby-identifier">stop</span>
|
241
242
|
</pre>
|
242
243
|
|
243
|
-
<p>Note that resume will
|
244
|
-
|
244
|
+
<p>Note that resume will only work if start has been called previously. In
|
245
|
+
addition, resume can also take a block:</p>
|
245
246
|
|
246
247
|
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'ruby-prof'</span>
|
247
248
|
|
@@ -249,13 +250,59 @@ yet started. In addition, resume can also take a block:</p>
|
|
249
250
|
<span class="ruby-comment"># ... code to profile...</span>
|
250
251
|
<span class="ruby-keyword">end</span>
|
251
252
|
|
252
|
-
<span class="ruby-identifier">
|
253
|
+
<span class="ruby-identifier">result</span> = <span class="ruby-constant">RubyProf</span>.<span class="ruby-identifier">stop</span>
|
253
254
|
</pre>
|
254
255
|
|
255
256
|
<p>With this usage, resume will automatically call pause at the end of the
|
256
257
|
block.</p>
|
257
258
|
|
258
|
-
<
|
259
|
+
<h3 id="label-Profiling+Selected+Threads+-28Core+API-29">Profiling Selected Threads (Core API)<span><a href="#label-Profiling+Selected+Threads+-28Core+API-29">¶</a> <a href="#top">↑</a></span></h3>
|
260
|
+
|
261
|
+
<p>The convenience API does not support running multiple profiles in separate
|
262
|
+
threads concurrently, but the <a
|
263
|
+
href="RubyProf/Profile.html">RubyProf::Profile</a> API does. In fact, the
|
264
|
+
convenience layer uses the Profile API internally. It all revolves around
|
265
|
+
Profile objects:</p>
|
266
|
+
<dl class="rdoc-list note-list"><dt><a href="RubyProf/Profile.html#method-c-new">RubyProf::Profile.new</a>
|
267
|
+
<dd>
|
268
|
+
<p>Create a profile object given an options hash (see below)</p>
|
269
|
+
|
270
|
+
<p>The following options are available when creating Profile instances:</p>
|
271
|
+
<dl class="rdoc-list note-list"><dt>measure_mode
|
272
|
+
<dd>
|
273
|
+
<p>One of the defined measure modes</p>
|
274
|
+
</dd><dt>exclude_threads
|
275
|
+
<dd>
|
276
|
+
<p>Array of threads which should not be profiled.</p>
|
277
|
+
</dd><dt>include_threads
|
278
|
+
<dd>
|
279
|
+
<p>Array of threads which should be profiled. All other threads will be
|
280
|
+
ignored.</p>
|
281
|
+
</dd><dt>merge_fibers
|
282
|
+
<dd>
|
283
|
+
<p>Whether profiling data for a given thread's fibers should all be
|
284
|
+
subsumed under a single entry. Basically only useful to produce callgrind
|
285
|
+
profiles.</p>
|
286
|
+
</dd></dl>
|
287
|
+
</dd><dt><a href="RubyProf/Profile.html#method-i-start">RubyProf::Profile#start</a>
|
288
|
+
<dd>
|
289
|
+
<p>Start profiling</p>
|
290
|
+
</dd><dt><a href="RubyProf/Profile.html#method-i-pause">RubyProf::Profile#pause</a>
|
291
|
+
<dd>
|
292
|
+
<p>Pause profiling</p>
|
293
|
+
</dd><dt><a href="RubyProf/Profile.html#method-i-resume">RubyProf::Profile#resume</a>
|
294
|
+
<dd>
|
295
|
+
<p>Resume profiling</p>
|
296
|
+
</dd><dt><a href="RubyProf/Profile.html#method-i-stop">RubyProf::Profile#stop</a>
|
297
|
+
<dd>
|
298
|
+
<p>Stop profiling and return self</p>
|
299
|
+
</dd><dt>RubyProf::Profile#profile
|
300
|
+
<dd>
|
301
|
+
<p>Perform a profile run and return result. Accepts the same arguments as <a
|
302
|
+
href="RubyProf/Profile.html#method-c-new">RubyProf::Profile.new</a>.</p>
|
303
|
+
</dd></dl>
|
304
|
+
|
305
|
+
<h2 id="label-Method+Elimination">Method Elimination<span><a href="#label-Method+Elimination">¶</a> <a href="#top">↑</a></span></h2>
|
259
306
|
|
260
307
|
<p>ruby-prof supports eliminating specific methods and threads from profiling
|
261
308
|
results. This is useful for reducing connectivity in the call graph, making
|
@@ -282,16 +329,6 @@ expressions (line separated text).</p>
|
|
282
329
|
<p>After eliminating methods the resulting profile will appear exactly as if
|
283
330
|
those methods had been inlined at their call sites.</p>
|
284
331
|
|
285
|
-
<p>In a similar manner, threads can be excluded so they are not profiled at
|
286
|
-
all. To do this, pass an array of threads to exclude to ruby-prof:</p>
|
287
|
-
|
288
|
-
<pre class="ruby"><span class="ruby-constant">RubyProf</span><span class="ruby-operator">::</span><span class="ruby-identifier">exclude_threads</span> = [ <span class="ruby-identifier">thread2</span> ]
|
289
|
-
<span class="ruby-constant">RubyProf</span>.<span class="ruby-identifier">start</span>
|
290
|
-
</pre>
|
291
|
-
|
292
|
-
<p>Note that the excluded threads must be specified <strong>before</strong>
|
293
|
-
profiling.</p>
|
294
|
-
|
295
332
|
<h2 id="label-Profiling+Rails">Profiling Rails<span><a href="#label-Profiling+Rails">¶</a> <a href="#top">↑</a></span></h2>
|
296
333
|
|
297
334
|
<p>To profile a Rails application it is vital to run it using production like
|
@@ -305,7 +342,7 @@ profile.rb.</p>
|
|
305
342
|
<ol><li>
|
306
343
|
<p>Create a new profile.rb environment. Make sure to turn on
|
307
344
|
<code>cache_classes</code> and <code>cache_template_loading</code>.
|
308
|
-
Otherwise your profiling results will be
|
345
|
+
Otherwise your profiling results will be overwhelmed by the time Rails
|
309
346
|
spends loading required files. You should likely turn off caching.</p>
|
310
347
|
</li><li>
|
311
348
|
<p>Add the ruby-prof to your gemfile:</p>
|
@@ -482,9 +519,18 @@ is invoked during a profiling session. This support was added by Jeremy
|
|
482
519
|
Kemper and requires a patched Ruby interpreter. See below.</p>
|
483
520
|
</dd></dl>
|
484
521
|
|
522
|
+
<h2 id="label-Patching+ruby">Patching ruby<span><a href="#label-Patching+ruby">¶</a> <a href="#top">↑</a></span></h2>
|
523
|
+
|
485
524
|
<p>All of the patches to Ruby are included in the railsexpress patchsets for
|
486
525
|
rvm, see <a
|
487
|
-
href="https://github.com/skaes/rvm-patchsets">github.com/skaes/rvm-patchsets</a
|
526
|
+
href="https://github.com/skaes/rvm-patchsets">github.com/skaes/rvm-patchsets</a>.
|
527
|
+
You can also use these patches manually with other ruby managers
|
528
|
+
(ruby-install, ruby-build, etc.).</p>
|
529
|
+
|
530
|
+
<p>Note if you rebuild your ruby with patches you must uninstall and reinstall
|
531
|
+
the ruby-prof gem to take advantage of the new capabilities.</p>
|
532
|
+
|
533
|
+
<h2 id="label-Measure+modes">Measure modes<span><a href="#label-Measure+modes">¶</a> <a href="#top">↑</a></span></h2>
|
488
534
|
|
489
535
|
<p>To set the measurement:</p>
|
490
536
|
|
@@ -531,11 +577,11 @@ profiling run and is otherwise quiescent.</p>
|
|
531
577
|
<h2 id="label-Multi-threaded+Applications">Multi-threaded Applications<span><a href="#label-Multi-threaded+Applications">¶</a> <a href="#top">↑</a></span></h2>
|
532
578
|
|
533
579
|
<p>Unfortunately, Ruby does not provide an internal API for detecting thread
|
534
|
-
context switches
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
580
|
+
context switches. As a result, the timings ruby-prof reports for each
|
581
|
+
thread may be slightly inaccurate. In particular, this will happen for
|
582
|
+
newly spawned threads that go to sleep immediately (their first call). For
|
583
|
+
instance, if you use Ruby's timeout library to wait for 2 seconds, the
|
584
|
+
2 seconds will be assigned to the foreground thread and not the newly
|
539
585
|
created background thread. These errors can largely be avoided if the
|
540
586
|
background thread performs any operation before going to sleep.</p>
|
541
587
|
|
@@ -551,6 +597,15 @@ programs (like the fibonacci series test) will run three times slower.</p>
|
|
551
597
|
|
552
598
|
<p>See <a href="LICENSE.html">LICENSE</a> for license information.</p>
|
553
599
|
|
600
|
+
<h2 id="label-API+Documentation">API Documentation<span><a href="#label-API+Documentation">¶</a> <a href="#top">↑</a></span></h2>
|
601
|
+
|
602
|
+
<p>The ruby-prof API documentation for the latest released gem version can be
|
603
|
+
found here: <a
|
604
|
+
href="http://www.rubydoc.info/gems/ruby-prof">www.rubydoc.info/gems/ruby-prof</a>/</p>
|
605
|
+
|
606
|
+
<p>The ruby-prof API documentation for the master branch is available here: <a
|
607
|
+
href="http://www.rubydoc.info/github/ruby-prof/ruby-prof">www.rubydoc.info/github/ruby-prof/ruby-prof</a>/</p>
|
608
|
+
|
554
609
|
<h2 id="label-Development">Development<span><a href="#label-Development">¶</a> <a href="#top">↑</a></span></h2>
|
555
610
|
|
556
611
|
<p>Code is located at <a
|
@@ -565,7 +620,7 @@ or open a github issue.</p>
|
|
565
620
|
|
566
621
|
<footer id="validator-badges" role="contentinfo">
|
567
622
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
568
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.
|
623
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
569
624
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
570
625
|
</footer>
|
571
626
|
|
data/doc/js/navigation.js.gz
CHANGED
Binary file
|
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()","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()","dump()","eliminate!()","eliminate!()","eliminate_methods!()","exclude_threads()","exclude_threads=()","expansion()","figure_measure_mode()","file()","file_link()","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()","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_help()","print_java_script()","print_methods()","print_stack()","print_thread()","print_thread()","print_threads()","print_threads()","print_title_bar()","profile()","profile()","recursive?()","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()","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()","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::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::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::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::callstackprinter#print_help()","rubyprof::callstackprinter#print_java_script()","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::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()","","","","",""],"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 calltree format for use by kcachegrind\nand similar tools.\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","()",""],["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"],["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)",""],["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::PROCESS_TIME - Measure process …\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::PROCESS_TIME - Measure process …\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::Result.\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.\n<p>Parameters\n<p>mode — Measure mode (optional). Specifies the profile measure mode. …\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","()",""],["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","(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::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_help","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_help","()",""],["print_java_script","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print_java_script","()",""],["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","(&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::Result object.\n"],["recursive?","RubyProf::MethodInfo","RubyProf/MethodInfo.html#method-i-recursive-3F","()",""],["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","()",""],["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","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"]]}}
|
data/doc/js/search_index.js.gz
CHANGED
Binary file
|
data/doc/js/searcher.js
CHANGED
@@ -52,13 +52,13 @@ Searcher.prototype = new function() {
|
|
52
52
|
/* ----- Utilities ------ */
|
53
53
|
function splitQuery(query) {
|
54
54
|
return jQuery.grep(query.split(/(\s+|::?|\(\)?)/), function(string) {
|
55
|
-
return string.match(/\S/)
|
55
|
+
return string.match(/\S/);
|
56
56
|
});
|
57
57
|
}
|
58
58
|
|
59
59
|
function buildRegexps(queries) {
|
60
60
|
return jQuery.map(queries, function(query) {
|
61
|
-
return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i')
|
61
|
+
return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i');
|
62
62
|
});
|
63
63
|
}
|
64
64
|
|
data/doc/js/searcher.js.gz
CHANGED
Binary file
|
data/doc/table_of_contents.html
CHANGED
@@ -36,16 +36,20 @@
|
|
36
36
|
<li><a href="README_rdoc.html#label-Requirements">Requirements</a>
|
37
37
|
<li><a href="README_rdoc.html#label-Install">Install</a>
|
38
38
|
<li><a href="README_rdoc.html#label-Usage">Usage</a>
|
39
|
-
<li><a href="README_rdoc.html#label-ruby-prof+
|
40
|
-
<li><a href="README_rdoc.html#label-ruby-prof+API">ruby-prof API</a>
|
41
|
-
<li><a href="README_rdoc.html#label-
|
39
|
+
<li><a href="README_rdoc.html#label-ruby-prof+Executable">ruby-prof Executable</a>
|
40
|
+
<li><a href="README_rdoc.html#label-ruby-prof+Convenience+API">ruby-prof Convenience API</a>
|
41
|
+
<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>
|
42
43
|
<li><a href="README_rdoc.html#label-Profiling+Rails">Profiling Rails</a>
|
43
44
|
<li><a href="README_rdoc.html#label-Reports">Reports</a>
|
44
45
|
<li><a href="README_rdoc.html#label-Printers">Printers</a>
|
45
46
|
<li><a href="README_rdoc.html#label-Measurements">Measurements</a>
|
47
|
+
<li><a href="README_rdoc.html#label-Patching+ruby">Patching ruby</a>
|
48
|
+
<li><a href="README_rdoc.html#label-Measure+modes">Measure modes</a>
|
46
49
|
<li><a href="README_rdoc.html#label-Multi-threaded+Applications">Multi-threaded Applications</a>
|
47
50
|
<li><a href="README_rdoc.html#label-Performance">Performance</a>
|
48
51
|
<li><a href="README_rdoc.html#label-License">License</a>
|
52
|
+
<li><a href="README_rdoc.html#label-API+Documentation">API Documentation</a>
|
49
53
|
<li><a href="README_rdoc.html#label-Development">Development</a>
|
50
54
|
</ul>
|
51
55
|
</li>
|
@@ -213,14 +217,14 @@
|
|
213
217
|
<span class="container">RubyProf</span>
|
214
218
|
|
215
219
|
<li class="method">
|
216
|
-
<a href="RubyProf
|
220
|
+
<a href="Rack/RubyProf.html#method-c-new">::new</a>
|
217
221
|
—
|
218
|
-
<span class="container">RubyProf
|
222
|
+
<span class="container">Rack::RubyProf</span>
|
219
223
|
|
220
224
|
<li class="method">
|
221
|
-
<a href="RubyProf/
|
225
|
+
<a href="RubyProf/AbstractPrinter.html#method-c-new">::new</a>
|
222
226
|
—
|
223
|
-
<span class="container">RubyProf::
|
227
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
224
228
|
|
225
229
|
<li class="method">
|
226
230
|
<a href="RubyProf/CallInfoVisitor.html#method-c-new">::new</a>
|
@@ -228,19 +232,19 @@
|
|
228
232
|
<span class="container">RubyProf::CallInfoVisitor</span>
|
229
233
|
|
230
234
|
<li class="method">
|
231
|
-
<a href="RubyProf/
|
235
|
+
<a href="RubyProf/Profile.html#method-c-new">::new</a>
|
232
236
|
—
|
233
|
-
<span class="container">RubyProf::
|
237
|
+
<span class="container">RubyProf::Profile</span>
|
234
238
|
|
235
239
|
<li class="method">
|
236
|
-
<a href="RubyProf/
|
240
|
+
<a href="RubyProf/Cmd.html#method-c-new">::new</a>
|
237
241
|
—
|
238
|
-
<span class="container">RubyProf::
|
242
|
+
<span class="container">RubyProf::Cmd</span>
|
239
243
|
|
240
244
|
<li class="method">
|
241
|
-
<a href="RubyProf/
|
245
|
+
<a href="RubyProf/AggregateCallInfo.html#method-c-new">::new</a>
|
242
246
|
—
|
243
|
-
<span class="container">RubyProf::
|
247
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
244
248
|
|
245
249
|
<li class="method">
|
246
250
|
<a href="RubyProf/DotPrinter.html#method-c-new">::new</a>
|
@@ -253,9 +257,9 @@
|
|
253
257
|
<span class="container">RubyProf::MultiPrinter</span>
|
254
258
|
|
255
259
|
<li class="method">
|
256
|
-
<a href="
|
260
|
+
<a href="RubyProf/ProfileTask.html#method-c-new">::new</a>
|
257
261
|
—
|
258
|
-
<span class="container">
|
262
|
+
<span class="container">RubyProf::ProfileTask</span>
|
259
263
|
|
260
264
|
<li class="method">
|
261
265
|
<a href="RubyProf.html#method-c-pause">::pause</a>
|
@@ -263,14 +267,14 @@
|
|
263
267
|
<span class="container">RubyProf</span>
|
264
268
|
|
265
269
|
<li class="method">
|
266
|
-
<a href="RubyProf
|
270
|
+
<a href="RubyProf.html#method-c-profile">::profile</a>
|
267
271
|
—
|
268
|
-
<span class="container">RubyProf
|
272
|
+
<span class="container">RubyProf</span>
|
269
273
|
|
270
274
|
<li class="method">
|
271
|
-
<a href="RubyProf.html#method-c-profile">::profile</a>
|
275
|
+
<a href="RubyProf/Profile.html#method-c-profile">::profile</a>
|
272
276
|
—
|
273
|
-
<span class="container">RubyProf</span>
|
277
|
+
<span class="container">RubyProf::Profile</span>
|
274
278
|
|
275
279
|
<li class="method">
|
276
280
|
<a href="RubyProf.html#method-c-resume">::resume</a>
|
@@ -332,6 +336,11 @@
|
|
332
336
|
—
|
333
337
|
<span class="container">RubyProf::CallStackPrinter</span>
|
334
338
|
|
339
|
+
<li class="method">
|
340
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-base_name">#base_name</a>
|
341
|
+
—
|
342
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
343
|
+
|
335
344
|
<li class="method">
|
336
345
|
<a href="Rack/RubyProf.html#method-i-call">#call</a>
|
337
346
|
—
|
@@ -352,15 +361,20 @@
|
|
352
361
|
—
|
353
362
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
354
363
|
|
364
|
+
<li class="method">
|
365
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-children">#children</a>
|
366
|
+
—
|
367
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
368
|
+
|
355
369
|
<li class="method">
|
356
370
|
<a href="RubyProf/MethodInfo.html#method-i-children">#children</a>
|
357
371
|
—
|
358
372
|
<span class="container">RubyProf::MethodInfo</span>
|
359
373
|
|
360
374
|
<li class="method">
|
361
|
-
<a href="RubyProf/
|
375
|
+
<a href="RubyProf/MethodInfo.html#method-i-children_time">#children_time</a>
|
362
376
|
—
|
363
|
-
<span class="container">RubyProf::
|
377
|
+
<span class="container">RubyProf::MethodInfo</span>
|
364
378
|
|
365
379
|
<li class="method">
|
366
380
|
<a href="RubyProf/AggregateCallInfo.html#method-i-children_time">#children_time</a>
|
@@ -372,11 +386,6 @@
|
|
372
386
|
—
|
373
387
|
<span class="container">RubyProf::CallInfo</span>
|
374
388
|
|
375
|
-
<li class="method">
|
376
|
-
<a href="RubyProf/MethodInfo.html#method-i-children_time">#children_time</a>
|
377
|
-
—
|
378
|
-
<span class="container">RubyProf::MethodInfo</span>
|
379
|
-
|
380
389
|
<li class="method">
|
381
390
|
<a href="RubyProf/ProfileTask.html#method-i-clean_output_directory">#clean_output_directory</a>
|
382
391
|
—
|
@@ -412,11 +421,6 @@
|
|
412
421
|
—
|
413
422
|
<span class="container">RubyProf::CallInfo</span>
|
414
423
|
|
415
|
-
<li class="method">
|
416
|
-
<a href="RubyProf/MethodInfo.html#method-i-detect_recursion">#detect_recursion</a>
|
417
|
-
—
|
418
|
-
<span class="container">RubyProf::MethodInfo</span>
|
419
|
-
|
420
424
|
<li class="method">
|
421
425
|
<a href="RubyProf/CallInfo.html#method-i-detect_recursion">#detect_recursion</a>
|
422
426
|
—
|
@@ -427,6 +431,16 @@
|
|
427
431
|
—
|
428
432
|
<span class="container">RubyProf::Thread</span>
|
429
433
|
|
434
|
+
<li class="method">
|
435
|
+
<a href="RubyProf/MethodInfo.html#method-i-detect_recursion">#detect_recursion</a>
|
436
|
+
—
|
437
|
+
<span class="container">RubyProf::MethodInfo</span>
|
438
|
+
|
439
|
+
<li class="method">
|
440
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-determine_event_specification_and_value_scale">#determine_event_specification_and_value_scale</a>
|
441
|
+
—
|
442
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
443
|
+
|
430
444
|
<li class="method">
|
431
445
|
<a href="RubyProf/CallStackPrinter.html#method-i-dump">#dump</a>
|
432
446
|
—
|
@@ -462,6 +476,16 @@
|
|
462
476
|
—
|
463
477
|
<span class="container">RubyProf::GraphHtmlPrinter</span>
|
464
478
|
|
479
|
+
<li class="method">
|
480
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-file_name_for_thread">#file_name_for_thread</a>
|
481
|
+
—
|
482
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
483
|
+
|
484
|
+
<li class="method">
|
485
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-file_path_for_thread">#file_path_for_thread</a>
|
486
|
+
—
|
487
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
488
|
+
|
465
489
|
<li class="method">
|
466
490
|
<a href="RubyProf/CallInfo.html#method-i-find_call">#find_call</a>
|
467
491
|
—
|
@@ -572,6 +596,11 @@
|
|
572
596
|
—
|
573
597
|
<span class="container">RubyProf::Cmd</span>
|
574
598
|
|
599
|
+
<li class="method">
|
600
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-path">#path</a>
|
601
|
+
—
|
602
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
603
|
+
|
575
604
|
<li class="method">
|
576
605
|
<a href="RubyProf/Profile.html#method-i-pause">#pause</a>
|
577
606
|
—
|
@@ -588,14 +617,9 @@
|
|
588
617
|
<span class="container">RubyProf::Profile</span>
|
589
618
|
|
590
619
|
<li class="method">
|
591
|
-
<a href="RubyProf/
|
592
|
-
—
|
593
|
-
<span class="container">RubyProf::DotPrinter</span>
|
594
|
-
|
595
|
-
<li class="method">
|
596
|
-
<a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
|
620
|
+
<a href="RubyProf/CallStackPrinter.html#method-i-print">#print</a>
|
597
621
|
—
|
598
|
-
<span class="container">RubyProf::
|
622
|
+
<span class="container">RubyProf::CallStackPrinter</span>
|
599
623
|
|
600
624
|
<li class="method">
|
601
625
|
<a href="RubyProf/AbstractPrinter.html#method-i-print">#print</a>
|
@@ -608,15 +632,20 @@
|
|
608
632
|
<span class="container">RubyProf::CallTreePrinter</span>
|
609
633
|
|
610
634
|
<li class="method">
|
611
|
-
<a href="RubyProf/
|
635
|
+
<a href="RubyProf/DotPrinter.html#method-i-print">#print</a>
|
612
636
|
—
|
613
|
-
<span class="container">RubyProf::
|
637
|
+
<span class="container">RubyProf::DotPrinter</span>
|
614
638
|
|
615
639
|
<li class="method">
|
616
640
|
<a href="RubyProf/GraphHtmlPrinter.html#method-i-print">#print</a>
|
617
641
|
—
|
618
642
|
<span class="container">RubyProf::GraphHtmlPrinter</span>
|
619
643
|
|
644
|
+
<li class="method">
|
645
|
+
<a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
|
646
|
+
—
|
647
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
648
|
+
|
620
649
|
<li class="method">
|
621
650
|
<a href="RubyProf/CallStackPrinter.html#method-i-print_commands">#print_commands</a>
|
622
651
|
—
|
@@ -642,15 +671,20 @@
|
|
642
671
|
—
|
643
672
|
<span class="container">RubyProf::CallStackPrinter</span>
|
644
673
|
|
674
|
+
<li class="method">
|
675
|
+
<a href="RubyProf/CallStackPrinter.html#method-i-print_header">#print_header</a>
|
676
|
+
—
|
677
|
+
<span class="container">RubyProf::CallStackPrinter</span>
|
678
|
+
|
645
679
|
<li class="method">
|
646
680
|
<a href="RubyProf/AbstractPrinter.html#method-i-print_header">#print_header</a>
|
647
681
|
—
|
648
682
|
<span class="container">RubyProf::AbstractPrinter</span>
|
649
683
|
|
650
684
|
<li class="method">
|
651
|
-
<a href="RubyProf/
|
685
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-print_headers">#print_headers</a>
|
652
686
|
—
|
653
|
-
<span class="container">RubyProf::
|
687
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
654
688
|
|
655
689
|
<li class="method">
|
656
690
|
<a href="RubyProf/CallStackPrinter.html#method-i-print_help">#print_help</a>
|
@@ -662,6 +696,11 @@
|
|
662
696
|
—
|
663
697
|
<span class="container">RubyProf::CallStackPrinter</span>
|
664
698
|
|
699
|
+
<li class="method">
|
700
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-print_method">#print_method</a>
|
701
|
+
—
|
702
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
703
|
+
|
665
704
|
<li class="method">
|
666
705
|
<a href="RubyProf/FlatPrinterWithLineNumbers.html#method-i-print_methods">#print_methods</a>
|
667
706
|
—
|
@@ -672,26 +711,26 @@
|
|
672
711
|
—
|
673
712
|
<span class="container">RubyProf::CallStackPrinter</span>
|
674
713
|
|
675
|
-
<li class="method">
|
676
|
-
<a href="RubyProf/AbstractPrinter.html#method-i-print_thread">#print_thread</a>
|
677
|
-
—
|
678
|
-
<span class="container">RubyProf::AbstractPrinter</span>
|
679
|
-
|
680
714
|
<li class="method">
|
681
715
|
<a href="RubyProf/CallTreePrinter.html#method-i-print_thread">#print_thread</a>
|
682
716
|
—
|
683
717
|
<span class="container">RubyProf::CallTreePrinter</span>
|
684
718
|
|
685
719
|
<li class="method">
|
686
|
-
<a href="RubyProf/
|
720
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-print_thread">#print_thread</a>
|
687
721
|
—
|
688
|
-
<span class="container">RubyProf::
|
722
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
689
723
|
|
690
724
|
<li class="method">
|
691
725
|
<a href="RubyProf/AbstractPrinter.html#method-i-print_threads">#print_threads</a>
|
692
726
|
—
|
693
727
|
<span class="container">RubyProf::AbstractPrinter</span>
|
694
728
|
|
729
|
+
<li class="method">
|
730
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-print_threads">#print_threads</a>
|
731
|
+
—
|
732
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
733
|
+
|
695
734
|
<li class="method">
|
696
735
|
<a href="RubyProf/CallStackPrinter.html#method-i-print_title_bar">#print_title_bar</a>
|
697
736
|
—
|
@@ -702,6 +741,11 @@
|
|
702
741
|
—
|
703
742
|
<span class="container">RubyProf::MethodInfo</span>
|
704
743
|
|
744
|
+
<li class="method">
|
745
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-remove_subsidiary_files_from_previous_profile_runs">#remove_subsidiary_files_from_previous_profile_runs</a>
|
746
|
+
—
|
747
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
748
|
+
|
705
749
|
<li class="method">
|
706
750
|
<a href="RubyProf/Profile.html#method-i-resume">#resume</a>
|
707
751
|
—
|
@@ -742,11 +786,6 @@
|
|
742
786
|
—
|
743
787
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
744
788
|
|
745
|
-
<li class="method">
|
746
|
-
<a href="RubyProf/Cmd.html#method-i-setup_options">#setup_options</a>
|
747
|
-
—
|
748
|
-
<span class="container">RubyProf::Cmd</span>
|
749
|
-
|
750
789
|
<li class="method">
|
751
790
|
<a href="RubyProf/GraphHtmlPrinter.html#method-i-setup_options">#setup_options</a>
|
752
791
|
—
|
@@ -758,15 +797,20 @@
|
|
758
797
|
<span class="container">RubyProf::AbstractPrinter</span>
|
759
798
|
|
760
799
|
<li class="method">
|
761
|
-
<a href="RubyProf/
|
800
|
+
<a href="RubyProf/Cmd.html#method-i-setup_options">#setup_options</a>
|
762
801
|
—
|
763
|
-
<span class="container">RubyProf::
|
802
|
+
<span class="container">RubyProf::Cmd</span>
|
764
803
|
|
765
804
|
<li class="method">
|
766
805
|
<a href="RubyProf/AbstractPrinter.html#method-i-sort_method">#sort_method</a>
|
767
806
|
—
|
768
807
|
<span class="container">RubyProf::AbstractPrinter</span>
|
769
808
|
|
809
|
+
<li class="method">
|
810
|
+
<a href="RubyProf/FlatPrinter.html#method-i-sort_method">#sort_method</a>
|
811
|
+
—
|
812
|
+
<span class="container">RubyProf::FlatPrinter</span>
|
813
|
+
|
770
814
|
<li class="method">
|
771
815
|
<a href="RubyProf/CallInfo.html#method-i-stack">#stack</a>
|
772
816
|
—
|
@@ -823,14 +867,14 @@
|
|
823
867
|
<span class="container">RubyProf::MethodInfo</span>
|
824
868
|
|
825
869
|
<li class="method">
|
826
|
-
<a href="RubyProf/
|
870
|
+
<a href="RubyProf/CallInfo.html#method-i-to_s">#to_s</a>
|
827
871
|
—
|
828
|
-
<span class="container">RubyProf::
|
872
|
+
<span class="container">RubyProf::CallInfo</span>
|
829
873
|
|
830
874
|
<li class="method">
|
831
|
-
<a href="RubyProf/
|
875
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-to_s">#to_s</a>
|
832
876
|
—
|
833
|
-
<span class="container">RubyProf::
|
877
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
834
878
|
|
835
879
|
<li class="method">
|
836
880
|
<a href="RubyProf/Thread.html#method-i-top_call_infos">#top_call_infos</a>
|
@@ -842,11 +886,6 @@
|
|
842
886
|
—
|
843
887
|
<span class="container">RubyProf::Thread</span>
|
844
888
|
|
845
|
-
<li class="method">
|
846
|
-
<a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
|
847
|
-
—
|
848
|
-
<span class="container">RubyProf::MethodInfo</span>
|
849
|
-
|
850
889
|
<li class="method">
|
851
890
|
<a href="RubyProf/Thread.html#method-i-total_time">#total_time</a>
|
852
891
|
—
|
@@ -862,6 +901,11 @@
|
|
862
901
|
—
|
863
902
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
864
903
|
|
904
|
+
<li class="method">
|
905
|
+
<a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
|
906
|
+
—
|
907
|
+
<span class="container">RubyProf::MethodInfo</span>
|
908
|
+
|
865
909
|
<li class="method">
|
866
910
|
<a href="RubyProf/MultiPrinter.html#method-i-tree_profile">#tree_profile</a>
|
867
911
|
—
|
@@ -873,21 +917,26 @@
|
|
873
917
|
<span class="container">RubyProf::CallInfoVisitor</span>
|
874
918
|
|
875
919
|
<li class="method">
|
876
|
-
<a href="RubyProf/
|
920
|
+
<a href="RubyProf/Thread.html#method-i-wait_time">#wait_time</a>
|
877
921
|
—
|
878
|
-
<span class="container">RubyProf::
|
922
|
+
<span class="container">RubyProf::Thread</span>
|
879
923
|
|
880
924
|
<li class="method">
|
881
925
|
<a href="RubyProf/AggregateCallInfo.html#method-i-wait_time">#wait_time</a>
|
882
926
|
—
|
883
927
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
928
|
+
|
929
|
+
<li class="method">
|
930
|
+
<a href="RubyProf/MethodInfo.html#method-i-wait_time">#wait_time</a>
|
931
|
+
—
|
932
|
+
<span class="container">RubyProf::MethodInfo</span>
|
884
933
|
</ul>
|
885
934
|
</main>
|
886
935
|
|
887
936
|
|
888
937
|
<footer id="validator-badges" role="contentinfo">
|
889
938
|
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
890
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.
|
939
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.2.
|
891
940
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
892
941
|
</footer>
|
893
942
|
|