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,161 +2,95 @@
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::Thread - 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/thread.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">Object
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-top_methods">#top_methods</a>
76
+ <li ><a href="#method-i-top_methods">#top_methods</a>
74
77
 
75
- <li><a href="#method-i-total_time">#total_time</a>
78
+ <li ><a href="#method-i-total_time">#total_time</a>
76
79
 
77
80
  </ul>
78
- </nav>
81
+ </div>
79
82
 
80
83
  </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
84
  </nav>
98
85
 
99
- <nav id="classindex-section" class="section project-section">
100
- <h3 class="section-header">Class and Module Index</h3>
86
+ <main role="main" aria-labelledby="class-RubyProf::Thread">
87
+ <h1 id="class-RubyProf::Thread" class="class">
88
+ class RubyProf::Thread
89
+ </h1>
101
90
 
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>
150
-
151
- </div>
152
- </nav>
153
-
154
- <div id="documentation">
155
- <h1 class="class">class RubyProf::Thread</h1>
156
-
157
- <div id="description" class="description">
91
+ <section class="description">
158
92
 
159
- </div><!-- description -->
93
+ </section>
160
94
 
161
95
 
162
96
 
@@ -170,10 +104,11 @@
170
104
 
171
105
 
172
106
 
173
- <!-- Methods -->
174
107
 
175
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
176
- <h3 class="section-header">Public Instance Methods</h3>
108
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
109
+ <header>
110
+ <h3>Public Instance Methods</h3>
111
+ </header>
177
112
 
178
113
 
179
114
  <div id="method-i-top_methods" class="method-detail ">
@@ -181,7 +116,9 @@
181
116
  <div class="method-heading">
182
117
  <span class="method-name">top_methods</span><span
183
118
  class="method-args">()</span>
119
+
184
120
  <span class="method-click-advice">click to toggle source</span>
121
+
185
122
  </div>
186
123
 
187
124
 
@@ -189,25 +126,26 @@
189
126
 
190
127
 
191
128
 
129
+
192
130
 
193
131
 
194
132
  <div class="method-source-code" id="top_methods-source">
195
133
  <pre><span class="ruby-comment"># File lib/ruby-prof/thread.rb, line 3</span>
196
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">top_methods</span>
197
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">select</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">method_info</span><span class="ruby-operator">|</span>
198
- <span class="ruby-identifier">method_info</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">detect</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
199
- <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">nil?</span>
200
- <span class="ruby-keyword">end</span>
201
- <span class="ruby-keyword">end</span>
134
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">top_methods</span>
135
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">select</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">method_info</span><span class="ruby-operator">|</span>
136
+ <span class="ruby-identifier">method_info</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">detect</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
137
+ <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">nil?</span>
138
+ <span class="ruby-keyword">end</span>
139
+ <span class="ruby-keyword">end</span>
202
140
  <span class="ruby-keyword">end</span></pre>
203
- </div><!-- top_methods-source -->
141
+ </div>
204
142
 
205
143
  </div>
206
144
 
207
145
 
208
146
 
209
147
 
210
- </div><!-- top_methods-method -->
148
+ </div>
211
149
 
212
150
 
213
151
  <div id="method-i-total_time" class="method-detail ">
@@ -215,7 +153,9 @@
215
153
  <div class="method-heading">
216
154
  <span class="method-name">total_time</span><span
217
155
  class="method-args">()</span>
156
+
218
157
  <span class="method-click-advice">click to toggle source</span>
158
+
219
159
  </div>
220
160
 
221
161
 
@@ -223,40 +163,40 @@
223
163
 
224
164
 
225
165
 
166
+
226
167
 
227
168
 
228
169
  <div class="method-source-code" id="total_time-source">
229
170
  <pre><span class="ruby-comment"># File lib/ruby-prof/thread.rb, line 11</span>
230
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">total_time</span>
231
- <span class="ruby-keyword">self</span>.<span class="ruby-identifier">top_methods</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sum</span>, <span class="ruby-identifier">method_info</span><span class="ruby-operator">|</span>
232
- <span class="ruby-identifier">method_info</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
233
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">nil?</span>
234
- <span class="ruby-identifier">sum</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">total_time</span>
235
- <span class="ruby-keyword">end</span>
236
- <span class="ruby-keyword">end</span>
237
- <span class="ruby-identifier">sum</span>
238
- <span class="ruby-keyword">end</span>
171
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">total_time</span>
172
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">top_methods</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sum</span>, <span class="ruby-identifier">method_info</span><span class="ruby-operator">|</span>
173
+ <span class="ruby-identifier">method_info</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span>
174
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">nil?</span>
175
+ <span class="ruby-identifier">sum</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">total_time</span>
176
+ <span class="ruby-keyword">end</span>
177
+ <span class="ruby-keyword">end</span>
178
+ <span class="ruby-identifier">sum</span>
179
+ <span class="ruby-keyword">end</span>
239
180
  <span class="ruby-keyword">end</span></pre>
240
- </div><!-- total_time-source -->
181
+ </div>
241
182
 
242
183
  </div>
243
184
 
244
185
 
245
186
 
246
187
 
247
- </div><!-- total_time-method -->
188
+ </div>
248
189
 
249
190
 
250
- </section><!-- public-instance-method-details -->
191
+ </section>
251
192
 
252
- </section><!-- 5Buntitled-5D -->
253
-
254
- </div><!-- documentation -->
193
+ </section>
194
+ </main>
255
195
 
256
196
 
257
- <footer id="validator-badges">
258
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
259
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
260
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
197
+ <footer id="validator-badges" role="contentinfo">
198
+ <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>.
261
201
  </footer>
262
202
 
data/doc/created.rid CHANGED
@@ -1,14 +1,14 @@
1
- Sat, 14 Dec 2013 08:43:58 +0100
2
- bin/ruby-prof Sat, 02 Feb 2013 10:23:19 +0100
1
+ Thu, 02 Jan 2014 13:25:32 +0100
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
5
5
  examples/graph.txt Tue, 29 Jan 2013 16:43:39 +0100
6
6
  examples/graph.html Tue, 29 Jan 2013 16:43:39 +0100
7
- lib/ruby-prof.rb Tue, 29 Jan 2013 16:44:27 +0100
8
- lib/ruby-prof/aggregate_call_info.rb Tue, 29 Jan 2013 16:43:39 +0100
7
+ lib/ruby-prof.rb Mon, 30 Dec 2013 14:52:43 +0100
8
+ 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
- lib/ruby-prof/call_info_visitor.rb Tue, 29 Jan 2013 16:44:27 +0100
11
- lib/ruby-prof/compatibility.rb Sun, 03 Feb 2013 12:16:49 +0100
10
+ lib/ruby-prof/call_info_visitor.rb Wed, 25 Dec 2013 09:43:12 +0100
11
+ lib/ruby-prof/compatibility.rb Mon, 30 Dec 2013 08:25:04 +0100
12
12
  lib/ruby-prof/method_info.rb Tue, 29 Jan 2013 16:44:27 +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
@@ -17,16 +17,15 @@ lib/ruby-prof/printers/call_tree_printer.rb Tue, 29 Jan 2013 16:43:39 +0100
17
17
  lib/ruby-prof/printers/dot_printer.rb Tue, 29 Jan 2013 16:44:27 +0100
18
18
  lib/ruby-prof/printers/flat_printer.rb Sun, 10 Mar 2013 10:57:14 +0100
19
19
  lib/ruby-prof/printers/flat_printer_with_line_numbers.rb Tue, 29 Jan 2013 16:44:27 +0100
20
- lib/ruby-prof/printers/graph_html_printer.rb Thu, 11 Apr 2013 13:47:28 +0200
20
+ lib/ruby-prof/printers/graph_html_printer.rb Mon, 30 Dec 2013 14:49:55 +0100
21
21
  lib/ruby-prof/printers/graph_printer.rb Sun, 10 Mar 2013 10:57:14 +0100
22
22
  lib/ruby-prof/printers/multi_printer.rb Tue, 29 Jan 2013 16:43:39 +0100
23
- lib/ruby-prof/profile.rb Tue, 29 Jan 2013 16:44:27 +0100
24
- lib/ruby-prof/rack.rb Sun, 10 Mar 2013 10:56:55 +0100
23
+ lib/ruby-prof/profile.rb Wed, 25 Dec 2013 08:59:06 +0100
24
+ lib/ruby-prof/rack.rb Wed, 25 Dec 2013 09:34:14 +0100
25
25
  lib/ruby-prof/task.rb Tue, 29 Jan 2013 16:43:39 +0100
26
- lib/ruby-prof/test.rb Tue, 29 Jan 2013 16:43:39 +0100
27
- lib/ruby-prof/thread.rb Tue, 29 Jan 2013 16:44:27 +0100
26
+ lib/ruby-prof/thread.rb Wed, 25 Dec 2013 09:34:14 +0100
27
+ lib/ruby-prof/version.rb Thu, 02 Jan 2014 13:03:14 +0100
28
28
  lib/unprof.rb Tue, 29 Jan 2013 16:43:39 +0100
29
- ext/ruby_prof/ruby_prof.c Sun, 10 Mar 2013 10:57:14 +0100
30
- ext/ruby_prof/version.h Sat, 14 Dec 2013 08:38:44 +0100
31
- README.rdoc Tue, 26 Nov 2013 08:07:21 +0100
29
+ ext/ruby_prof/ruby_prof.c Mon, 30 Dec 2013 14:56:05 +0100
30
+ README.rdoc Wed, 25 Dec 2013 10:55:27 +0100
32
31
  LICENSE Tue, 29 Jan 2013 16:43:39 +0100
@@ -2,122 +2,84 @@
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>flat - 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 class="file">
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="file">
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>
46
+ </div>
44
47
 
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>
45
53
 
46
- <div id="project-metadata">
47
- <nav id="fileindex-section" class="section project-section">
48
- <h3 class="section-header">Pages</h3>
54
+ </div>
49
55
 
50
- <ul>
51
-
52
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
53
-
54
- <li class="file"><a href="../README_rdoc.html">README</a>
55
-
56
- <li class="file"><a href="../examples/flat_txt.html">flat</a>
57
-
58
- <li class="file"><a href="../examples/graph_txt.html">graph</a>
59
56
 
60
- </ul>
61
- </nav>
62
57
 
63
- <nav id="classindex-section" class="section project-section">
64
- <h3 class="section-header">Class and Module Index</h3>
58
+ <div id="project-metadata">
59
+ <div id="fileindex-section" class="nav-section">
60
+ <h3>Pages</h3>
65
61
 
66
62
  <ul class="link-list">
67
63
 
68
- <li><a href="../RubyProf.html">RubyProf</a>
69
-
70
- <li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
71
-
72
- <li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
64
+ <li><a href="../LICENSE.html">LICENSE</a>
73
65
 
74
- <li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
66
+ <li><a href="../README_rdoc.html">README</a>
75
67
 
76
- <li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
68
+ <li><a href="../examples/flat_txt.html">flat</a>
77
69
 
78
- <li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
70
+ <li><a href="../examples/graph_html.html">graph.html</a>
79
71
 
80
- <li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
81
-
82
- <li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
83
-
84
- <li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
85
-
86
- <li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
87
-
88
- <li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
89
-
90
- <li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
91
-
92
- <li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
93
-
94
- <li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
95
-
96
- <li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
97
-
98
- <li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
99
-
100
- <li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
101
-
102
- <li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
103
-
104
- <li><a href="../RubyProf/Test.html">RubyProf::Test</a>
105
-
106
- <li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
107
-
108
- <li><a href="../Rack.html">Rack</a>
109
-
110
- <li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
72
+ <li><a href="../examples/graph_txt.html">graph</a>
111
73
 
112
74
  </ul>
113
- </nav>
75
+ </div>
114
76
 
115
77
  </div>
116
78
  </nav>
117
79
 
118
- <div id="documentation" class="description">
119
-
120
- <h1 id="label-Flat+Profiles">Flat Profiles</h1>
80
+ <main role="main" aria-label="Page examples/flat.txt">
81
+
82
+ <h1 id="label-Flat+Profiles">Flat Profiles<span><a href="#label-Flat+Profiles">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
121
83
 
122
84
  <p>Flat profiles show the total amount of time spent in each method. As an
123
85
  example, here is the output from running printers_test.rb.</p>
@@ -171,21 +133,20 @@ longest are listed first.</p>
171
133
  </li><li>
172
134
  <p>MyObject#test - An instance method “test” of the class “MyObject”</p>
173
135
  </li><li>
174
- <p>&lt;Object:MyObject&gt;test - The &lt;&gt; characters indicate a singleton
136
+ <p>&lt;Object:MyObject&gt;#test - The &lt;&gt; characters indicate a singleton
175
137
  method on a singleton class.</p>
176
138
  </li></ul>
177
139
 
178
140
  <p>For example, wee can see that Integer#upto took the most time, 4.06
179
141
  seconds. An additional 4.66 seconds were spent in its children, for a
180
142
  total time of 8.72 seconds.</p>
181
-
182
- </div>
143
+ </main>
183
144
 
184
145
 
185
146
 
186
- <footer id="validator-badges">
187
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
188
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
189
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
147
+ <footer id="validator-badges" role="contentinfo">
148
+ <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>.
190
151
  </footer>
191
152