ruby-prof 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/doc/LICENSE.html +11 -14
  3. data/doc/README_rdoc.html +106 -109
  4. data/doc/Rack.html +6 -9
  5. data/doc/Rack/RubyProf.html +12 -15
  6. data/doc/RubyProf.html +11 -13
  7. data/doc/RubyProf/AbstractPrinter.html +7 -10
  8. data/doc/RubyProf/AggregateCallInfo.html +6 -9
  9. data/doc/RubyProf/CallInfo.html +8 -11
  10. data/doc/RubyProf/CallInfoPrinter.html +7 -10
  11. data/doc/RubyProf/CallInfoVisitor.html +6 -9
  12. data/doc/RubyProf/CallStackPrinter.html +48 -51
  13. data/doc/RubyProf/CallTreePrinter.html +14 -17
  14. data/doc/RubyProf/Cmd.html +44 -47
  15. data/doc/RubyProf/DotPrinter.html +8 -11
  16. data/doc/RubyProf/FlatPrinter.html +6 -9
  17. data/doc/RubyProf/FlatPrinterWithLineNumbers.html +9 -12
  18. data/doc/RubyProf/GraphHtmlPrinter.html +14 -18
  19. data/doc/RubyProf/GraphPrinter.html +6 -9
  20. data/doc/RubyProf/MethodInfo.html +8 -11
  21. data/doc/RubyProf/MultiPrinter.html +6 -9
  22. data/doc/RubyProf/Profile.html +7 -10
  23. data/doc/RubyProf/ProfileTask.html +18 -20
  24. data/doc/RubyProf/Thread.html +6 -9
  25. data/doc/created.rid +4 -4
  26. data/doc/{fonts.css → css/fonts.css} +0 -0
  27. data/doc/{rdoc.css → css/rdoc.css} +11 -1
  28. data/doc/examples/flat_txt.html +8 -11
  29. data/doc/examples/graph_html.html +8 -10
  30. data/doc/examples/graph_txt.html +13 -16
  31. data/doc/index.html +108 -109
  32. data/doc/js/darkfish.js +32 -11
  33. data/doc/js/jquery.js +4 -18
  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.gz +0 -0
  38. data/doc/table_of_contents.html +9 -9
  39. data/ext/ruby_prof/ruby_prof.c +2 -2
  40. data/lib/ruby-prof/version.rb +1 -1
  41. data/ruby-prof.gemspec +1 -1
  42. data/test/aggregate_test.rb +1 -1
  43. data/test/basic_test.rb +5 -5
  44. data/test/block_test.rb +74 -0
  45. data/test/call_info_test.rb +1 -1
  46. data/test/call_info_visitor_test.rb +1 -1
  47. data/test/duplicate_names_test.rb +1 -1
  48. data/test/dynamic_method_test.rb +37 -56
  49. data/test/enumerable_test.rb +7 -2
  50. data/test/exceptions_test.rb +2 -2
  51. data/test/exclude_threads_test.rb +1 -1
  52. data/test/fiber_test.rb +1 -1
  53. data/test/line_number_test.rb +1 -1
  54. data/test/measure_allocations_test.rb +1 -1
  55. data/test/measure_cpu_time_test.rb +1 -1
  56. data/test/measure_gc_runs_test.rb +1 -1
  57. data/test/measure_gc_time_test.rb +1 -1
  58. data/test/measure_memory_test.rb +2 -2
  59. data/test/measure_process_time_test.rb +1 -1
  60. data/test/measure_wall_time_test.rb +2 -2
  61. data/test/method_elimination_test.rb +1 -1
  62. data/test/module_test.rb +1 -1
  63. data/test/multi_printer_test.rb +1 -1
  64. data/test/pause_resume_test.rb +1 -1
  65. data/test/printers_test.rb +5 -5
  66. data/test/rack_test.rb +2 -2
  67. data/test/recursive_test.rb +1 -1
  68. data/test/singleton_test.rb +1 -1
  69. data/test/stack_printer_test.rb +1 -1
  70. data/test/stack_test.rb +1 -1
  71. data/test/start_stop_test.rb +4 -4
  72. data/test/test_helper.rb +8 -1
  73. data/test/thread_test.rb +1 -1
  74. data/test/unique_call_path_test.rb +2 -2
  75. data/test/yarv_test.rb +1 -1
  76. metadata +64 -71
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>class RubyProf::GraphPrinter - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -136,7 +133,7 @@ href="../README_rdoc.html">README</a></p>
136
133
 
137
134
  <footer id="validator-badges" role="contentinfo">
138
135
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
139
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
140
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
136
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
137
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
141
138
  </footer>
142
139
 
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>class RubyProf::MethodInfo - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -210,7 +207,7 @@
210
207
  <div class="method-source-code" id="aggregate_children-source">
211
208
  <pre><span class="ruby-comment"># File lib/ruby-prof/method_info.rb, line 105</span>
212
209
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">aggregate_children</span>
213
- <span class="ruby-comment"># Group call info's based on their targets</span>
210
+ <span class="ruby-comment"># Group call info&#39;s based on their targets</span>
214
211
  <span class="ruby-identifier">groups</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">children</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
215
212
  <span class="ruby-identifier">key</span> = <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">target</span>
216
213
  (<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">||=</span> []) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">call_info</span>
@@ -252,7 +249,7 @@
252
249
  <div class="method-source-code" id="aggregate_parents-source">
253
250
  <pre><span class="ruby-comment"># File lib/ruby-prof/method_info.rb, line 92</span>
254
251
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">aggregate_parents</span>
255
- <span class="ruby-comment"># Group call info's based on their parents</span>
252
+ <span class="ruby-comment"># Group call info&#39;s based on their parents</span>
256
253
  <span class="ruby-identifier">groups</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
257
254
  <span class="ruby-identifier">key</span> = <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">target</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>
258
255
  (<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">||=</span> []) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">call_info</span>
@@ -682,7 +679,7 @@
682
679
 
683
680
  <footer id="validator-badges" role="contentinfo">
684
681
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
685
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
686
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
682
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
683
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
687
684
  </footer>
688
685
 
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>class RubyProf::MultiPrinter - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -355,7 +352,7 @@ pofile file, defaults to “profile”.</p>
355
352
 
356
353
  <footer id="validator-badges" role="contentinfo">
357
354
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
358
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
359
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
355
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
356
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
360
357
  </footer>
361
358
 
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>class RubyProf::Profile - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -149,7 +146,7 @@
149
146
 
150
147
  <p>Returns a new profiler.</p>
151
148
 
152
- <h2 id="method-c-new-label-Parameters">Parameters<span><a href="#method-c-new-label-Parameters">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
149
+ <h2 id="method-c-new-label-Parameters">Parameters<span><a href="#method-c-new-label-Parameters">&para;</a> <a href="#top">&uarr;</a></span></h2>
153
150
  <dl class="rdoc-list note-list"><dt>mode
154
151
  <dd>
155
152
  <p>Measure mode (optional). Specifies the profile measure mode. If not
@@ -761,7 +758,7 @@ prof_threads(VALUE self)
761
758
 
762
759
  <footer id="validator-badges" role="contentinfo">
763
760
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
764
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
765
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
761
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
762
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
766
763
  </footer>
767
764
 
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>class RubyProf::ProfileTask - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -121,10 +118,10 @@ min_percent - Methods that take less than the specified percent
121
118
 
122
119
  <p>Example:</p>
123
120
 
124
- <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'ruby-prof/task'</span>
121
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;ruby-prof/task&#39;</span>
125
122
 
126
123
  <span class="ruby-constant">RubyProf</span><span class="ruby-operator">::</span><span class="ruby-constant">ProfileTask</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span>
127
- <span class="ruby-identifier">t</span>.<span class="ruby-identifier">test_files</span> = <span class="ruby-constant">FileList</span>[<span class="ruby-string">'test/test*.rb'</span>]
124
+ <span class="ruby-identifier">t</span>.<span class="ruby-identifier">test_files</span> = <span class="ruby-constant">FileList</span>[<span class="ruby-string">&#39;test/test*.rb&#39;</span>]
128
125
  <span class="ruby-identifier">t</span>.<span class="ruby-identifier">output_dir</span> = <span class="ruby-string">&quot;c:/temp&quot;</span>
129
126
  <span class="ruby-identifier">t</span>.<span class="ruby-identifier">printer</span> = :<span class="ruby-identifier">graph</span>
130
127
  <span class="ruby-identifier">t</span>.<span class="ruby-identifier">min_percent</span> = <span class="ruby-value">10</span>
@@ -137,15 +134,16 @@ specified on the command line. This provides an easy way to run just one
137
134
  test.</p>
138
135
 
139
136
  <p>If rake is invoked with a “TESTOPTS=options” command line option, then the
140
- given options are passed to the test process after a ‘–’. This allows
141
- Test::Unit options to be passed to the test suite.</p>
137
+ given options are passed to the test process after a &#39;–&#39;. This
138
+ allows Test::Unit options to be passed to the test suite.</p>
142
139
 
143
140
  <p>Examples:</p>
144
141
 
145
- <pre>rake profile # run tests normally
146
- rake profile TEST=just_one_file.rb # run just one test file.
147
- rake profile TESTOPTS=&quot;-v&quot; # run in verbose mode
148
- rake profile TESTOPTS=&quot;--runner=fox&quot; # use the fox test runner</pre>
142
+ <pre class="ruby"><span class="ruby-identifier">rake</span> <span class="ruby-identifier">profile</span> <span class="ruby-comment"># run tests normally</span>
143
+ <span class="ruby-identifier">rake</span> <span class="ruby-identifier">profile</span> <span class="ruby-constant">TEST</span>=<span class="ruby-identifier">just_one_file</span>.<span class="ruby-identifier">rb</span> <span class="ruby-comment"># run just one test file.</span>
144
+ <span class="ruby-identifier">rake</span> <span class="ruby-identifier">profile</span> <span class="ruby-constant">TESTOPTS</span>=<span class="ruby-string">&quot;-v&quot;</span> <span class="ruby-comment"># run in verbose mode</span>
145
+ <span class="ruby-identifier">rake</span> <span class="ruby-identifier">profile</span> <span class="ruby-constant">TESTOPTS</span>=<span class="ruby-string">&quot;--runner=fox&quot;</span> <span class="ruby-comment"># use the fox test runner</span>
146
+ </pre>
149
147
 
150
148
  </section>
151
149
 
@@ -283,7 +281,7 @@ rake profile TESTOPTS=&quot;--runner=fox&quot; # use the fox test runner</pre>
283
281
  <pre><span class="ruby-comment"># File lib/ruby-prof/task.rb, line 135</span>
284
282
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">clean_output_directory</span>
285
283
  <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">output_directory</span>)
286
- <span class="ruby-identifier">files</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">output_directory</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/*'</span>)
284
+ <span class="ruby-identifier">files</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">output_directory</span> <span class="ruby-operator">+</span> <span class="ruby-string">&#39;/*&#39;</span>)
287
285
  <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm</span>(<span class="ruby-identifier">files</span>)
288
286
  <span class="ruby-keyword">end</span>
289
287
  <span class="ruby-keyword">end</span></pre>
@@ -435,7 +433,7 @@ rake profile TESTOPTS=&quot;--runner=fox&quot; # use the fox test runner</pre>
435
433
  <div class="method-source-code" id="run_script-source">
436
434
  <pre><span class="ruby-comment"># File lib/ruby-prof/task.rb, line 90</span>
437
435
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">run_script</span>(<span class="ruby-identifier">script_path</span>)
438
- <span class="ruby-identifier">run_code</span> = <span class="ruby-string">''</span>
436
+ <span class="ruby-identifier">run_code</span> = <span class="ruby-string">&#39;&#39;</span>
439
437
  <span class="ruby-constant">RakeFileUtils</span>.<span class="ruby-identifier">verbose</span>(<span class="ruby-ivar">@verbose</span>) <span class="ruby-keyword">do</span>
440
438
  <span class="ruby-identifier">file_name</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">script_path</span>, <span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-identifier">script_path</span>))
441
439
  <span class="ruby-keyword">case</span> <span class="ruby-ivar">@printer</span>
@@ -456,7 +454,7 @@ rake profile TESTOPTS=&quot;--runner=fox&quot; # use the fox test runner</pre>
456
454
  <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;ruby &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">command_line</span>
457
455
  <span class="ruby-comment"># We have to catch the exeption to continue on. However,</span>
458
456
  <span class="ruby-comment"># the error message will have been output to STDERR</span>
459
- <span class="ruby-comment"># already by the time we get here so we don't have to</span>
457
+ <span class="ruby-comment"># already by the time we get here so we don&#39;t have to</span>
460
458
  <span class="ruby-comment"># do that again</span>
461
459
  <span class="ruby-keyword">begin</span>
462
460
  <span class="ruby-identifier">ruby</span> <span class="ruby-identifier">command_line</span>
@@ -486,7 +484,7 @@ rake profile TESTOPTS=&quot;--runner=fox&quot; # use the fox test runner</pre>
486
484
 
487
485
  <footer id="validator-badges" role="contentinfo">
488
486
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
489
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
490
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
487
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
488
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
491
489
  </footer>
492
490
 
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>class RubyProf::Thread - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="class">
25
22
  <nav role="navigation">
@@ -196,7 +193,7 @@
196
193
 
197
194
  <footer id="validator-badges" role="contentinfo">
198
195
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
199
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
200
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
196
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
197
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
201
198
  </footer>
202
199
 
data/doc/created.rid CHANGED
@@ -1,4 +1,4 @@
1
- Thu, 23 Oct 2014 01:43:21 +0200
1
+ Fri, 16 Jan 2015 14:11:33 +0100
2
2
  bin/ruby-prof Wed, 25 Dec 2013 08:28:55 +0100
3
3
  bin/ruby-prof-check-trace Sun, 10 Mar 2013 10:57:14 +0100
4
4
  examples/flat.txt Tue, 29 Jan 2013 16:43:39 +0100
@@ -9,7 +9,7 @@ lib/ruby-prof/aggregate_call_info.rb Wed, 25 Dec 2013 09:41:59 +0100
9
9
  lib/ruby-prof/call_info.rb Tue, 29 Jan 2013 16:44:27 +0100
10
10
  lib/ruby-prof/call_info_visitor.rb Wed, 25 Dec 2013 09:43:12 +0100
11
11
  lib/ruby-prof/compatibility.rb Mon, 30 Dec 2013 08:25:04 +0100
12
- lib/ruby-prof/method_info.rb Tue, 29 Jan 2013 16:44:27 +0100
12
+ lib/ruby-prof/method_info.rb Sun, 28 Dec 2014 16:20:48 +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, 10 Mar 2013 10:57:14 +0100
15
15
  lib/ruby-prof/printers/call_stack_printer.rb Sun, 10 Mar 2013 10:57:14 +0100
@@ -24,8 +24,8 @@ lib/ruby-prof/profile.rb Wed, 25 Dec 2013 08:59:06 +0100
24
24
  lib/ruby-prof/rack.rb Thu, 23 Oct 2014 01:29:30 +0200
25
25
  lib/ruby-prof/task.rb Tue, 29 Jan 2013 16:43:39 +0100
26
26
  lib/ruby-prof/thread.rb Wed, 25 Dec 2013 09:34:14 +0100
27
- lib/ruby-prof/version.rb Thu, 23 Oct 2014 01:32:20 +0200
27
+ lib/ruby-prof/version.rb Fri, 16 Jan 2015 14:10:17 +0100
28
28
  lib/unprof.rb Tue, 29 Jan 2013 16:43:39 +0100
29
- ext/ruby_prof/ruby_prof.c Mon, 30 Dec 2013 14:56:05 +0100
29
+ ext/ruby_prof/ruby_prof.c Fri, 16 Jan 2015 14:11:30 +0100
30
30
  README.rdoc Thu, 23 Oct 2014 01:29:30 +0200
31
31
  LICENSE Tue, 20 May 2014 07:16:27 +0200
File without changes
@@ -23,12 +23,22 @@ h3 span,
23
23
  h4 span,
24
24
  h5 span,
25
25
  h6 span {
26
+ position: relative;
27
+
26
28
  display: none;
27
29
  padding-left: 1em;
30
+ line-height: 0;
31
+ vertical-align: baseline;
28
32
  font-size: 10px;
29
- vertical-align: super;
30
33
  }
31
34
 
35
+ h1 span { top: -1.3em; }
36
+ h2 span { top: -1.2em; }
37
+ h3 span { top: -1.0em; }
38
+ h4 span { top: -0.8em; }
39
+ h5 span { top: -0.5em; }
40
+ h6 span { top: -0.5em; }
41
+
32
42
  h1:hover span,
33
43
  h2:hover span,
34
44
  h3:hover span,
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>flat - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="file">
25
22
  <nav role="navigation">
@@ -79,7 +76,7 @@
79
76
 
80
77
  <main role="main" aria-label="Page examples/flat.txt">
81
78
 
82
- <h1 id="label-Flat+Profiles">Flat Profiles<span><a href="#label-Flat+Profiles">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
79
+ <h1 id="label-Flat+Profiles">Flat Profiles<span><a href="#label-Flat+Profiles">&para;</a> <a href="#top">&uarr;</a></span></h1>
83
80
 
84
81
  <p>Flat profiles show the total amount of time spent in each method. As an
85
82
  example, here is the output from running printers_test.rb.</p>
@@ -118,7 +115,7 @@ example, here is the output from running printers_test.rb.</p>
118
115
  cumulative - The sum of the time spent in this method and all the methods listed above it.
119
116
  total - The time spent in this method and its children.
120
117
  self - The time spent in this method.
121
- children - The time spent in this method's children.
118
+ children - The time spent in this method&#39;s children.
122
119
  calls - The number of times this method was called.
123
120
  self/call - The average time spent per call in this method.
124
121
  total/call - The average time spent per call in this method and its children.
@@ -146,7 +143,7 @@ total time of 8.72 seconds.</p>
146
143
 
147
144
  <footer id="validator-badges" role="contentinfo">
148
145
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
149
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
150
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
146
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
147
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
151
148
  </footer>
152
149
 
@@ -6,20 +6,17 @@
6
6
 
7
7
  <title>graph.html - ruby-prof</title>
8
8
 
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
9
  <script type="text/javascript">
13
10
  var rdoc_rel_prefix = "../";
14
11
  </script>
15
12
 
16
13
  <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
14
  <script src="../js/darkfish.js"></script>
22
15
 
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
23
20
 
24
21
  <body id="top" role="document" class="file">
25
22
  <nav role="navigation">
@@ -129,7 +126,8 @@ it</p>
129
126
  <p>&lt;p&gt;The main advantage of an HTML graph format versus the text format
130
127
  is the use of</p>
131
128
 
132
- <pre>hyperlinks to jump between methods. This makes it easier to understand the flow</pre>
129
+ <pre class="ruby"><span class="ruby-identifier">hyperlinks</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">jump</span> <span class="ruby-identifier">between</span> <span class="ruby-identifier">methods</span>. <span class="ruby-constant">This</span> <span class="ruby-identifier">makes</span> <span class="ruby-identifier">it</span> <span class="ruby-identifier">easier</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">understand</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">flow</span>
130
+ </pre>
133
131
 
134
132
  <p>of control through a program and which methods take the most
135
133
  time.&lt;/p&gt; &lt;p&gt;Below is the output from running printers_test.rb
@@ -846,7 +844,7 @@ reproduced in HTML. &lt;/p&gt; &lt;p&gt;Profile Report&lt;/p&gt;</p>
846
844
 
847
845
  <footer id="validator-badges" role="contentinfo">
848
846
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
849
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
850
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
847
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
848
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
851
849
  </footer>
852
850