ruby-prof 0.15.9 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +31 -1
  3. data/README.rdoc +83 -31
  4. data/Rakefile +1 -1
  5. data/bin/ruby-prof +4 -4
  6. data/doc/LICENSE.html +1 -1
  7. data/doc/README_rdoc.html +92 -33
  8. data/doc/Rack.html +1 -1
  9. data/doc/Rack/RubyProf.html +17 -14
  10. data/doc/RubyProf.html +30 -29
  11. data/doc/RubyProf/AbstractPrinter.html +1 -1
  12. data/doc/RubyProf/AggregateCallInfo.html +1 -1
  13. data/doc/RubyProf/CallInfo.html +1 -1
  14. data/doc/RubyProf/CallInfoPrinter.html +1 -1
  15. data/doc/RubyProf/CallInfoVisitor.html +1 -1
  16. data/doc/RubyProf/CallStackPrinter.html +1 -1
  17. data/doc/RubyProf/CallTreePrinter.html +349 -67
  18. data/doc/RubyProf/Cmd.html +5 -5
  19. data/doc/RubyProf/DotPrinter.html +2 -2
  20. data/doc/RubyProf/FlatPrinter.html +1 -1
  21. data/doc/RubyProf/FlatPrinterWithLineNumbers.html +1 -1
  22. data/doc/RubyProf/GraphHtmlPrinter.html +1 -1
  23. data/doc/RubyProf/GraphPrinter.html +1 -1
  24. data/doc/RubyProf/MethodInfo.html +2 -2
  25. data/doc/RubyProf/MultiPrinter.html +11 -9
  26. data/doc/RubyProf/Profile.html +94 -44
  27. data/doc/RubyProf/ProfileTask.html +1 -1
  28. data/doc/RubyProf/Thread.html +43 -1
  29. data/doc/created.rid +16 -16
  30. data/doc/examples/flat_txt.html +1 -1
  31. data/doc/examples/graph_html.html +1 -1
  32. data/doc/examples/graph_txt.html +3 -3
  33. data/doc/index.html +85 -30
  34. data/doc/js/navigation.js.gz +0 -0
  35. data/doc/js/search_index.js +1 -1
  36. data/doc/js/search_index.js.gz +0 -0
  37. data/doc/js/searcher.js +2 -2
  38. data/doc/js/searcher.js.gz +0 -0
  39. data/doc/table_of_contents.html +116 -67
  40. data/examples/cachegrind.out.1 +114 -0
  41. data/examples/cachegrind.out.1.32313213 +114 -0
  42. data/examples/graph.txt +1 -1
  43. data/ext/ruby_prof/extconf.rb +6 -2
  44. data/ext/ruby_prof/rp_measure_allocations.c +1 -1
  45. data/ext/ruby_prof/rp_measure_cpu_time.c +29 -31
  46. data/ext/ruby_prof/rp_method.c +1 -1
  47. data/ext/ruby_prof/rp_thread.c +57 -52
  48. data/ext/ruby_prof/ruby_prof.c +122 -66
  49. data/ext/ruby_prof/ruby_prof.h +2 -0
  50. data/lib/ruby-prof.rb +17 -16
  51. data/lib/ruby-prof/assets/call_stack_printer.js.html +1 -1
  52. data/lib/ruby-prof/compatibility.rb +9 -8
  53. data/lib/ruby-prof/method_info.rb +1 -1
  54. data/lib/ruby-prof/printers/call_tree_printer.rb +88 -50
  55. data/lib/ruby-prof/printers/dot_printer.rb +1 -1
  56. data/lib/ruby-prof/printers/multi_printer.rb +6 -4
  57. data/lib/ruby-prof/profile.rb +0 -1
  58. data/lib/ruby-prof/rack.rb +53 -16
  59. data/lib/ruby-prof/thread.rb +11 -0
  60. data/lib/ruby-prof/version.rb +1 -1
  61. data/test/exclude_threads_test.rb +2 -3
  62. data/test/fiber_test.rb +21 -7
  63. data/test/measure_cpu_time_test.rb +84 -24
  64. data/test/multi_printer_test.rb +5 -4
  65. data/test/pause_resume_test.rb +7 -7
  66. data/test/printers_test.rb +6 -4
  67. data/test/rack_test.rb +26 -1
  68. data/test/test_helper.rb +28 -3
  69. data/test/thread_test.rb +1 -0
  70. metadata +4 -2
@@ -1,31 +1,31 @@
1
- Wed, 09 Dec 2015 17:40:38 +0100
2
- bin/ruby-prof Sun, 22 Feb 2015 15:41:38 +0100
1
+ Wed, 24 Aug 2016 22:07:18 +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 Wed, 09 Dec 2015 15:28:08 +0100
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 Sat, 14 Feb 2015 13:03:02 +0100
7
+ lib/ruby-prof.rb Wed, 24 Aug 2016 21:59:47 +0200
8
8
  lib/ruby-prof/aggregate_call_info.rb Tue, 08 Dec 2015 18:03:49 +0100
9
- lib/ruby-prof/call_info.rb Tue, 08 Dec 2015 17:38:56 +0100
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 Sat, 14 Feb 2015 13:02:38 +0100
12
- lib/ruby-prof/method_info.rb Tue, 08 Dec 2015 18:03:25 +0100
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 Tue, 29 Jan 2013 16:43:39 +0100
17
- lib/ruby-prof/printers/dot_printer.rb Sun, 22 Feb 2015 16:10:12 +0100
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 Tue, 29 Jan 2013 16:43:39 +0100
23
- lib/ruby-prof/profile.rb Sun, 22 Feb 2015 16:10:12 +0100
24
- lib/ruby-prof/rack.rb Sun, 06 Dec 2015 14:17:01 +0100
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 Tue, 08 Dec 2015 17:40:21 +0100
27
- lib/ruby-prof/version.rb Wed, 09 Dec 2015 17:22:29 +0100
26
+ lib/ruby-prof/thread.rb Sun, 13 Mar 2016 17:39:57 +0100
27
+ lib/ruby-prof/version.rb Wed, 24 Aug 2016 22:03:29 +0200
28
28
  lib/unprof.rb Tue, 29 Jan 2013 16:43:39 +0100
29
- ext/ruby_prof/ruby_prof.c Sat, 14 Feb 2015 12:36:01 +0100
30
- README.rdoc Mon, 07 Dec 2015 21:01:22 +0100
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
@@ -132,7 +132,7 @@ method on a singleton class.

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.0.
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>

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.0.
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
 
@@ -198,8 +198,8 @@ name - The name of the method.
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, Object#is_prime was called 1001 times and 1000 of
202
- those calls were made by Object#is_prime.</p>
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">&para;</a> <a href="#top">&uarr;</a></span></h2>
205
205
 
@@ -241,7 +241,7 @@ Object#find_largest.

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.0.
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
 
@@ -164,7 +164,8 @@ the KCacheGrind profiling tool.

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 2.1.7.</p>
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&#39;ll need a C compiler so the
170
171
  extension can be compiled when it is installed.</p>
@@ -185,18 +186,18 @@ can compile.

185
186
 
186
187
  <h2 id="label-Usage">Usage<span><a href="#label-Usage">&para;</a> <a href="#top">&uarr;</a></span></h2>
187
188
 
188
- <p>There are two ways of running ruby-prof, via the command line or via its
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+executable">ruby-prof executable<span><a href="#label-ruby-prof+executable">&para;</a> <a href="#top">&uarr;</a></span></h3>
192
+ <h3 id="label-ruby-prof+Executable">ruby-prof Executable<span><a href="#label-ruby-prof+Executable">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h3>
197
+ <h3 id="label-ruby-prof+Convenience+API">ruby-prof Convenience API<span><a href="#label-ruby-prof+Convenience+API">&para;</a> <a href="#top">&uarr;</a></span></h3>
197
198
 
198
- <p>The second way is to use the ruby-prof API to profile particular segments
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">&#39;ruby-prof&#39;</span>
202
203
 
@@ -240,8 +241,8 @@ of code.

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 automatically call start if a profiling run has not
244
- yet started. In addition, resume can also take a block:</p>
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">&#39;ruby-prof&#39;</span>
247
248
 
@@ -249,13 +250,59 @@ yet started. In addition, resume can also take a block:

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">data</span> = <span class="ruby-constant">RubyProf</span>.<span class="ruby-identifier">stop</span>
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
- <h2 id="label-Method+and+Thread+Elimination">Method and Thread Elimination<span><a href="#label-Method+and+Thread+Elimination">&para;</a> <a href="#top">&uarr;</a></span></h2>
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">&para;</a> <a href="#top">&uarr;</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&#39;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">&para;</a> <a href="#top">&uarr;</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).

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">&para;</a> <a href="#top">&uarr;</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.

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 overwhelemed by the time Rails
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">&para;</a> <a href="#top">&uarr;</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></p>
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">&para;</a> <a href="#top">&uarr;</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.

531
577
  <h2 id="label-Multi-threaded+Applications">Multi-threaded Applications<span><a href="#label-Multi-threaded+Applications">&para;</a> <a href="#top">&uarr;</a></span></h2>
532
578
 
533
579
  <p>Unfortunately, Ruby does not provide an internal API for detecting thread
534
- context switches in 1.8. As a result, the timings ruby-prof reports for
535
- each thread may be slightly inaccurate. In particular, this will happen
536
- for newly spawned threads that go to sleep immediately (their first call).
537
- For instance, if you use Ruby&#39;s timeout library to wait for 2 seconds,
538
- the 2 seconds will be assigned to the foreground thread and not the newly
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&#39;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.

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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h2>
555
610
 
556
611
  <p>Code is located at <a
@@ -565,7 +620,7 @@ or open a github issue.

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.0.
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
 
Binary file
@@ -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","","

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","","

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","","

prints a HTML visualization of the call tree\n"],["RubyProf::CallTreePrinter","","RubyProf/CallTreePrinter.html","","

Generate profiling information in calltree format for use by kcachegrind\nand similar tools.\n"],["RubyProf::Cmd","","RubyProf/Cmd.html","",""],["RubyProf::DotPrinter","","RubyProf/DotPrinter.html","","

Generates a graphviz graph in dot format. To use the dot printer:\n\n

result = RubyProf.profile do\n  [code ...
\n"],["RubyProf::FlatPrinter","","RubyProf/FlatPrinter.html","","

Generates flat profile reports as text. To use the flat printer:\n\n

result = RubyProf.profile do\n  [code ...
\n"],["RubyProf::FlatPrinterWithLineNumbers","","RubyProf/FlatPrinterWithLineNumbers.html","","

Generates flat profile reports as text. To use the flat printer with line\nnumbers:\n\n

result = RubyProf.profile ...
\n"],["RubyProf::GraphHtmlPrinter","","RubyProf/GraphHtmlPrinter.html","","

Generates graph profile reports as html. To use the graph html printer:\n\n

result = RubyProf.profile do\n ...
\n"],["RubyProf::GraphPrinter","","RubyProf/GraphPrinter.html","","

Generates graph profile reports as text. To use the graph printer:\n\n

result = RubyProf.profile do\n  [code ...
\n"],["RubyProf::MethodInfo","","RubyProf/MethodInfo.html","",""],["RubyProf::MultiPrinter","","RubyProf/MultiPrinter.html","","

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","","

Define a task library for profiling unit tests with ruby-prof.\n

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","()","

Measurements\n"],["create_link","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-create_link","(thread, overall_time, method)","

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","()","

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","()","

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","()","

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","()","

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)","

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","()","

Returns threads ruby-prof should exclude from profiling\n"],["exclude_threads=","RubyProf","RubyProf.html#method-c-exclude_threads-3D","(value)","

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","()","

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)","

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","()","

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","()","

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","()","

Returns what ruby-prof is measuring. Valid values include:\n

*RubyProf::PROCESS_TIME - Measure process …\n"],["measure_mode=","RubyProf","RubyProf.html#method-c-measure_mode-3D","(value)","

Specifies what ruby-prof should measure. Valid values include:\n

*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)","

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)","

Create a new printer.\n

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)","

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)","

Returns a new profiler.\n

Parameters\n

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","()","

Pauses collecting profile data.\n"],["paused?","RubyProf::Profile","RubyProf/Profile.html#method-i-paused-3F","()","

Returns whether a profile is currently paused.\n"],["post_process","RubyProf::Profile","RubyProf/Profile.html#method-i-post_process","()","

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 = {})","

Print a profiling report to the provided output.\n

output - Any IO object, including STDOUT or a file. …\n"],["print","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print","(output = STDOUT, options = {})","

Specify print options.\n

options - Hash table\n\n

:min_percent - Number 0 to 100 that specifes the minimum\n  ...
\n"],["print","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print","(output = STDOUT, options = {})","

Specify print options.\n

options - Hash table\n\n

:min_percent - Number 0 to 100 that specifes the minimum\n  ...
\n"],["print","RubyProf::DotPrinter","RubyProf/DotPrinter.html#method-i-print","(output = STDOUT, options = {})","

Print a graph report to the provided output.\n

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)","

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)","

Profile a block\n"],["profile","RubyProf::Profile","RubyProf/Profile.html#method-c-profile","(*args)","

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","()","

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)","

Run script\n"],["running?","RubyProf","RubyProf.html#method-c-running-3F","()",""],["running?","RubyProf::Profile","RubyProf/Profile.html#method-i-running-3F","()","

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 = {})","

Specify print options.\n

options - Hash table\n\n

:min_percent - Number 0 to 100 that specifes the minimum\n  ...
\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","()","

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","()","

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","()","

Starts recording profile data.\n"],["start_script","RubyProf","RubyProf.html#method-c-start_script","(script)","

Profiling\n"],["stop","RubyProf","RubyProf.html#method-c-stop","()",""],["stop","RubyProf::Profile","RubyProf/Profile.html#method-i-stop","()","

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","()","

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","()","

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","","

Copyright (C) 2005 - 2014 Shugo Maeda <shugo@ruby-lang.org> and\nCharlie Savage <cfis@savagexi.com> …\n"],["README","","README_rdoc.html","","

ruby-prof\n

…\n"],["flat","","examples/flat_txt.html","","

Flat Profiles\n

Flat profiles show the total amount of time spent in each method. As an\nexample, here is …\n"],["graph.html","","examples/graph_html.html","","

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”\n“www.w3.org/TR/html4/strict.dtd”> …\n"],["graph","","examples/graph_txt.html","","

Graph Profiles\n

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","","

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","","

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","","

prints a HTML visualization of the call tree\n"],["RubyProf::CallTreePrinter","","RubyProf/CallTreePrinter.html","","

Generate profiling information in callgrind format for use by kcachegrind\nand similar tools.\n

Note: when …\n"],["RubyProf::Cmd","","RubyProf/Cmd.html","",""],["RubyProf::DotPrinter","","RubyProf/DotPrinter.html","","

Generates a graphviz graph in dot format. To use the dot printer:\n\n

result = RubyProf.profile do\n  [code ...
\n"],["RubyProf::FlatPrinter","","RubyProf/FlatPrinter.html","","

Generates flat profile reports as text. To use the flat printer:\n\n

result = RubyProf.profile do\n  [code ...
\n"],["RubyProf::FlatPrinterWithLineNumbers","","RubyProf/FlatPrinterWithLineNumbers.html","","

Generates flat profile reports as text. To use the flat printer with line\nnumbers:\n\n

result = RubyProf.profile ...
\n"],["RubyProf::GraphHtmlPrinter","","RubyProf/GraphHtmlPrinter.html","","

Generates graph profile reports as html. To use the graph html printer:\n\n

result = RubyProf.profile do\n ...
\n"],["RubyProf::GraphPrinter","","RubyProf/GraphPrinter.html","","

Generates graph profile reports as text. To use the graph printer:\n\n

result = RubyProf.profile do\n  [code ...
\n"],["RubyProf::MethodInfo","","RubyProf/MethodInfo.html","",""],["RubyProf::MultiPrinter","","RubyProf/MultiPrinter.html","","

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","","

Define a task library for profiling unit tests with ruby-prof.\n

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","()","

Measurements\n"],["create_link","RubyProf::GraphHtmlPrinter","RubyProf/GraphHtmlPrinter.html#method-i-create_link","(thread, overall_time, method)","

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","()","

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","()","

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","()","

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","()","

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)","

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","()","

Returns threads ruby-prof should exclude from profiling\n"],["exclude_threads=","RubyProf","RubyProf.html#method-c-exclude_threads-3D","(value)","

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","()","

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)","

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","()","

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","()","

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","()","

Returns what ruby-prof is measuring. Valid values include:\n

*RubyProf::WALL_TIME - Measure wall time using …\n"],["measure_mode=","RubyProf","RubyProf.html#method-c-measure_mode-3D","(value)","

Specifies what ruby-prof should measure. Valid values include:\n

*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)","

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)","

Create a new printer.\n

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)","

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)","

Returns a new profiler. Possible options for the options hash are:\n

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","()","

Pauses collecting profile data.\n"],["paused?","RubyProf::Profile","RubyProf/Profile.html#method-i-paused-3F","()","

Returns whether a profile is currently paused.\n"],["post_process","RubyProf::Profile","RubyProf/Profile.html#method-i-post_process","()","

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 = {})","

Print a profiling report to the provided output.\n

output - Any IO object, including STDOUT or a file. …\n"],["print","RubyProf::CallStackPrinter","RubyProf/CallStackPrinter.html#method-i-print","(output = STDOUT, options = {})","

Specify print options.\n

options - Hash table\n\n

:min_percent - Number 0 to 100 that specifes the minimum\n  ...
\n"],["print","RubyProf::CallTreePrinter","RubyProf/CallTreePrinter.html#method-i-print","(options = {})",""],["print","RubyProf::DotPrinter","RubyProf/DotPrinter.html#method-i-print","(output = STDOUT, options = {})","

Print a graph report to the provided output.\n

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)","

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)","

Profile a block\n"],["profile","RubyProf::Profile","RubyProf/Profile.html#method-c-profile","(*args)","

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","()","

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)","

Run script\n"],["running?","RubyProf","RubyProf.html#method-c-running-3F","()",""],["running?","RubyProf::Profile","RubyProf/Profile.html#method-i-running-3F","()","

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 = {})","

Specify print options.\n

options - Hash table\n\n

:min_percent - Number 0 to 100 that specifes the minimum\n  ...
\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","()","

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","()","

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","()","

Starts recording profile data.\n"],["start_script","RubyProf","RubyProf.html#method-c-start_script","(script)","

Profiling\n"],["stop","RubyProf","RubyProf.html#method-c-stop","()",""],["stop","RubyProf::Profile","RubyProf/Profile.html#method-i-stop","()","

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","()","

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","()","

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","","

Copyright (C) 2005 - 2014 Shugo Maeda <shugo@ruby-lang.org> and\nCharlie Savage <cfis@savagexi.com> …\n"],["README","","README_rdoc.html","","

ruby-prof\n

…\n"],["flat","","examples/flat_txt.html","","

Flat Profiles\n

Flat profiles show the total amount of time spent in each method. As an\nexample, here is …\n"],["graph.html","","examples/graph_html.html","","

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”\n“www.w3.org/TR/html4/strict.dtd”> …\n"],["graph","","examples/graph_txt.html","","

Graph Profiles\n

Graph profiles show how long each method runs, which methods call it and\nwhich methods …\n"]]}}

Binary file
@@ -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
 
Binary file
@@ -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+executable">ruby-prof executable</a>
40
- <li><a href="README_rdoc.html#label-ruby-prof+API">ruby-prof API</a>
41
- <li><a href="README_rdoc.html#label-Method+and+Thread+Elimination">Method and Thread Elimination</a>
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>
@@ -223,14 +227,14 @@
223
227
  <span class="container">RubyProf::Profile</span>
224
228
 
225
229
  <li class="method">
226
- <a href="RubyProf/CallInfoVisitor.html#method-c-new">::new</a>
230
+ <a href="RubyProf/AbstractPrinter.html#method-c-new">::new</a>
227
231
  &mdash;
228
- <span class="container">RubyProf::CallInfoVisitor</span>
232
+ <span class="container">RubyProf::AbstractPrinter</span>
229
233
 
230
234
  <li class="method">
231
- <a href="RubyProf/AbstractPrinter.html#method-c-new">::new</a>
235
+ <a href="RubyProf/CallInfoVisitor.html#method-c-new">::new</a>
232
236
  &mdash;
233
- <span class="container">RubyProf::AbstractPrinter</span>
237
+ <span class="container">RubyProf::CallInfoVisitor</span>
234
238
 
235
239
  <li class="method">
236
240
  <a href="RubyProf/AggregateCallInfo.html#method-c-new">::new</a>
@@ -332,6 +336,11 @@
332
336
  &mdash;
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
+ &mdash;
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
  &mdash;
@@ -343,14 +352,14 @@
343
352
  <span class="container">RubyProf::CallInfo</span>
344
353
 
345
354
  <li class="method">
346
- <a href="RubyProf/MethodInfo.html#method-i-called">#called</a>
355
+ <a href="RubyProf/AggregateCallInfo.html#method-i-called">#called</a>
347
356
  &mdash;
348
- <span class="container">RubyProf::MethodInfo</span>
357
+ <span class="container">RubyProf::AggregateCallInfo</span>
349
358
 
350
359
  <li class="method">
351
- <a href="RubyProf/AggregateCallInfo.html#method-i-called">#called</a>
360
+ <a href="RubyProf/MethodInfo.html#method-i-called">#called</a>
352
361
  &mdash;
353
- <span class="container">RubyProf::AggregateCallInfo</span>
362
+ <span class="container">RubyProf::MethodInfo</span>
354
363
 
355
364
  <li class="method">
356
365
  <a href="RubyProf/MethodInfo.html#method-i-children">#children</a>
@@ -363,14 +372,14 @@
363
372
  <span class="container">RubyProf::AggregateCallInfo</span>
364
373
 
365
374
  <li class="method">
366
- <a href="RubyProf/AggregateCallInfo.html#method-i-children_time">#children_time</a>
375
+ <a href="RubyProf/CallInfo.html#method-i-children_time">#children_time</a>
367
376
  &mdash;
368
- <span class="container">RubyProf::AggregateCallInfo</span>
377
+ <span class="container">RubyProf::CallInfo</span>
369
378
 
370
379
  <li class="method">
371
- <a href="RubyProf/CallInfo.html#method-i-children_time">#children_time</a>
380
+ <a href="RubyProf/AggregateCallInfo.html#method-i-children_time">#children_time</a>
372
381
  &mdash;
373
- <span class="container">RubyProf::CallInfo</span>
382
+ <span class="container">RubyProf::AggregateCallInfo</span>
374
383
 
375
384
  <li class="method">
376
385
  <a href="RubyProf/MethodInfo.html#method-i-children_time">#children_time</a>
@@ -412,6 +421,11 @@
412
421
  &mdash;
413
422
  <span class="container">RubyProf::CallInfo</span>
414
423
 
424
+ <li class="method">
425
+ <a href="RubyProf/Thread.html#method-i-detect_recursion">#detect_recursion</a>
426
+ &mdash;
427
+ <span class="container">RubyProf::Thread</span>
428
+
415
429
  <li class="method">
416
430
  <a href="RubyProf/MethodInfo.html#method-i-detect_recursion">#detect_recursion</a>
417
431
  &mdash;
@@ -423,9 +437,9 @@
423
437
  <span class="container">RubyProf::CallInfo</span>
424
438
 
425
439
  <li class="method">
426
- <a href="RubyProf/Thread.html#method-i-detect_recursion">#detect_recursion</a>
440
+ <a href="RubyProf/CallTreePrinter.html#method-i-determine_event_specification_and_value_scale">#determine_event_specification_and_value_scale</a>
427
441
  &mdash;
428
- <span class="container">RubyProf::Thread</span>
442
+ <span class="container">RubyProf::CallTreePrinter</span>
429
443
 
430
444
  <li class="method">
431
445
  <a href="RubyProf/CallStackPrinter.html#method-i-dump">#dump</a>
@@ -433,14 +447,14 @@
433
447
  <span class="container">RubyProf::CallStackPrinter</span>
434
448
 
435
449
  <li class="method">
436
- <a href="RubyProf/MethodInfo.html#method-i-eliminate-21">#eliminate!</a>
450
+ <a href="RubyProf/CallInfo.html#method-i-eliminate-21">#eliminate!</a>
437
451
  &mdash;
438
- <span class="container">RubyProf::MethodInfo</span>
452
+ <span class="container">RubyProf::CallInfo</span>
439
453
 
440
454
  <li class="method">
441
- <a href="RubyProf/CallInfo.html#method-i-eliminate-21">#eliminate!</a>
455
+ <a href="RubyProf/MethodInfo.html#method-i-eliminate-21">#eliminate!</a>
442
456
  &mdash;
443
- <span class="container">RubyProf::CallInfo</span>
457
+ <span class="container">RubyProf::MethodInfo</span>
444
458
 
445
459
  <li class="method">
446
460
  <a href="RubyProf/Profile.html#method-i-eliminate_methods-21">#eliminate_methods!</a>
@@ -462,6 +476,16 @@
462
476
  &mdash;
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
+ &mdash;
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
+ &mdash;
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
  &mdash;
@@ -513,14 +537,14 @@
513
537
  <span class="container">RubyProf::CallInfo</span>
514
538
 
515
539
  <li class="method">
516
- <a href="RubyProf/GraphHtmlPrinter.html#method-i-method_href">#method_href</a>
540
+ <a href="RubyProf/CallStackPrinter.html#method-i-method_href">#method_href</a>
517
541
  &mdash;
518
- <span class="container">RubyProf::GraphHtmlPrinter</span>
542
+ <span class="container">RubyProf::CallStackPrinter</span>
519
543
 
520
544
  <li class="method">
521
- <a href="RubyProf/CallStackPrinter.html#method-i-method_href">#method_href</a>
545
+ <a href="RubyProf/GraphHtmlPrinter.html#method-i-method_href">#method_href</a>
522
546
  &mdash;
523
- <span class="container">RubyProf::CallStackPrinter</span>
547
+ <span class="container">RubyProf::GraphHtmlPrinter</span>
524
548
 
525
549
  <li class="method">
526
550
  <a href="RubyProf/AbstractPrinter.html#method-i-method_name">#method_name</a>
@@ -572,6 +596,11 @@
572
596
  &mdash;
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
+ &mdash;
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
  &mdash;
@@ -588,14 +617,14 @@
588
617
  <span class="container">RubyProf::Profile</span>
589
618
 
590
619
  <li class="method">
591
- <a href="RubyProf/DotPrinter.html#method-i-print">#print</a>
620
+ <a href="RubyProf/CallTreePrinter.html#method-i-print">#print</a>
592
621
  &mdash;
593
- <span class="container">RubyProf::DotPrinter</span>
622
+ <span class="container">RubyProf::CallTreePrinter</span>
594
623
 
595
624
  <li class="method">
596
- <a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
625
+ <a href="RubyProf/GraphHtmlPrinter.html#method-i-print">#print</a>
597
626
  &mdash;
598
- <span class="container">RubyProf::MultiPrinter</span>
627
+ <span class="container">RubyProf::GraphHtmlPrinter</span>
599
628
 
600
629
  <li class="method">
601
630
  <a href="RubyProf/AbstractPrinter.html#method-i-print">#print</a>
@@ -603,19 +632,19 @@
603
632
  <span class="container">RubyProf::AbstractPrinter</span>
604
633
 
605
634
  <li class="method">
606
- <a href="RubyProf/CallTreePrinter.html#method-i-print">#print</a>
635
+ <a href="RubyProf/CallStackPrinter.html#method-i-print">#print</a>
607
636
  &mdash;
608
- <span class="container">RubyProf::CallTreePrinter</span>
637
+ <span class="container">RubyProf::CallStackPrinter</span>
609
638
 
610
639
  <li class="method">
611
- <a href="RubyProf/CallStackPrinter.html#method-i-print">#print</a>
640
+ <a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
612
641
  &mdash;
613
- <span class="container">RubyProf::CallStackPrinter</span>
642
+ <span class="container">RubyProf::MultiPrinter</span>
614
643
 
615
644
  <li class="method">
616
- <a href="RubyProf/GraphHtmlPrinter.html#method-i-print">#print</a>
645
+ <a href="RubyProf/DotPrinter.html#method-i-print">#print</a>
617
646
  &mdash;
618
- <span class="container">RubyProf::GraphHtmlPrinter</span>
647
+ <span class="container">RubyProf::DotPrinter</span>
619
648
 
620
649
  <li class="method">
621
650
  <a href="RubyProf/CallStackPrinter.html#method-i-print_commands">#print_commands</a>
@@ -652,6 +681,11 @@
652
681
  &mdash;
653
682
  <span class="container">RubyProf::CallStackPrinter</span>
654
683
 
684
+ <li class="method">
685
+ <a href="RubyProf/CallTreePrinter.html#method-i-print_headers">#print_headers</a>
686
+ &mdash;
687
+ <span class="container">RubyProf::CallTreePrinter</span>
688
+
655
689
  <li class="method">
656
690
  <a href="RubyProf/CallStackPrinter.html#method-i-print_help">#print_help</a>
657
691
  &mdash;
@@ -662,6 +696,11 @@
662
696
  &mdash;
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
+ &mdash;
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
  &mdash;
@@ -672,26 +711,26 @@
672
711
  &mdash;
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
- &mdash;
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
  &mdash;
683
717
  <span class="container">RubyProf::CallTreePrinter</span>
684
718
 
685
719
  <li class="method">
686
- <a href="RubyProf/CallTreePrinter.html#method-i-print_threads">#print_threads</a>
720
+ <a href="RubyProf/AbstractPrinter.html#method-i-print_thread">#print_thread</a>
687
721
  &mdash;
688
- <span class="container">RubyProf::CallTreePrinter</span>
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
  &mdash;
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
+ &mdash;
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
  &mdash;
@@ -703,20 +742,25 @@
703
742
  <span class="container">RubyProf::MethodInfo</span>
704
743
 
705
744
  <li class="method">
706
- <a href="RubyProf/Profile.html#method-i-resume">#resume</a>
745
+ <a href="RubyProf/CallTreePrinter.html#method-i-remove_subsidiary_files_from_previous_profile_runs">#remove_subsidiary_files_from_previous_profile_runs</a>
707
746
  &mdash;
708
- <span class="container">RubyProf::Profile</span>
747
+ <span class="container">RubyProf::CallTreePrinter</span>
709
748
 
710
749
  <li class="method">
711
- <a href="RubyProf/MethodInfo.html#method-i-root-3F">#root?</a>
750
+ <a href="RubyProf/Profile.html#method-i-resume">#resume</a>
712
751
  &mdash;
713
- <span class="container">RubyProf::MethodInfo</span>
752
+ <span class="container">RubyProf::Profile</span>
714
753
 
715
754
  <li class="method">
716
755
  <a href="RubyProf/CallInfo.html#method-i-root-3F">#root?</a>
717
756
  &mdash;
718
757
  <span class="container">RubyProf::CallInfo</span>
719
758
 
759
+ <li class="method">
760
+ <a href="RubyProf/MethodInfo.html#method-i-root-3F">#root?</a>
761
+ &mdash;
762
+ <span class="container">RubyProf::MethodInfo</span>
763
+
720
764
  <li class="method">
721
765
  <a href="RubyProf/Cmd.html#method-i-run">#run</a>
722
766
  &mdash;
@@ -733,14 +777,14 @@
733
777
  <span class="container">RubyProf::Profile</span>
734
778
 
735
779
  <li class="method">
736
- <a href="RubyProf/MethodInfo.html#method-i-self_time">#self_time</a>
780
+ <a href="RubyProf/AggregateCallInfo.html#method-i-self_time">#self_time</a>
737
781
  &mdash;
738
- <span class="container">RubyProf::MethodInfo</span>
782
+ <span class="container">RubyProf::AggregateCallInfo</span>
739
783
 
740
784
  <li class="method">
741
- <a href="RubyProf/AggregateCallInfo.html#method-i-self_time">#self_time</a>
785
+ <a href="RubyProf/MethodInfo.html#method-i-self_time">#self_time</a>
742
786
  &mdash;
743
- <span class="container">RubyProf::AggregateCallInfo</span>
787
+ <span class="container">RubyProf::MethodInfo</span>
744
788
 
745
789
  <li class="method">
746
790
  <a href="RubyProf/Cmd.html#method-i-setup_options">#setup_options</a>
@@ -758,14 +802,14 @@
758
802
  <span class="container">RubyProf::AbstractPrinter</span>
759
803
 
760
804
  <li class="method">
761
- <a href="RubyProf/FlatPrinter.html#method-i-sort_method">#sort_method</a>
805
+ <a href="RubyProf/AbstractPrinter.html#method-i-sort_method">#sort_method</a>
762
806
  &mdash;
763
- <span class="container">RubyProf::FlatPrinter</span>
807
+ <span class="container">RubyProf::AbstractPrinter</span>
764
808
 
765
809
  <li class="method">
766
- <a href="RubyProf/AbstractPrinter.html#method-i-sort_method">#sort_method</a>
810
+ <a href="RubyProf/FlatPrinter.html#method-i-sort_method">#sort_method</a>
767
811
  &mdash;
768
- <span class="container">RubyProf::AbstractPrinter</span>
812
+ <span class="container">RubyProf::FlatPrinter</span>
769
813
 
770
814
  <li class="method">
771
815
  <a href="RubyProf/CallInfo.html#method-i-stack">#stack</a>
@@ -818,9 +862,9 @@
818
862
  <span class="container">RubyProf::CallStackPrinter</span>
819
863
 
820
864
  <li class="method">
821
- <a href="RubyProf/MethodInfo.html#method-i-to_s">#to_s</a>
865
+ <a href="RubyProf/CallInfo.html#method-i-to_s">#to_s</a>
822
866
  &mdash;
823
- <span class="container">RubyProf::MethodInfo</span>
867
+ <span class="container">RubyProf::CallInfo</span>
824
868
 
825
869
  <li class="method">
826
870
  <a href="RubyProf/AggregateCallInfo.html#method-i-to_s">#to_s</a>
@@ -828,9 +872,9 @@
828
872
  <span class="container">RubyProf::AggregateCallInfo</span>
829
873
 
830
874
  <li class="method">
831
- <a href="RubyProf/CallInfo.html#method-i-to_s">#to_s</a>
875
+ <a href="RubyProf/MethodInfo.html#method-i-to_s">#to_s</a>
832
876
  &mdash;
833
- <span class="container">RubyProf::CallInfo</span>
877
+ <span class="container">RubyProf::MethodInfo</span>
834
878
 
835
879
  <li class="method">
836
880
  <a href="RubyProf/Thread.html#method-i-top_call_infos">#top_call_infos</a>
@@ -843,24 +887,24 @@
843
887
  <span class="container">RubyProf::Thread</span>
844
888
 
845
889
  <li class="method">
846
- <a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
890
+ <a href="RubyProf/AggregateCallInfo.html#method-i-total_time">#total_time</a>
847
891
  &mdash;
848
- <span class="container">RubyProf::MethodInfo</span>
892
+ <span class="container">RubyProf::AggregateCallInfo</span>
849
893
 
850
894
  <li class="method">
851
- <a href="RubyProf/Thread.html#method-i-total_time">#total_time</a>
895
+ <a href="RubyProf/CallStackPrinter.html#method-i-total_time">#total_time</a>
852
896
  &mdash;
853
- <span class="container">RubyProf::Thread</span>
897
+ <span class="container">RubyProf::CallStackPrinter</span>
854
898
 
855
899
  <li class="method">
856
- <a href="RubyProf/CallStackPrinter.html#method-i-total_time">#total_time</a>
900
+ <a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
857
901
  &mdash;
858
- <span class="container">RubyProf::CallStackPrinter</span>
902
+ <span class="container">RubyProf::MethodInfo</span>
859
903
 
860
904
  <li class="method">
861
- <a href="RubyProf/AggregateCallInfo.html#method-i-total_time">#total_time</a>
905
+ <a href="RubyProf/Thread.html#method-i-total_time">#total_time</a>
862
906
  &mdash;
863
- <span class="container">RubyProf::AggregateCallInfo</span>
907
+ <span class="container">RubyProf::Thread</span>
864
908
 
865
909
  <li class="method">
866
910
  <a href="RubyProf/MultiPrinter.html#method-i-tree_profile">#tree_profile</a>
@@ -881,13 +925,18 @@
881
925
  <a href="RubyProf/AggregateCallInfo.html#method-i-wait_time">#wait_time</a>
882
926
  &mdash;
883
927
  <span class="container">RubyProf::AggregateCallInfo</span>
928
+
929
+ <li class="method">
930
+ <a href="RubyProf/Thread.html#method-i-wait_time">#wait_time</a>
931
+ &mdash;
932
+ <span class="container">RubyProf::Thread</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.0.
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