ruby-prof 0.13.1 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +14 -0
  3. data/README.rdoc +1 -1
  4. data/Rakefile +2 -3
  5. data/bin/ruby-prof +4 -4
  6. data/bin/ruby-prof-check-trace +45 -0
  7. data/doc/LICENSE.html +49 -88
  8. data/doc/README_rdoc.html +92 -106
  9. data/doc/Rack.html +47 -116
  10. data/doc/Rack/RubyProf.html +119 -174
  11. data/doc/RubyProf.html +184 -216
  12. data/doc/RubyProf/AbstractPrinter.html +131 -162
  13. data/doc/RubyProf/AggregateCallInfo.html +136 -166
  14. data/doc/RubyProf/CallInfo.html +113 -154
  15. data/doc/RubyProf/CallInfoPrinter.html +56 -123
  16. data/doc/RubyProf/CallInfoVisitor.html +87 -216
  17. data/doc/RubyProf/CallStackPrinter.html +222 -215
  18. data/doc/RubyProf/CallTreePrinter.html +91 -142
  19. data/doc/RubyProf/Cmd.html +115 -157
  20. data/doc/RubyProf/DotPrinter.html +88 -140
  21. data/doc/RubyProf/FlatPrinter.html +66 -129
  22. data/doc/RubyProf/FlatPrinterWithLineNumbers.html +69 -132
  23. data/doc/RubyProf/GraphHtmlPrinter.html +115 -166
  24. data/doc/RubyProf/GraphPrinter.html +58 -125
  25. data/doc/RubyProf/MethodInfo.html +147 -172
  26. data/doc/RubyProf/MultiPrinter.html +104 -150
  27. data/doc/RubyProf/Profile.html +125 -179
  28. data/doc/RubyProf/ProfileTask.html +117 -157
  29. data/doc/RubyProf/Test.html +115 -154
  30. data/doc/RubyProf/Thread.html +87 -147
  31. data/doc/created.rid +13 -14
  32. data/doc/examples/flat_txt.html +51 -90
  33. data/doc/examples/graph_html.html +852 -0
  34. data/doc/examples/graph_txt.html +64 -92
  35. data/doc/fonts.css +167 -0
  36. data/doc/fonts/Lato-Light.ttf +0 -0
  37. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  38. data/doc/fonts/Lato-Regular.ttf +0 -0
  39. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  40. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  41. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  42. data/doc/images/add.png +0 -0
  43. data/doc/images/arrow_up.png +0 -0
  44. data/doc/images/delete.png +0 -0
  45. data/doc/images/tag_blue.png +0 -0
  46. data/doc/index.html +75 -65
  47. data/doc/js/darkfish.js +0 -15
  48. data/doc/js/search.js +20 -5
  49. data/doc/js/search_index.js +1 -1
  50. data/doc/rdoc.css +255 -218
  51. data/doc/table_of_contents.html +751 -353
  52. data/ext/ruby_prof/extconf.rb +20 -22
  53. data/ext/ruby_prof/rp_measure_allocations.c +9 -5
  54. data/ext/ruby_prof/rp_measure_gc_runs.c +8 -0
  55. data/ext/ruby_prof/rp_measure_gc_time.c +5 -2
  56. data/ext/ruby_prof/rp_measure_wall_time.c +1 -0
  57. data/ext/ruby_prof/rp_method.c +0 -9
  58. data/ext/ruby_prof/rp_method.h +1 -6
  59. data/ext/ruby_prof/ruby_prof.c +32 -112
  60. data/ext/ruby_prof/ruby_prof.h +9 -10
  61. data/lib/ruby-prof.rb +2 -1
  62. data/lib/ruby-prof/aggregate_call_info.rb +4 -6
  63. data/lib/ruby-prof/call_info_visitor.rb +42 -44
  64. data/lib/ruby-prof/printers/graph_html_printer.rb +0 -8
  65. data/lib/ruby-prof/profile.rb +4 -4
  66. data/lib/ruby-prof/rack.rb +47 -47
  67. data/lib/ruby-prof/task.rb +0 -0
  68. data/lib/ruby-prof/thread.rb +22 -22
  69. data/lib/ruby-prof/version.rb +3 -0
  70. data/ruby-prof.gemspec +7 -11
  71. data/test/call_info_test.rb +78 -78
  72. data/test/call_info_visitor_test.rb +31 -31
  73. data/test/fiber_test.rb +2 -2
  74. data/test/measure_gc_runs_test.rb +1 -1
  75. data/test/measure_process_time_test.rb +7 -6
  76. data/test/printers_test.rb +4 -8
  77. data/test/recursive_test.rb +5 -9
  78. data/test/test_helper.rb +1 -1
  79. data/test/unique_call_path_test.rb +7 -29
  80. data/test/yarv_test.rb +55 -0
  81. metadata +63 -55
  82. data/ext/ruby_prof/version.h +0 -7
  83. data/lib/ruby-prof/test.rb +0 -150
  84. data/test/exec_test.rb +0 -14
  85. data/test/test_suite.rb +0 -37
@@ -2,159 +2,93 @@
2
2
 
3
3
  <html>
4
4
  <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <meta charset="UTF-8">
6
6
 
7
7
  <title>class RubyProf::DotPrinter - ruby-prof</title>
8
8
 
9
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
10
11
 
11
12
  <script type="text/javascript">
12
13
  var rdoc_rel_prefix = "../";
13
14
  </script>
14
15
 
15
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
16
+ <script src="../js/jquery.js"></script>
17
+ <script src="../js/navigation.js"></script>
18
+ <script src="../js/search_index.js"></script>
19
+ <script src="../js/search.js"></script>
20
+ <script src="../js/searcher.js"></script>
21
+ <script src="../js/darkfish.js"></script>
21
22
 
22
23
 
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../index.html">Home</a>
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
28
34
  <a href="../table_of_contents.html#classes">Classes</a>
29
35
  <a href="../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
36
+ </div>
37
+ </div>
33
38
 
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
35
40
  <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
38
45
  title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
46
+ </div>
41
47
 
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
45
-
46
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>lib/ruby-prof/printers/dot_printer.rb
51
- </ul>
52
- </nav>
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
53
 
54
-
55
54
  </div>
56
55
 
56
+
57
+
57
58
  <div id="class-metadata">
58
59
 
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</h3>
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
61
63
 
62
64
  <p class="link"><a href="AbstractPrinter.html">RubyProf::AbstractPrinter</a>
63
65
 
64
- </nav>
66
+ </div>
65
67
 
66
68
 
69
+
67
70
  <!-- Method Quickref -->
68
- <nav id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
70
73
 
71
- <ul class="link-list">
74
+ <ul class="link-list" role="directory">
72
75
 
73
- <li><a href="#method-c-new">::new</a>
76
+ <li class="calls-super" ><a href="#method-c-new">::new</a>
74
77
 
75
- <li><a href="#method-i-print">#print</a>
78
+ <li ><a href="#method-i-print">#print</a>
76
79
 
77
80
  </ul>
78
- </nav>
79
-
80
- </div>
81
-
82
- <div id="project-metadata">
83
- <nav id="fileindex-section" class="section project-section">
84
- <h3 class="section-header">Pages</h3>
85
-
86
- <ul>
87
-
88
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
89
-
90
- <li class="file"><a href="../README_rdoc.html">README</a>
91
-
92
- <li class="file"><a href="../examples/flat_txt.html">flat</a>
93
-
94
- <li class="file"><a href="../examples/graph_txt.html">graph</a>
95
-
96
- </ul>
97
- </nav>
98
-
99
- <nav id="classindex-section" class="section project-section">
100
- <h3 class="section-header">Class and Module Index</h3>
101
-
102
- <ul class="link-list">
103
-
104
- <li><a href="../RubyProf.html">RubyProf</a>
105
-
106
- <li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
107
-
108
- <li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
109
-
110
- <li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
111
-
112
- <li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
113
-
114
- <li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
115
-
116
- <li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
117
-
118
- <li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
119
-
120
- <li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
121
-
122
- <li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
123
-
124
- <li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
125
-
126
- <li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
127
-
128
- <li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
129
-
130
- <li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
131
-
132
- <li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
133
-
134
- <li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
135
-
136
- <li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
137
-
138
- <li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
139
-
140
- <li><a href="../RubyProf/Test.html">RubyProf::Test</a>
141
-
142
- <li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
143
-
144
- <li><a href="../Rack.html">Rack</a>
145
-
146
- <li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
147
-
148
- </ul>
149
- </nav>
81
+ </div>
150
82
 
151
83
  </div>
152
84
  </nav>
153
85
 
154
- <div id="documentation">
155
- <h1 class="class">class RubyProf::DotPrinter</h1>
86
+ <main role="main" aria-labelledby="class-RubyProf::DotPrinter">
87
+ <h1 id="class-RubyProf::DotPrinter" class="class">
88
+ class RubyProf::DotPrinter
89
+ </h1>
156
90
 
157
- <div id="description" class="description">
91
+ <section class="description">
158
92
 
159
93
  <p>Generates a graphviz graph in dot format. To use the dot printer:</p>
160
94
 
@@ -170,7 +104,7 @@ tool to reformat the output into a wide variety of outputs:</p>
170
104
 
171
105
  <pre>dot -Tpng graph.dot &gt; graph.png</pre>
172
106
 
173
- </div><!-- description -->
107
+ </section>
174
108
 
175
109
 
176
110
 
@@ -181,19 +115,20 @@ tool to reformat the output into a wide variety of outputs:</p>
181
115
 
182
116
 
183
117
 
184
- <!-- Constants -->
185
- <section id="constants-list" class="section">
186
- <h3 class="section-header">Constants</h3>
118
+ <section class="constants-list">
119
+ <header>
120
+ <h3>Constants</h3>
121
+ </header>
187
122
  <dl>
188
123
 
189
124
  <dt id="CLASS_COLOR">CLASS_COLOR
190
125
 
191
- <dd class="description">
126
+ <dd>
192
127
 
193
128
 
194
129
  <dt id="EDGE_COLOR">EDGE_COLOR
195
130
 
196
- <dd class="description">
131
+ <dd>
197
132
 
198
133
 
199
134
  </dl>
@@ -202,10 +137,11 @@ tool to reformat the output into a wide variety of outputs:</p>
202
137
 
203
138
 
204
139
 
205
- <!-- Methods -->
206
140
 
207
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
208
- <h3 class="section-header">Public Class Methods</h3>
141
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
142
+ <header>
143
+ <h3>Public Class Methods</h3>
144
+ </header>
209
145
 
210
146
 
211
147
  <div id="method-c-new" class="method-detail ">
@@ -213,7 +149,9 @@ tool to reformat the output into a wide variety of outputs:</p>
213
149
  <div class="method-heading">
214
150
  <span class="method-name">new</span><span
215
151
  class="method-args">(result)</span>
152
+
216
153
  <span class="method-click-advice">click to toggle source</span>
154
+
217
155
  </div>
218
156
 
219
157
 
@@ -222,6 +160,12 @@ tool to reformat the output into a wide variety of outputs:</p>
222
160
  <p>Creates the <a href="DotPrinter.html">DotPrinter</a> using a
223
161
  RubyProf::Result.</p>
224
162
 
163
+
164
+ <div class="method-calls-super">
165
+ Calls superclass method
166
+ <a href="AbstractPrinter.html#method-c-new">RubyProf::AbstractPrinter.new</a>
167
+ </div>
168
+
225
169
 
226
170
 
227
171
  <div class="method-source-code" id="new-source">
@@ -230,20 +174,22 @@ RubyProf::Result.</p>
230
174
  <span class="ruby-keyword">super</span>(<span class="ruby-identifier">result</span>)
231
175
  <span class="ruby-ivar">@seen_methods</span> = <span class="ruby-constant">Set</span>.<span class="ruby-identifier">new</span>
232
176
  <span class="ruby-keyword">end</span></pre>
233
- </div><!-- new-source -->
177
+ </div>
234
178
 
235
179
  </div>
236
180
 
237
181
 
238
182
 
239
183
 
240
- </div><!-- new-method -->
184
+ </div>
241
185
 
242
186
 
243
- </section><!-- public-class-method-details -->
187
+ </section>
244
188
 
245
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
246
- <h3 class="section-header">Public Instance Methods</h3>
189
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
190
+ <header>
191
+ <h3>Public Instance Methods</h3>
192
+ </header>
247
193
 
248
194
 
249
195
  <div id="method-i-print" class="method-detail ">
@@ -251,7 +197,9 @@ RubyProf::Result.</p>
251
197
  <div class="method-heading">
252
198
  <span class="method-name">print</span><span
253
199
  class="method-args">(output = STDOUT, options = {})</span>
200
+
254
201
  <span class="method-click-advice">click to toggle source</span>
202
+
255
203
  </div>
256
204
 
257
205
 
@@ -272,6 +220,7 @@ to use the :min_percent option, for example:</p>
272
220
  <pre class="ruby"><span class="ruby-constant">DotPrinter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">result</span>).<span class="ruby-identifier">print</span>(<span class="ruby-constant">STDOUT</span>, :<span class="ruby-identifier">min_percent=</span><span class="ruby-operator">&gt;</span><span class="ruby-value">5</span>)
273
221
  </pre>
274
222
 
223
+
275
224
 
276
225
 
277
226
  <div class="method-source-code" id="print-source">
@@ -287,26 +236,25 @@ to use the :min_percent option, for example:</p>
287
236
  <span class="ruby-identifier">print_threads</span>
288
237
  <span class="ruby-identifier">puts</span> <span class="ruby-string">&#39;}&#39;</span>
289
238
  <span class="ruby-keyword">end</span></pre>
290
- </div><!-- print-source -->
239
+ </div>
291
240
 
292
241
  </div>
293
242
 
294
243
 
295
244
 
296
245
 
297
- </div><!-- print-method -->
246
+ </div>
298
247
 
299
248
 
300
- </section><!-- public-instance-method-details -->
249
+ </section>
301
250
 
302
- </section><!-- 5Buntitled-5D -->
303
-
304
- </div><!-- documentation -->
251
+ </section>
252
+ </main>
305
253
 
306
254
 
307
- <footer id="validator-badges">
308
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
309
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
310
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
255
+ <footer id="validator-badges" role="contentinfo">
256
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
257
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
258
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
311
259
  </footer>
312
260
 
@@ -2,157 +2,91 @@
2
2
 
3
3
  <html>
4
4
  <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
5
+ <meta charset="UTF-8">
6
6
 
7
7
  <title>class RubyProf::FlatPrinter - ruby-prof</title>
8
8
 
9
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
10
11
 
11
12
  <script type="text/javascript">
12
13
  var rdoc_rel_prefix = "../";
13
14
  </script>
14
15
 
15
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
16
+ <script src="../js/jquery.js"></script>
17
+ <script src="../js/navigation.js"></script>
18
+ <script src="../js/search_index.js"></script>
19
+ <script src="../js/search.js"></script>
20
+ <script src="../js/searcher.js"></script>
21
+ <script src="../js/darkfish.js"></script>
21
22
 
22
23
 
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../index.html">Home</a>
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
28
34
  <a href="../table_of_contents.html#classes">Classes</a>
29
35
  <a href="../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
36
+ </div>
37
+ </div>
33
38
 
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
35
40
  <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
38
45
  title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
41
-
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
46
+ </div>
45
47
 
46
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>lib/ruby-prof/printers/flat_printer.rb
51
- </ul>
52
- </nav>
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
53
 
54
-
55
54
  </div>
56
55
 
56
+
57
+
57
58
  <div id="class-metadata">
58
59
 
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</h3>
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
61
63
 
62
64
  <p class="link"><a href="AbstractPrinter.html">RubyProf::AbstractPrinter</a>
63
65
 
64
- </nav>
66
+ </div>
65
67
 
66
68
 
69
+
67
70
  <!-- Method Quickref -->
68
- <nav id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
70
73
 
71
- <ul class="link-list">
74
+ <ul class="link-list" role="directory">
72
75
 
73
- <li><a href="#method-i-sort_method">#sort_method</a>
76
+ <li ><a href="#method-i-sort_method">#sort_method</a>
74
77
 
75
78
  </ul>
76
- </nav>
77
-
78
- </div>
79
-
80
- <div id="project-metadata">
81
- <nav id="fileindex-section" class="section project-section">
82
- <h3 class="section-header">Pages</h3>
83
-
84
- <ul>
85
-
86
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
87
-
88
- <li class="file"><a href="../README_rdoc.html">README</a>
89
-
90
- <li class="file"><a href="../examples/flat_txt.html">flat</a>
91
-
92
- <li class="file"><a href="../examples/graph_txt.html">graph</a>
93
-
94
- </ul>
95
- </nav>
96
-
97
- <nav id="classindex-section" class="section project-section">
98
- <h3 class="section-header">Class and Module Index</h3>
99
-
100
- <ul class="link-list">
101
-
102
- <li><a href="../RubyProf.html">RubyProf</a>
103
-
104
- <li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
105
-
106
- <li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
107
-
108
- <li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
109
-
110
- <li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
111
-
112
- <li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
113
-
114
- <li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
115
-
116
- <li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
117
-
118
- <li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
119
-
120
- <li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
121
-
122
- <li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
123
-
124
- <li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
125
-
126
- <li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
127
-
128
- <li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
129
-
130
- <li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
131
-
132
- <li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
133
-
134
- <li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
135
-
136
- <li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
137
-
138
- <li><a href="../RubyProf/Test.html">RubyProf::Test</a>
139
-
140
- <li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
141
-
142
- <li><a href="../Rack.html">Rack</a>
143
-
144
- <li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
145
-
146
- </ul>
147
- </nav>
79
+ </div>
148
80
 
149
81
  </div>
150
82
  </nav>
151
83
 
152
- <div id="documentation">
153
- <h1 class="class">class RubyProf::FlatPrinter</h1>
84
+ <main role="main" aria-labelledby="class-RubyProf::FlatPrinter">
85
+ <h1 id="class-RubyProf::FlatPrinter" class="class">
86
+ class RubyProf::FlatPrinter
87
+ </h1>
154
88
 
155
- <div id="description" class="description">
89
+ <section class="description">
156
90
 
157
91
  <p>Generates <a href="../files/examples/flat_txt.html">flat</a> profile
158
92
  reports as text. To use the flat printer:</p>
@@ -164,7 +98,7 @@ end
164
98
  printer = RubyProf::FlatPrinter.new(result)
165
99
  printer.print(STDOUT, {})</pre>
166
100
 
167
- </div><!-- description -->
101
+ </section>
168
102
 
169
103
 
170
104
 
@@ -178,10 +112,11 @@ printer.print(STDOUT, {})</pre>
178
112
 
179
113
 
180
114
 
181
- <!-- Methods -->
182
115
 
183
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
184
- <h3 class="section-header">Public Instance Methods</h3>
116
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
117
+ <header>
118
+ <h3>Public Instance Methods</h3>
119
+ </header>
185
120
 
186
121
 
187
122
  <div id="method-i-sort_method" class="method-detail ">
@@ -189,7 +124,9 @@ printer.print(STDOUT, {})</pre>
189
124
  <div class="method-heading">
190
125
  <span class="method-name">sort_method</span><span
191
126
  class="method-args">()</span>
127
+
192
128
  <span class="method-click-advice">click to toggle source</span>
129
+
193
130
  </div>
194
131
 
195
132
 
@@ -197,6 +134,7 @@ printer.print(STDOUT, {})</pre>
197
134
 
198
135
  <p>Override for this printer to sort by self time by default</p>
199
136
 
137
+
200
138
 
201
139
 
202
140
  <div class="method-source-code" id="sort_method-source">
@@ -204,26 +142,25 @@ printer.print(STDOUT, {})</pre>
204
142
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">sort_method</span>
205
143
  <span class="ruby-ivar">@options</span>[<span class="ruby-value">:sort_method</span>] <span class="ruby-operator">||</span> <span class="ruby-value">:self_time</span>
206
144
  <span class="ruby-keyword">end</span></pre>
207
- </div><!-- sort_method-source -->
145
+ </div>
208
146
 
209
147
  </div>
210
148
 
211
149
 
212
150
 
213
151
 
214
- </div><!-- sort_method-method -->
152
+ </div>
215
153
 
216
154
 
217
- </section><!-- public-instance-method-details -->
155
+ </section>
218
156
 
219
- </section><!-- 5Buntitled-5D -->
220
-
221
- </div><!-- documentation -->
157
+ </section>
158
+ </main>
222
159
 
223
160
 
224
- <footer id="validator-badges">
225
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
226
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
227
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
161
+ <footer id="validator-badges" role="contentinfo">
162
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
163
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
164
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
228
165
  </footer>
229
166