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,147 +2,81 @@
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::GraphPrinter - 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>
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="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/graph_printer.rb
51
- </ul>
52
- </nav>
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
 
67
69
 
68
- </div>
69
-
70
- <div id="project-metadata">
71
- <nav id="fileindex-section" class="section project-section">
72
- <h3 class="section-header">Pages</h3>
73
-
74
- <ul>
75
-
76
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
77
-
78
- <li class="file"><a href="../README_rdoc.html">README</a>
79
-
80
- <li class="file"><a href="../examples/flat_txt.html">flat</a>
81
-
82
- <li class="file"><a href="../examples/graph_txt.html">graph</a>
83
-
84
- </ul>
85
- </nav>
86
-
87
- <nav id="classindex-section" class="section project-section">
88
- <h3 class="section-header">Class and Module Index</h3>
89
-
90
- <ul class="link-list">
91
-
92
- <li><a href="../RubyProf.html">RubyProf</a>
93
-
94
- <li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
95
-
96
- <li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
97
-
98
- <li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
99
-
100
- <li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
101
-
102
- <li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
103
-
104
- <li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
105
-
106
- <li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
107
-
108
- <li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
109
-
110
- <li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
111
-
112
- <li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
113
-
114
- <li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
115
-
116
- <li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
117
-
118
- <li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
119
-
120
- <li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
121
-
122
- <li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
123
-
124
- <li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
125
-
126
- <li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
127
-
128
- <li><a href="../RubyProf/Test.html">RubyProf::Test</a>
129
-
130
- <li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
131
-
132
- <li><a href="../Rack.html">Rack</a>
133
-
134
- <li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
135
-
136
- </ul>
137
- </nav>
138
-
70
+
139
71
  </div>
140
72
  </nav>
141
73
 
142
- <div id="documentation">
143
- <h1 class="class">class RubyProf::GraphPrinter</h1>
74
+ <main role="main" aria-labelledby="class-RubyProf::GraphPrinter">
75
+ <h1 id="class-RubyProf::GraphPrinter" class="class">
76
+ class RubyProf::GraphPrinter
77
+ </h1>
144
78
 
145
- <div id="description" class="description">
79
+ <section class="description">
146
80
 
147
81
  <p>Generates <a href="../files/examples/graph_txt.html">graph</a> profile
148
82
  reports as text. To use the graph printer:</p>
@@ -157,7 +91,7 @@ printer.print(STDOUT, {})</pre>
157
91
  <p>The constructor takes two arguments. See the <a
158
92
  href="../README_rdoc.html">README</a></p>
159
93
 
160
- </div><!-- description -->
94
+ </section>
161
95
 
162
96
 
163
97
 
@@ -168,24 +102,25 @@ href="../README_rdoc.html">README</a></p>
168
102
 
169
103
 
170
104
 
171
- <!-- Constants -->
172
- <section id="constants-list" class="section">
173
- <h3 class="section-header">Constants</h3>
105
+ <section class="constants-list">
106
+ <header>
107
+ <h3>Constants</h3>
108
+ </header>
174
109
  <dl>
175
110
 
176
111
  <dt id="CALL_WIDTH">CALL_WIDTH
177
112
 
178
- <dd class="description">
113
+ <dd>
179
114
 
180
115
 
181
116
  <dt id="PERCENTAGE_WIDTH">PERCENTAGE_WIDTH
182
117
 
183
- <dd class="description">
118
+ <dd>
184
119
 
185
120
 
186
121
  <dt id="TIME_WIDTH">TIME_WIDTH
187
122
 
188
- <dd class="description">
123
+ <dd>
189
124
 
190
125
 
191
126
  </dl>
@@ -194,16 +129,14 @@ href="../README_rdoc.html">README</a></p>
194
129
 
195
130
 
196
131
 
197
- <!-- Methods -->
198
132
 
199
- </section><!-- 5Buntitled-5D -->
200
-
201
- </div><!-- documentation -->
133
+ </section>
134
+ </main>
202
135
 
203
136
 
204
- <footer id="validator-badges">
205
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
206
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
207
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
137
+ <footer id="validator-badges" role="contentinfo">
138
+ <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>.
208
141
  </footer>
209
142
 
@@ -2,70 +2,71 @@
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::MethodInfo - 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>
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="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/method_info.rb
51
- </ul>
52
- </nav>
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
- <!-- Included Modules -->
67
- <nav id="includes-section" class="section">
68
- <h3 class="section-header">Included Modules</h3>
68
+ <div id="includes-section" class="nav-section">
69
+ <h3>Included Modules</h3>
69
70
 
70
71
  <ul class="link-list">
71
72
 
@@ -74,125 +75,57 @@
74
75
 
75
76
 
76
77
  </ul>
77
- </nav>
78
+ </div>
78
79
 
80
+
79
81
  <!-- Method Quickref -->
80
- <nav id="method-list-section" class="section">
81
- <h3 class="section-header">Methods</h3>
82
+ <div id="method-list-section" class="nav-section">
83
+ <h3>Methods</h3>
82
84
 
83
- <ul class="link-list">
85
+ <ul class="link-list" role="directory">
84
86
 
85
- <li><a href="#method-i-3C-3D-3E">#&lt;=&gt;</a>
87
+ <li ><a href="#method-i-3C-3D-3E">#&lt;=&gt;</a>
86
88
 
87
- <li><a href="#method-i-aggregate_children">#aggregate_children</a>
89
+ <li ><a href="#method-i-aggregate_children">#aggregate_children</a>
88
90
 
89
- <li><a href="#method-i-aggregate_parents">#aggregate_parents</a>
91
+ <li ><a href="#method-i-aggregate_parents">#aggregate_parents</a>
90
92
 
91
- <li><a href="#method-i-called">#called</a>
93
+ <li ><a href="#method-i-called">#called</a>
92
94
 
93
- <li><a href="#method-i-children">#children</a>
95
+ <li ><a href="#method-i-children">#children</a>
94
96
 
95
- <li><a href="#method-i-children_time">#children_time</a>
97
+ <li ><a href="#method-i-children_time">#children_time</a>
96
98
 
97
- <li><a href="#method-i-eliminate-21">#eliminate!</a>
99
+ <li ><a href="#method-i-eliminate-21">#eliminate!</a>
98
100
 
99
- <li><a href="#method-i-min_depth">#min_depth</a>
101
+ <li ><a href="#method-i-min_depth">#min_depth</a>
100
102
 
101
- <li><a href="#method-i-recursive-3F">#recursive?</a>
103
+ <li ><a href="#method-i-recursive-3F">#recursive?</a>
102
104
 
103
- <li><a href="#method-i-root-3F">#root?</a>
105
+ <li ><a href="#method-i-root-3F">#root?</a>
104
106
 
105
- <li><a href="#method-i-self_time">#self_time</a>
107
+ <li ><a href="#method-i-self_time">#self_time</a>
106
108
 
107
- <li><a href="#method-i-to_s">#to_s</a>
109
+ <li ><a href="#method-i-to_s">#to_s</a>
108
110
 
109
- <li><a href="#method-i-total_time">#total_time</a>
111
+ <li ><a href="#method-i-total_time">#total_time</a>
110
112
 
111
- <li><a href="#method-i-wait_time">#wait_time</a>
113
+ <li ><a href="#method-i-wait_time">#wait_time</a>
112
114
 
113
115
  </ul>
114
- </nav>
115
-
116
- </div>
117
-
118
- <div id="project-metadata">
119
- <nav id="fileindex-section" class="section project-section">
120
- <h3 class="section-header">Pages</h3>
121
-
122
- <ul>
123
-
124
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
125
-
126
- <li class="file"><a href="../README_rdoc.html">README</a>
127
-
128
- <li class="file"><a href="../examples/flat_txt.html">flat</a>
129
-
130
- <li class="file"><a href="../examples/graph_txt.html">graph</a>
131
-
132
- </ul>
133
- </nav>
134
-
135
- <nav id="classindex-section" class="section project-section">
136
- <h3 class="section-header">Class and Module Index</h3>
137
-
138
- <ul class="link-list">
139
-
140
- <li><a href="../RubyProf.html">RubyProf</a>
141
-
142
- <li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
143
-
144
- <li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
145
-
146
- <li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
147
-
148
- <li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
149
-
150
- <li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
151
-
152
- <li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
153
-
154
- <li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
155
-
156
- <li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
157
-
158
- <li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
159
-
160
- <li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
161
-
162
- <li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
163
-
164
- <li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
165
-
166
- <li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
167
-
168
- <li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
169
-
170
- <li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
171
-
172
- <li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
173
-
174
- <li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
175
-
176
- <li><a href="../RubyProf/Test.html">RubyProf::Test</a>
177
-
178
- <li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
179
-
180
- <li><a href="../Rack.html">Rack</a>
181
-
182
- <li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
183
-
184
- </ul>
185
- </nav>
116
+ </div>
186
117
 
187
118
  </div>
188
119
  </nav>
189
120
 
190
- <div id="documentation">
191
- <h1 class="class">class RubyProf::MethodInfo</h1>
121
+ <main role="main" aria-labelledby="class-RubyProf::MethodInfo">
122
+ <h1 id="class-RubyProf::MethodInfo" class="class">
123
+ class RubyProf::MethodInfo
124
+ </h1>
192
125
 
193
- <div id="description" class="description">
126
+ <section class="description">
194
127
 
195
- </div><!-- description -->
128
+ </section>
196
129
 
197
130
 
198
131
 
@@ -206,10 +139,11 @@
206
139
 
207
140
 
208
141
 
209
- <!-- Methods -->
210
142
 
211
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
212
- <h3 class="section-header">Public Instance Methods</h3>
143
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
144
+ <header>
145
+ <h3>Public Instance Methods</h3>
146
+ </header>
213
147
 
214
148
 
215
149
  <div id="method-i-3C-3D-3E" class="method-detail ">
@@ -217,7 +151,9 @@
217
151
  <div class="method-heading">
218
152
  <span class="method-name">&lt;=&gt;</span><span
219
153
  class="method-args">(other)</span>
154
+
220
155
  <span class="method-click-advice">click to toggle source</span>
156
+
221
157
  </div>
222
158
 
223
159
 
@@ -225,6 +161,7 @@
225
161
 
226
162
 
227
163
 
164
+
228
165
 
229
166
 
230
167
  <div class="method-source-code" id="3C-3D-3E-source">
@@ -242,14 +179,14 @@
242
179
  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">full_name</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">full_name</span>
243
180
  <span class="ruby-keyword">end</span>
244
181
  <span class="ruby-keyword">end</span></pre>
245
- </div><!-- 3C-3D-3E-source -->
182
+ </div>
246
183
 
247
184
  </div>
248
185
 
249
186
 
250
187
 
251
188
 
252
- </div><!-- 3C-3D-3E-method -->
189
+ </div>
253
190
 
254
191
 
255
192
  <div id="method-i-aggregate_children" class="method-detail ">
@@ -257,7 +194,9 @@
257
194
  <div class="method-heading">
258
195
  <span class="method-name">aggregate_children</span><span
259
196
  class="method-args">()</span>
197
+
260
198
  <span class="method-click-advice">click to toggle source</span>
199
+
261
200
  </div>
262
201
 
263
202
 
@@ -265,6 +204,7 @@
265
204
 
266
205
 
267
206
 
207
+
268
208
 
269
209
 
270
210
  <div class="method-source-code" id="aggregate_children-source">
@@ -281,14 +221,14 @@
281
221
  <span class="ruby-constant">AggregateCallInfo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">value</span>)
282
222
  <span class="ruby-keyword">end</span>
283
223
  <span class="ruby-keyword">end</span></pre>
284
- </div><!-- aggregate_children-source -->
224
+ </div>
285
225
 
286
226
  </div>
287
227
 
288
228
 
289
229
 
290
230
 
291
- </div><!-- aggregate_children-method -->
231
+ </div>
292
232
 
293
233
 
294
234
  <div id="method-i-aggregate_parents" class="method-detail ">
@@ -296,7 +236,9 @@
296
236
  <div class="method-heading">
297
237
  <span class="method-name">aggregate_parents</span><span
298
238
  class="method-args">()</span>
239
+
299
240
  <span class="method-click-advice">click to toggle source</span>
241
+
300
242
  </div>
301
243
 
302
244
 
@@ -304,6 +246,7 @@
304
246
 
305
247
 
306
248
 
249
+
307
250
 
308
251
 
309
252
  <div class="method-source-code" id="aggregate_parents-source">
@@ -320,14 +263,14 @@
320
263
  <span class="ruby-constant">AggregateCallInfo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">value</span>)
321
264
  <span class="ruby-keyword">end</span>
322
265
  <span class="ruby-keyword">end</span></pre>
323
- </div><!-- aggregate_parents-source -->
266
+ </div>
324
267
 
325
268
  </div>
326
269
 
327
270
 
328
271
 
329
272
 
330
- </div><!-- aggregate_parents-method -->
273
+ </div>
331
274
 
332
275
 
333
276
  <div id="method-i-called" class="method-detail ">
@@ -335,7 +278,9 @@
335
278
  <div class="method-heading">
336
279
  <span class="method-name">called</span><span
337
280
  class="method-args">()</span>
281
+
338
282
  <span class="method-click-advice">click to toggle source</span>
283
+
339
284
  </div>
340
285
 
341
286
 
@@ -343,6 +288,7 @@
343
288
 
344
289
 
345
290
 
291
+
346
292
 
347
293
 
348
294
  <div class="method-source-code" id="called-source">
@@ -354,14 +300,14 @@
354
300
  <span class="ruby-keyword">end</span>
355
301
  <span class="ruby-keyword">end</span>
356
302
  <span class="ruby-keyword">end</span></pre>
357
- </div><!-- called-source -->
303
+ </div>
358
304
 
359
305
  </div>
360
306
 
361
307
 
362
308
 
363
309
 
364
- </div><!-- called-method -->
310
+ </div>
365
311
 
366
312
 
367
313
  <div id="method-i-children" class="method-detail ">
@@ -369,7 +315,9 @@
369
315
  <div class="method-heading">
370
316
  <span class="method-name">children</span><span
371
317
  class="method-args">()</span>
318
+
372
319
  <span class="method-click-advice">click to toggle source</span>
320
+
373
321
  </div>
374
322
 
375
323
 
@@ -377,6 +325,7 @@
377
325
 
378
326
 
379
327
 
328
+
380
329
 
381
330
 
382
331
  <div class="method-source-code" id="children-source">
@@ -388,14 +337,14 @@
388
337
  <span class="ruby-keyword">end</span>.<span class="ruby-identifier">flatten</span>
389
338
  <span class="ruby-keyword">end</span>
390
339
  <span class="ruby-keyword">end</span></pre>
391
- </div><!-- children-source -->
340
+ </div>
392
341
 
393
342
  </div>
394
343
 
395
344
 
396
345
 
397
346
 
398
- </div><!-- children-method -->
347
+ </div>
399
348
 
400
349
 
401
350
  <div id="method-i-children_time" class="method-detail ">
@@ -403,7 +352,9 @@
403
352
  <div class="method-heading">
404
353
  <span class="method-name">children_time</span><span
405
354
  class="method-args">()</span>
355
+
406
356
  <span class="method-click-advice">click to toggle source</span>
357
+
407
358
  </div>
408
359
 
409
360
 
@@ -411,6 +362,7 @@
411
362
 
412
363
 
413
364
 
365
+
414
366
 
415
367
 
416
368
  <div class="method-source-code" id="children_time-source">
@@ -423,14 +375,14 @@
423
375
  <span class="ruby-keyword">end</span>
424
376
  <span class="ruby-keyword">end</span>
425
377
  <span class="ruby-keyword">end</span></pre>
426
- </div><!-- children_time-source -->
378
+ </div>
427
379
 
428
380
  </div>
429
381
 
430
382
 
431
383
 
432
384
 
433
- </div><!-- children_time-method -->
385
+ </div>
434
386
 
435
387
 
436
388
  <div id="method-i-eliminate-21" class="method-detail ">
@@ -438,7 +390,9 @@
438
390
  <div class="method-heading">
439
391
  <span class="method-name">eliminate!</span><span
440
392
  class="method-args">()</span>
393
+
441
394
  <span class="method-click-advice">click to toggle source</span>
395
+
442
396
  </div>
443
397
 
444
398
 
@@ -446,6 +400,7 @@
446
400
 
447
401
  <p>remove method from the call graph. should not be called directly.</p>
448
402
 
403
+
449
404
 
450
405
 
451
406
  <div class="method-source-code" id="eliminate-21-source">
@@ -455,14 +410,14 @@
455
410
  <span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">eliminate!</span> }
456
411
  <span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">clear</span>
457
412
  <span class="ruby-keyword">end</span></pre>
458
- </div><!-- eliminate-21-source -->
413
+ </div>
459
414
 
460
415
  </div>
461
416
 
462
417
 
463
418
 
464
419
 
465
- </div><!-- eliminate-21-method -->
420
+ </div>
466
421
 
467
422
 
468
423
  <div id="method-i-min_depth" class="method-detail ">
@@ -470,7 +425,9 @@
470
425
  <div class="method-heading">
471
426
  <span class="method-name">min_depth</span><span
472
427
  class="method-args">()</span>
428
+
473
429
  <span class="method-click-advice">click to toggle source</span>
430
+
474
431
  </div>
475
432
 
476
433
 
@@ -478,6 +435,7 @@
478
435
 
479
436
 
480
437
 
438
+
481
439
 
482
440
 
483
441
  <div class="method-source-code" id="min_depth-source">
@@ -487,14 +445,14 @@
487
445
  <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">depth</span>
488
446
  <span class="ruby-keyword">end</span>.<span class="ruby-identifier">min</span>
489
447
  <span class="ruby-keyword">end</span></pre>
490
- </div><!-- min_depth-source -->
448
+ </div>
491
449
 
492
450
  </div>
493
451
 
494
452
 
495
453
 
496
454
 
497
- </div><!-- min_depth-method -->
455
+ </div>
498
456
 
499
457
 
500
458
  <div id="method-i-recursive-3F" class="method-detail ">
@@ -502,7 +460,9 @@
502
460
  <div class="method-heading">
503
461
  <span class="method-name">recursive?</span><span
504
462
  class="method-args">()</span>
463
+
505
464
  <span class="method-click-advice">click to toggle source</span>
465
+
506
466
  </div>
507
467
 
508
468
 
@@ -510,6 +470,7 @@
510
470
 
511
471
 
512
472
 
473
+
513
474
 
514
475
 
515
476
  <div class="method-source-code" id="recursive-3F-source">
@@ -519,14 +480,14 @@
519
480
  <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">recursive</span>
520
481
  <span class="ruby-keyword">end</span>
521
482
  <span class="ruby-keyword">end</span></pre>
522
- </div><!-- recursive-3F-source -->
483
+ </div>
523
484
 
524
485
  </div>
525
486
 
526
487
 
527
488
 
528
489
 
529
- </div><!-- recursive-3F-method -->
490
+ </div>
530
491
 
531
492
 
532
493
  <div id="method-i-root-3F" class="method-detail ">
@@ -534,7 +495,9 @@
534
495
  <div class="method-heading">
535
496
  <span class="method-name">root?</span><span
536
497
  class="method-args">()</span>
498
+
537
499
  <span class="method-click-advice">click to toggle source</span>
500
+
538
501
  </div>
539
502
 
540
503
 
@@ -542,6 +505,7 @@
542
505
 
543
506
 
544
507
 
508
+
545
509
 
546
510
 
547
511
  <div class="method-source-code" id="root-3F-source">
@@ -553,14 +517,14 @@
553
517
  <span class="ruby-keyword">end</span>.<span class="ruby-identifier">nil?</span>
554
518
  <span class="ruby-keyword">end</span>
555
519
  <span class="ruby-keyword">end</span></pre>
556
- </div><!-- root-3F-source -->
520
+ </div>
557
521
 
558
522
  </div>
559
523
 
560
524
 
561
525
 
562
526
 
563
- </div><!-- root-3F-method -->
527
+ </div>
564
528
 
565
529
 
566
530
  <div id="method-i-self_time" class="method-detail ">
@@ -568,7 +532,9 @@
568
532
  <div class="method-heading">
569
533
  <span class="method-name">self_time</span><span
570
534
  class="method-args">()</span>
535
+
571
536
  <span class="method-click-advice">click to toggle source</span>
537
+
572
538
  </div>
573
539
 
574
540
 
@@ -576,6 +542,7 @@
576
542
 
577
543
 
578
544
 
545
+
579
546
 
580
547
 
581
548
  <div class="method-source-code" id="self_time-source">
@@ -588,14 +555,14 @@
588
555
  <span class="ruby-keyword">end</span>
589
556
  <span class="ruby-keyword">end</span>
590
557
  <span class="ruby-keyword">end</span></pre>
591
- </div><!-- self_time-source -->
558
+ </div>
592
559
 
593
560
  </div>
594
561
 
595
562
 
596
563
 
597
564
 
598
- </div><!-- self_time-method -->
565
+ </div>
599
566
 
600
567
 
601
568
  <div id="method-i-to_s" class="method-detail ">
@@ -603,7 +570,9 @@
603
570
  <div class="method-heading">
604
571
  <span class="method-name">to_s</span><span
605
572
  class="method-args">()</span>
573
+
606
574
  <span class="method-click-advice">click to toggle source</span>
575
+
607
576
  </div>
608
577
 
609
578
 
@@ -611,6 +580,7 @@
611
580
 
612
581
 
613
582
 
583
+
614
584
 
615
585
 
616
586
  <div class="method-source-code" id="to_s-source">
@@ -618,14 +588,14 @@
618
588
  <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
619
589
  <span class="ruby-node">&quot;#{self.full_name} (c: #{self.called}, tt: #{self.total_time}, st: #{self.self_time}, ct: #{self.children_time})&quot;</span>
620
590
  <span class="ruby-keyword">end</span></pre>
621
- </div><!-- to_s-source -->
591
+ </div>
622
592
 
623
593
  </div>
624
594
 
625
595
 
626
596
 
627
597
 
628
- </div><!-- to_s-method -->
598
+ </div>
629
599
 
630
600
 
631
601
  <div id="method-i-total_time" class="method-detail ">
@@ -633,7 +603,9 @@
633
603
  <div class="method-heading">
634
604
  <span class="method-name">total_time</span><span
635
605
  class="method-args">()</span>
606
+
636
607
  <span class="method-click-advice">click to toggle source</span>
608
+
637
609
  </div>
638
610
 
639
611
 
@@ -641,6 +613,7 @@
641
613
 
642
614
 
643
615
 
616
+
644
617
 
645
618
 
646
619
  <div class="method-source-code" id="total_time-source">
@@ -653,14 +626,14 @@
653
626
  <span class="ruby-keyword">end</span>
654
627
  <span class="ruby-keyword">end</span>
655
628
  <span class="ruby-keyword">end</span></pre>
656
- </div><!-- total_time-source -->
629
+ </div>
657
630
 
658
631
  </div>
659
632
 
660
633
 
661
634
 
662
635
 
663
- </div><!-- total_time-method -->
636
+ </div>
664
637
 
665
638
 
666
639
  <div id="method-i-wait_time" class="method-detail ">
@@ -668,7 +641,9 @@
668
641
  <div class="method-heading">
669
642
  <span class="method-name">wait_time</span><span
670
643
  class="method-args">()</span>
644
+
671
645
  <span class="method-click-advice">click to toggle source</span>
646
+
672
647
  </div>
673
648
 
674
649
 
@@ -676,6 +651,7 @@
676
651
 
677
652
 
678
653
 
654
+
679
655
 
680
656
 
681
657
  <div class="method-source-code" id="wait_time-source">
@@ -688,26 +664,25 @@
688
664
  <span class="ruby-keyword">end</span>
689
665
  <span class="ruby-keyword">end</span>
690
666
  <span class="ruby-keyword">end</span></pre>
691
- </div><!-- wait_time-source -->
667
+ </div>
692
668
 
693
669
  </div>
694
670
 
695
671
 
696
672
 
697
673
 
698
- </div><!-- wait_time-method -->
674
+ </div>
699
675
 
700
676
 
701
- </section><!-- public-instance-method-details -->
677
+ </section>
702
678
 
703
- </section><!-- 5Buntitled-5D -->
704
-
705
- </div><!-- documentation -->
679
+ </section>
680
+ </main>
706
681
 
707
682
 
708
- <footer id="validator-badges">
709
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
710
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
711
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
683
+ <footer id="validator-badges" role="contentinfo">
684
+ <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>.
712
687
  </footer>
713
688