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.
- checksums.yaml +4 -4
- data/CHANGES +14 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -3
- data/bin/ruby-prof +4 -4
- data/bin/ruby-prof-check-trace +45 -0
- data/doc/LICENSE.html +49 -88
- data/doc/README_rdoc.html +92 -106
- data/doc/Rack.html +47 -116
- data/doc/Rack/RubyProf.html +119 -174
- data/doc/RubyProf.html +184 -216
- data/doc/RubyProf/AbstractPrinter.html +131 -162
- data/doc/RubyProf/AggregateCallInfo.html +136 -166
- data/doc/RubyProf/CallInfo.html +113 -154
- data/doc/RubyProf/CallInfoPrinter.html +56 -123
- data/doc/RubyProf/CallInfoVisitor.html +87 -216
- data/doc/RubyProf/CallStackPrinter.html +222 -215
- data/doc/RubyProf/CallTreePrinter.html +91 -142
- data/doc/RubyProf/Cmd.html +115 -157
- data/doc/RubyProf/DotPrinter.html +88 -140
- data/doc/RubyProf/FlatPrinter.html +66 -129
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +69 -132
- data/doc/RubyProf/GraphHtmlPrinter.html +115 -166
- data/doc/RubyProf/GraphPrinter.html +58 -125
- data/doc/RubyProf/MethodInfo.html +147 -172
- data/doc/RubyProf/MultiPrinter.html +104 -150
- data/doc/RubyProf/Profile.html +125 -179
- data/doc/RubyProf/ProfileTask.html +117 -157
- data/doc/RubyProf/Test.html +115 -154
- data/doc/RubyProf/Thread.html +87 -147
- data/doc/created.rid +13 -14
- data/doc/examples/flat_txt.html +51 -90
- data/doc/examples/graph_html.html +852 -0
- data/doc/examples/graph_txt.html +64 -92
- data/doc/fonts.css +167 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/index.html +75 -65
- data/doc/js/darkfish.js +0 -15
- data/doc/js/search.js +20 -5
- data/doc/js/search_index.js +1 -1
- data/doc/rdoc.css +255 -218
- data/doc/table_of_contents.html +751 -353
- data/ext/ruby_prof/extconf.rb +20 -22
- data/ext/ruby_prof/rp_measure_allocations.c +9 -5
- data/ext/ruby_prof/rp_measure_gc_runs.c +8 -0
- data/ext/ruby_prof/rp_measure_gc_time.c +5 -2
- data/ext/ruby_prof/rp_measure_wall_time.c +1 -0
- data/ext/ruby_prof/rp_method.c +0 -9
- data/ext/ruby_prof/rp_method.h +1 -6
- data/ext/ruby_prof/ruby_prof.c +32 -112
- data/ext/ruby_prof/ruby_prof.h +9 -10
- data/lib/ruby-prof.rb +2 -1
- data/lib/ruby-prof/aggregate_call_info.rb +4 -6
- data/lib/ruby-prof/call_info_visitor.rb +42 -44
- data/lib/ruby-prof/printers/graph_html_printer.rb +0 -8
- data/lib/ruby-prof/profile.rb +4 -4
- data/lib/ruby-prof/rack.rb +47 -47
- data/lib/ruby-prof/task.rb +0 -0
- data/lib/ruby-prof/thread.rb +22 -22
- data/lib/ruby-prof/version.rb +3 -0
- data/ruby-prof.gemspec +7 -11
- data/test/call_info_test.rb +78 -78
- data/test/call_info_visitor_test.rb +31 -31
- data/test/fiber_test.rb +2 -2
- data/test/measure_gc_runs_test.rb +1 -1
- data/test/measure_process_time_test.rb +7 -6
- data/test/printers_test.rb +4 -8
- data/test/recursive_test.rb +5 -9
- data/test/test_helper.rb +1 -1
- data/test/unique_call_path_test.rb +7 -29
- data/test/yarv_test.rb +55 -0
- metadata +63 -55
- data/ext/ruby_prof/version.h +0 -7
- data/lib/ruby-prof/test.rb +0 -150
- data/test/exec_test.rb +0 -14
- data/test/test_suite.rb +0 -37
data/doc/RubyProf/Test.html
CHANGED
@@ -2,169 +2,102 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
5
|
+
<meta charset="UTF-8">
|
6
6
|
|
7
7
|
<title>module RubyProf::Test - ruby-prof</title>
|
8
8
|
|
9
|
-
<link
|
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
|
16
|
-
<script
|
17
|
-
<script
|
18
|
-
<script
|
19
|
-
<script
|
20
|
-
<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="module">
|
24
|
-
<nav
|
25
|
-
<
|
26
|
-
|
27
|
-
|
24
|
+
<body id="top" role="document" class="module">
|
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
|
-
</
|
31
|
-
</
|
32
|
-
|
36
|
+
</div>
|
37
|
+
</div>
|
33
38
|
|
34
|
-
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
35
40
|
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<
|
37
|
-
<input
|
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
|
-
</
|
40
|
-
</form>
|
46
|
+
</div>
|
41
47
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/ruby-prof/test.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
60
|
|
60
61
|
|
62
|
+
|
61
63
|
<!-- Method Quickref -->
|
62
|
-
<
|
63
|
-
<h3
|
64
|
+
<div id="method-list-section" class="nav-section">
|
65
|
+
<h3>Methods</h3>
|
64
66
|
|
65
|
-
<ul class="link-list">
|
67
|
+
<ul class="link-list" role="directory">
|
66
68
|
|
67
|
-
<li><a href="#method-i-format_profile_total">#format_profile_total</a>
|
69
|
+
<li ><a href="#method-i-format_profile_total">#format_profile_total</a>
|
68
70
|
|
69
|
-
<li><a href="#method-i-measure_mode_name">#measure_mode_name</a>
|
71
|
+
<li ><a href="#method-i-measure_mode_name">#measure_mode_name</a>
|
70
72
|
|
71
|
-
<li><a href="#method-i-output_dir">#output_dir</a>
|
73
|
+
<li ><a href="#method-i-output_dir">#output_dir</a>
|
72
74
|
|
73
|
-
<li><a href="#method-i-report_filename">#report_filename</a>
|
75
|
+
<li ><a href="#method-i-report_filename">#report_filename</a>
|
74
76
|
|
75
|
-
<li><a href="#method-i-report_profile">#report_profile</a>
|
77
|
+
<li ><a href="#method-i-report_profile">#report_profile</a>
|
76
78
|
|
77
|
-
<li><a href="#method-i-run">#run</a>
|
79
|
+
<li ><a href="#method-i-run">#run</a>
|
78
80
|
|
79
|
-
<li><a href="#method-i-run_profile">#run_profile</a>
|
81
|
+
<li ><a href="#method-i-run_profile">#run_profile</a>
|
80
82
|
|
81
|
-
<li><a href="#method-i-run_test">#run_test</a>
|
83
|
+
<li ><a href="#method-i-run_test">#run_test</a>
|
82
84
|
|
83
|
-
<li><a href="#method-i-run_warmup">#run_warmup</a>
|
85
|
+
<li ><a href="#method-i-run_warmup">#run_warmup</a>
|
84
86
|
|
85
87
|
</ul>
|
86
|
-
</
|
88
|
+
</div>
|
87
89
|
|
88
90
|
</div>
|
89
|
-
|
90
|
-
<div id="project-metadata">
|
91
|
-
<nav id="fileindex-section" class="section project-section">
|
92
|
-
<h3 class="section-header">Pages</h3>
|
93
|
-
|
94
|
-
<ul>
|
95
|
-
|
96
|
-
<li class="file"><a href="../LICENSE.html">LICENSE</a>
|
97
|
-
|
98
|
-
<li class="file"><a href="../README_rdoc.html">README</a>
|
99
|
-
|
100
|
-
<li class="file"><a href="../examples/flat_txt.html">flat</a>
|
101
|
-
|
102
|
-
<li class="file"><a href="../examples/graph_txt.html">graph</a>
|
103
|
-
|
104
|
-
</ul>
|
105
91
|
</nav>
|
106
92
|
|
107
|
-
|
108
|
-
<
|
93
|
+
<main role="main" aria-labelledby="module-RubyProf::Test">
|
94
|
+
<h1 id="module-RubyProf::Test" class="module">
|
95
|
+
module RubyProf::Test
|
96
|
+
</h1>
|
109
97
|
|
110
|
-
<
|
111
|
-
|
112
|
-
<li><a href="../RubyProf.html">RubyProf</a>
|
113
|
-
|
114
|
-
<li><a href="../RubyProf/AbstractPrinter.html">RubyProf::AbstractPrinter</a>
|
115
|
-
|
116
|
-
<li><a href="../RubyProf/AggregateCallInfo.html">RubyProf::AggregateCallInfo</a>
|
117
|
-
|
118
|
-
<li><a href="../RubyProf/CallInfo.html">RubyProf::CallInfo</a>
|
119
|
-
|
120
|
-
<li><a href="../RubyProf/CallInfoPrinter.html">RubyProf::CallInfoPrinter</a>
|
121
|
-
|
122
|
-
<li><a href="../RubyProf/CallInfoVisitor.html">RubyProf::CallInfoVisitor</a>
|
123
|
-
|
124
|
-
<li><a href="../RubyProf/CallStackPrinter.html">RubyProf::CallStackPrinter</a>
|
125
|
-
|
126
|
-
<li><a href="../RubyProf/CallTreePrinter.html">RubyProf::CallTreePrinter</a>
|
127
|
-
|
128
|
-
<li><a href="../RubyProf/Cmd.html">RubyProf::Cmd</a>
|
129
|
-
|
130
|
-
<li><a href="../RubyProf/DotPrinter.html">RubyProf::DotPrinter</a>
|
131
|
-
|
132
|
-
<li><a href="../RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a>
|
133
|
-
|
134
|
-
<li><a href="../RubyProf/FlatPrinterWithLineNumbers.html">RubyProf::FlatPrinterWithLineNumbers</a>
|
135
|
-
|
136
|
-
<li><a href="../RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a>
|
137
|
-
|
138
|
-
<li><a href="../RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a>
|
139
|
-
|
140
|
-
<li><a href="../RubyProf/MethodInfo.html">RubyProf::MethodInfo</a>
|
141
|
-
|
142
|
-
<li><a href="../RubyProf/MultiPrinter.html">RubyProf::MultiPrinter</a>
|
143
|
-
|
144
|
-
<li><a href="../RubyProf/Profile.html">RubyProf::Profile</a>
|
145
|
-
|
146
|
-
<li><a href="../RubyProf/ProfileTask.html">RubyProf::ProfileTask</a>
|
147
|
-
|
148
|
-
<li><a href="../RubyProf/Test.html">RubyProf::Test</a>
|
149
|
-
|
150
|
-
<li><a href="../RubyProf/Thread.html">RubyProf::Thread</a>
|
151
|
-
|
152
|
-
<li><a href="../Rack.html">Rack</a>
|
153
|
-
|
154
|
-
<li><a href="../Rack/RubyProf.html">Rack::RubyProf</a>
|
155
|
-
|
156
|
-
</ul>
|
157
|
-
</nav>
|
158
|
-
|
159
|
-
</div>
|
160
|
-
</nav>
|
161
|
-
|
162
|
-
<div id="documentation">
|
163
|
-
<h1 class="module">module RubyProf::Test</h1>
|
164
|
-
|
165
|
-
<div id="description" class="description">
|
98
|
+
<section class="description">
|
166
99
|
|
167
|
-
</
|
100
|
+
</section>
|
168
101
|
|
169
102
|
|
170
103
|
|
@@ -175,14 +108,15 @@
|
|
175
108
|
|
176
109
|
|
177
110
|
|
178
|
-
|
179
|
-
|
180
|
-
|
111
|
+
<section class="constants-list">
|
112
|
+
<header>
|
113
|
+
<h3>Constants</h3>
|
114
|
+
</header>
|
181
115
|
<dl>
|
182
116
|
|
183
117
|
<dt id="PROFILE_OPTIONS">PROFILE_OPTIONS
|
184
118
|
|
185
|
-
<dd
|
119
|
+
<dd>
|
186
120
|
|
187
121
|
|
188
122
|
</dl>
|
@@ -191,10 +125,11 @@
|
|
191
125
|
|
192
126
|
|
193
127
|
|
194
|
-
<!-- Methods -->
|
195
128
|
|
196
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
197
|
-
|
129
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
130
|
+
<header>
|
131
|
+
<h3>Public Instance Methods</h3>
|
132
|
+
</header>
|
198
133
|
|
199
134
|
|
200
135
|
<div id="method-i-format_profile_total" class="method-detail ">
|
@@ -202,7 +137,9 @@
|
|
202
137
|
<div class="method-heading">
|
203
138
|
<span class="method-name">format_profile_total</span><span
|
204
139
|
class="method-args">(total, measure_mode)</span>
|
140
|
+
|
205
141
|
<span class="method-click-advice">click to toggle source</span>
|
142
|
+
|
206
143
|
</div>
|
207
144
|
|
208
145
|
|
@@ -210,6 +147,7 @@
|
|
210
147
|
|
211
148
|
|
212
149
|
|
150
|
+
|
213
151
|
|
214
152
|
|
215
153
|
<div class="method-source-code" id="format_profile_total-source">
|
@@ -226,14 +164,14 @@
|
|
226
164
|
<span class="ruby-node">"%.2f #{measure_mode}"</span>
|
227
165
|
<span class="ruby-keyword">end</span>
|
228
166
|
<span class="ruby-keyword">end</span></pre>
|
229
|
-
</div
|
167
|
+
</div>
|
230
168
|
|
231
169
|
</div>
|
232
170
|
|
233
171
|
|
234
172
|
|
235
173
|
|
236
|
-
</div
|
174
|
+
</div>
|
237
175
|
|
238
176
|
|
239
177
|
<div id="method-i-measure_mode_name" class="method-detail ">
|
@@ -241,7 +179,9 @@
|
|
241
179
|
<div class="method-heading">
|
242
180
|
<span class="method-name">measure_mode_name</span><span
|
243
181
|
class="method-args">(measure_mode)</span>
|
182
|
+
|
244
183
|
<span class="method-click-advice">click to toggle source</span>
|
184
|
+
|
245
185
|
</div>
|
246
186
|
|
247
187
|
|
@@ -249,6 +189,7 @@
|
|
249
189
|
|
250
190
|
|
251
191
|
|
192
|
+
|
252
193
|
|
253
194
|
|
254
195
|
<div class="method-source-code" id="measure_mode_name-source">
|
@@ -262,14 +203,14 @@
|
|
262
203
|
<span class="ruby-keyword">else</span> <span class="ruby-node">"measure#{measure_mode}"</span>
|
263
204
|
<span class="ruby-keyword">end</span>
|
264
205
|
<span class="ruby-keyword">end</span></pre>
|
265
|
-
</div
|
206
|
+
</div>
|
266
207
|
|
267
208
|
</div>
|
268
209
|
|
269
210
|
|
270
211
|
|
271
212
|
|
272
|
-
</div
|
213
|
+
</div>
|
273
214
|
|
274
215
|
|
275
216
|
<div id="method-i-output_dir" class="method-detail ">
|
@@ -277,7 +218,9 @@
|
|
277
218
|
<div class="method-heading">
|
278
219
|
<span class="method-name">output_dir</span><span
|
279
220
|
class="method-args">()</span>
|
221
|
+
|
280
222
|
<span class="method-click-advice">click to toggle source</span>
|
223
|
+
|
281
224
|
</div>
|
282
225
|
|
283
226
|
|
@@ -285,6 +228,7 @@
|
|
285
228
|
|
286
229
|
|
287
230
|
|
231
|
+
|
288
232
|
|
289
233
|
|
290
234
|
<div class="method-source-code" id="output_dir-source">
|
@@ -292,14 +236,14 @@
|
|
292
236
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output_dir</span>
|
293
237
|
<span class="ruby-constant">PROFILE_OPTIONS</span>[<span class="ruby-value">:output_dir</span>]
|
294
238
|
<span class="ruby-keyword">end</span></pre>
|
295
|
-
</div
|
239
|
+
</div>
|
296
240
|
|
297
241
|
</div>
|
298
242
|
|
299
243
|
|
300
244
|
|
301
245
|
|
302
|
-
</div
|
246
|
+
</div>
|
303
247
|
|
304
248
|
|
305
249
|
<div id="method-i-report_filename" class="method-detail ">
|
@@ -307,7 +251,9 @@
|
|
307
251
|
<div class="method-heading">
|
308
252
|
<span class="method-name">report_filename</span><span
|
309
253
|
class="method-args">(printer, measure_mode)</span>
|
254
|
+
|
310
255
|
<span class="method-click-advice">click to toggle source</span>
|
256
|
+
|
311
257
|
</div>
|
312
258
|
|
313
259
|
|
@@ -315,6 +261,7 @@
|
|
315
261
|
|
316
262
|
<p>The report filename is test_name + measure_mode + report_type</p>
|
317
263
|
|
264
|
+
|
318
265
|
|
319
266
|
|
320
267
|
<div class="method-source-code" id="report_filename-source">
|
@@ -331,14 +278,14 @@
|
|
331
278
|
|
332
279
|
<span class="ruby-node">"#{output_dir}/#{method_name}_#{measure_mode_name(measure_mode)}_#{suffix}"</span>
|
333
280
|
<span class="ruby-keyword">end</span></pre>
|
334
|
-
</div
|
281
|
+
</div>
|
335
282
|
|
336
283
|
</div>
|
337
284
|
|
338
285
|
|
339
286
|
|
340
287
|
|
341
|
-
</div
|
288
|
+
</div>
|
342
289
|
|
343
290
|
|
344
291
|
<div id="method-i-report_profile" class="method-detail ">
|
@@ -346,7 +293,9 @@
|
|
346
293
|
<div class="method-heading">
|
347
294
|
<span class="method-name">report_profile</span><span
|
348
295
|
class="method-args">(data, measure_mode)</span>
|
296
|
+
|
349
297
|
<span class="method-click-advice">click to toggle source</span>
|
298
|
+
|
350
299
|
</div>
|
351
300
|
|
352
301
|
|
@@ -354,6 +303,7 @@
|
|
354
303
|
|
355
304
|
|
356
305
|
|
306
|
+
|
357
307
|
|
358
308
|
|
359
309
|
<div class="method-source-code" id="report_profile-source">
|
@@ -373,14 +323,14 @@
|
|
373
323
|
<span class="ruby-keyword">end</span>
|
374
324
|
<span class="ruby-keyword">end</span>
|
375
325
|
<span class="ruby-keyword">end</span></pre>
|
376
|
-
</div
|
326
|
+
</div>
|
377
327
|
|
378
328
|
</div>
|
379
329
|
|
380
330
|
|
381
331
|
|
382
332
|
|
383
|
-
</div
|
333
|
+
</div>
|
384
334
|
|
385
335
|
|
386
336
|
<div id="method-i-run" class="method-detail ">
|
@@ -388,7 +338,9 @@
|
|
388
338
|
<div class="method-heading">
|
389
339
|
<span class="method-name">run</span><span
|
390
340
|
class="method-args">(result) { |STARTED, name| ... }</span>
|
341
|
+
|
391
342
|
<span class="method-click-advice">click to toggle source</span>
|
343
|
+
|
392
344
|
</div>
|
393
345
|
|
394
346
|
|
@@ -396,6 +348,7 @@
|
|
396
348
|
|
397
349
|
|
398
350
|
|
351
|
+
|
399
352
|
|
400
353
|
|
401
354
|
<div class="method-source-code" id="run-source">
|
@@ -413,14 +366,14 @@
|
|
413
366
|
<span class="ruby-keyword">end</span>
|
414
367
|
<span class="ruby-keyword">yield</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">FINISHED</span>, <span class="ruby-identifier">name</span>)
|
415
368
|
<span class="ruby-keyword">end</span></pre>
|
416
|
-
</div
|
369
|
+
</div>
|
417
370
|
|
418
371
|
</div>
|
419
372
|
|
420
373
|
|
421
374
|
|
422
375
|
|
423
|
-
</div
|
376
|
+
</div>
|
424
377
|
|
425
378
|
|
426
379
|
<div id="method-i-run_profile" class="method-detail ">
|
@@ -428,7 +381,9 @@
|
|
428
381
|
<div class="method-heading">
|
429
382
|
<span class="method-name">run_profile</span><span
|
430
383
|
class="method-args">(measure_mode)</span>
|
384
|
+
|
431
385
|
<span class="method-click-advice">click to toggle source</span>
|
386
|
+
|
432
387
|
</div>
|
433
388
|
|
434
389
|
|
@@ -436,6 +391,7 @@
|
|
436
391
|
|
437
392
|
|
438
393
|
|
394
|
+
|
439
395
|
|
440
396
|
|
441
397
|
<div class="method-source-code" id="run_profile-source">
|
@@ -471,14 +427,14 @@
|
|
471
427
|
|
472
428
|
<span class="ruby-identifier">data</span>
|
473
429
|
<span class="ruby-keyword">end</span></pre>
|
474
|
-
</div
|
430
|
+
</div>
|
475
431
|
|
476
432
|
</div>
|
477
433
|
|
478
434
|
|
479
435
|
|
480
436
|
|
481
|
-
</div
|
437
|
+
</div>
|
482
438
|
|
483
439
|
|
484
440
|
<div id="method-i-run_test" class="method-detail ">
|
@@ -486,7 +442,9 @@
|
|
486
442
|
<div class="method-heading">
|
487
443
|
<span class="method-name">run_test</span><span
|
488
444
|
class="method-args">() { || ... }</span>
|
445
|
+
|
489
446
|
<span class="method-click-advice">click to toggle source</span>
|
447
|
+
|
490
448
|
</div>
|
491
449
|
|
492
450
|
|
@@ -494,6 +452,7 @@
|
|
494
452
|
|
495
453
|
|
496
454
|
|
455
|
+
|
497
456
|
|
498
457
|
|
499
458
|
<div class="method-source-code" id="run_test-source">
|
@@ -516,14 +475,14 @@
|
|
516
475
|
<span class="ruby-keyword">end</span>
|
517
476
|
<span class="ruby-keyword">end</span>
|
518
477
|
<span class="ruby-keyword">end</span></pre>
|
519
|
-
</div
|
478
|
+
</div>
|
520
479
|
|
521
480
|
</div>
|
522
481
|
|
523
482
|
|
524
483
|
|
525
484
|
|
526
|
-
</div
|
485
|
+
</div>
|
527
486
|
|
528
487
|
|
529
488
|
<div id="method-i-run_warmup" class="method-detail ">
|
@@ -531,7 +490,9 @@
|
|
531
490
|
<div class="method-heading">
|
532
491
|
<span class="method-name">run_warmup</span><span
|
533
492
|
class="method-args">()</span>
|
493
|
+
|
534
494
|
<span class="method-click-advice">click to toggle source</span>
|
495
|
+
|
535
496
|
</div>
|
536
497
|
|
537
498
|
|
@@ -539,6 +500,7 @@
|
|
539
500
|
|
540
501
|
|
541
502
|
|
503
|
+
|
542
504
|
|
543
505
|
|
544
506
|
<div class="method-source-code" id="run_warmup-source">
|
@@ -553,26 +515,25 @@
|
|
553
515
|
<span class="ruby-identifier">puts</span> <span class="ruby-string">" (%.2fs warmup)"</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">bench</span>
|
554
516
|
<span class="ruby-keyword">end</span>
|
555
517
|
<span class="ruby-keyword">end</span></pre>
|
556
|
-
</div
|
518
|
+
</div>
|
557
519
|
|
558
520
|
</div>
|
559
521
|
|
560
522
|
|
561
523
|
|
562
524
|
|
563
|
-
</div
|
525
|
+
</div>
|
564
526
|
|
565
527
|
|
566
|
-
</section
|
528
|
+
</section>
|
567
529
|
|
568
|
-
</section
|
569
|
-
|
570
|
-
</div><!-- documentation -->
|
530
|
+
</section>
|
531
|
+
</main>
|
571
532
|
|
572
533
|
|
573
|
-
<footer id="validator-badges">
|
574
|
-
<p><a href="http://validator.w3.org/check/referer">
|
575
|
-
<p>Generated by <a href="
|
576
|
-
<p>
|
534
|
+
<footer id="validator-badges" role="contentinfo">
|
535
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
536
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
537
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
577
538
|
</footer>
|
578
539
|
|