ruby-prof 0.4.1-mswin32 → 0.5.0-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +30 -0
- data/README +65 -25
- data/Rakefile +33 -32
- data/bin/ruby-prof +100 -83
- data/examples/graph.html +65 -69
- data/ext/measure_allocations.h +43 -0
- data/ext/measure_cpu_time.h +138 -0
- data/ext/measure_process_time.h +41 -0
- data/ext/measure_wall_time.h +42 -0
- data/ext/ruby_prof.c +737 -653
- data/lib/ruby-prof.rb +41 -38
- data/lib/ruby-prof/abstract_printer.rb +42 -0
- data/lib/ruby-prof/call_tree_printer.rb +69 -0
- data/lib/ruby-prof/flat_printer.rb +78 -75
- data/lib/ruby-prof/graph_html_printer.rb +241 -228
- data/lib/ruby-prof/graph_printer.rb +160 -141
- data/lib/ruby-prof/profile_test_case.rb +80 -0
- data/lib/ruby-prof/rails_plugin/ruby-prof/init.rb +6 -0
- data/lib/ruby-prof/rails_plugin/ruby-prof/lib/profiling.rb +52 -0
- data/lib/ruby-prof/task.rb +147 -0
- data/lib/ruby_prof.so +0 -0
- data/test/basic_test.rb +65 -35
- data/test/duplicate_names_test.rb +20 -24
- data/test/gc.log +5 -0
- data/test/measure_mode_test.rb +79 -0
- data/test/module_test.rb +31 -18
- data/test/no_method_class_test.rb +14 -0
- data/test/prime1.rb +17 -0
- data/test/prime2.rb +26 -0
- data/test/prime3.rb +17 -0
- data/test/prime_test.rb +10 -10
- data/test/printers_test.rb +14 -12
- data/test/profile_unit_test.rb +24 -0
- data/test/recursive_test.rb +105 -17
- data/test/singleton_test.rb +38 -0
- data/test/start_test.rb +24 -0
- data/test/test_helper.rb +33 -29
- data/test/test_suite.rb +10 -2
- data/test/thread_test.rb +123 -17
- data/test/timing_test.rb +70 -29
- metadata +28 -30
- data/doc/created.rid +0 -1
- data/doc/files/LICENSE.html +0 -0
- data/doc/files/README.html +0 -376
- data/doc/files/bin/ruby-prof.html +0 -143
- data/doc/files/examples/flat_txt.html +0 -179
- data/doc/files/examples/graph_html.html +0 -948
- data/doc/files/examples/graph_txt.html +0 -297
- data/doc/files/ext/ruby_prof_c.html +0 -101
- data/doc/files/lib/ruby-prof/flat_printer_rb.html +0 -101
- data/doc/files/lib/ruby-prof/graph_html_printer_rb.html +0 -108
- data/doc/files/lib/ruby-prof/graph_printer_rb.html +0 -101
- data/doc/files/lib/ruby-prof/profiletask_rb.html +0 -109
- data/doc/files/lib/ruby-prof_rb.html +0 -111
- data/doc/files/lib/unprof_rb.html +0 -108
- data/doc/rdoc-style.css +0 -208
- data/lib/ruby-prof/profiletask.rb +0 -150
- data/test/clock_mode_test.rb +0 -73
@@ -1,143 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: ruby-prof</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>ruby-prof</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>bin/ruby-prof
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Wed Jun 21 02:27:11 Mountain Standard Time 2006</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<h2>Synopsis</h2>
|
73
|
-
<p>
|
74
|
-
Profiles a Ruby program.
|
75
|
-
</p>
|
76
|
-
<h2>Usage</h2>
|
77
|
-
<p>
|
78
|
-
ruby_prof [options] <script.rb> [options-for-script]
|
79
|
-
</p>
|
80
|
-
<p>
|
81
|
-
Options:
|
82
|
-
</p>
|
83
|
-
<pre>
|
84
|
-
-p, --printer=printer Select a printer:
|
85
|
-
flat - Prints a flat profile as text (default).
|
86
|
-
graph - Prints a graph profile as text.
|
87
|
-
graph_html - Prints a graph profile as html.
|
88
|
-
-f, --file=path Output results to a file instead of standard out.
|
89
|
-
-c, --clock-mode=clock_mode Select a clock mode:
|
90
|
-
process - Use process time (default).
|
91
|
-
wall - Use wall time.
|
92
|
-
cpu - Use the CPU clock counter
|
93
|
-
(only supported on Pentium and PowerPCs).
|
94
|
-
-h, --help Show help message
|
95
|
-
--version Show version
|
96
|
-
</pre>
|
97
|
-
<p>
|
98
|
-
See also: <a href="../examples/flat_txt.html">flat profiles</a>, <a
|
99
|
-
href="../examples/graph_txt.html">graph profiles</a>, <a
|
100
|
-
href="../examples/graph_html.html">html graph profiles</a>
|
101
|
-
</p>
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
<div id="requires-list">
|
106
|
-
<h3 class="section-bar">Required files</h3>
|
107
|
-
|
108
|
-
<div class="name-list">
|
109
|
-
ostruct
|
110
|
-
optparse
|
111
|
-
ruby-prof
|
112
|
-
</div>
|
113
|
-
</div>
|
114
|
-
|
115
|
-
</div>
|
116
|
-
|
117
|
-
|
118
|
-
</div>
|
119
|
-
|
120
|
-
|
121
|
-
<!-- if includes -->
|
122
|
-
|
123
|
-
<div id="section">
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
<!-- if method_list -->
|
133
|
-
|
134
|
-
|
135
|
-
</div>
|
136
|
-
|
137
|
-
|
138
|
-
<div id="validator-badges">
|
139
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
140
|
-
</div>
|
141
|
-
|
142
|
-
</body>
|
143
|
-
</html>
|
@@ -1,179 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: flat.txt</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>flat.txt</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>examples/flat.txt
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Thu Jun 22 15:51:20 Mountain Standard Time 2006</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<h1>Flat Profiles</h1>
|
73
|
-
<p>
|
74
|
-
Flat profiles show the total amount of time spent in each method. As an
|
75
|
-
example, here is the output from running printers_test.rb.
|
76
|
-
</p>
|
77
|
-
<p>
|
78
|
-
Thread ID: 21277412
|
79
|
-
</p>
|
80
|
-
<pre>
|
81
|
-
%self cumulative total self children calls self/call total/call name
|
82
|
-
46.34 4.06 8.72 4.06 4.66 501 0.01 0.02 Integer#upto
|
83
|
-
23.89 6.16 2.09 2.09 0.00 61 0.03 0.03 Kernel.sleep
|
84
|
-
15.12 7.48 1.33 1.33 0.00 250862 0.00 0.00 Fixnum#%
|
85
|
-
14.13 8.72 1.24 1.24 0.00 250862 0.00 0.00 Fixnum#==
|
86
|
-
0.18 8.74 0.02 0.02 0.00 1 0.02 0.02 Array#each_index
|
87
|
-
0.17 8.75 6.64 0.01 6.63 500 0.00 0.01 Object#is_prime
|
88
|
-
0.17 8.77 6.66 0.01 6.64 1 0.01 6.66 Array#select
|
89
|
-
0.00 8.77 0.00 0.00 0.00 501 0.00 0.00 Fixnum#-
|
90
|
-
0.00 8.77 0.00 0.00 0.00 1 0.00 0.00 Array#first
|
91
|
-
0.00 8.77 0.00 0.00 0.00 1 0.00 0.00 Array#length
|
92
|
-
0.00 8.77 0.00 0.00 0.00 1 0.00 0.00 Array#initialize
|
93
|
-
0.00 8.77 8.77 0.00 8.77 1 0.00 8.77 Object#run_primes
|
94
|
-
0.00 8.77 0.00 0.00 0.00 1 0.00 0.00 Integer#to_int
|
95
|
-
0.00 8.77 6.66 0.00 6.66 1 0.00 6.66 Object#find_primes
|
96
|
-
0.00 8.77 2.09 0.00 2.09 1 0.00 2.09 Object#find_largest
|
97
|
-
0.00 8.77 0.02 0.00 0.02 1 0.00 0.02 Object#make_random_array
|
98
|
-
0.00 8.77 0.00 0.00 0.00 1 0.00 0.00 Class#new
|
99
|
-
0.00 8.77 0.00 0.00 0.00 500 0.00 0.00 Array#[]=
|
100
|
-
0.00 8.77 0.00 0.00 0.00 61 0.00 0.00 Fixnum#>
|
101
|
-
0.00 8.77 0.00 0.00 0.00 61 0.00 0.00 Array#[]
|
102
|
-
0.00 8.77 8.77 0.00 8.77 1 0.00 8.77 #toplevel
|
103
|
-
0.00 8.77 0.00 0.00 0.00 500 0.00 0.00 Kernel.rand
|
104
|
-
</pre>
|
105
|
-
<p>
|
106
|
-
All values are in seconds.
|
107
|
-
</p>
|
108
|
-
<p>
|
109
|
-
The columns are:
|
110
|
-
</p>
|
111
|
-
<pre>
|
112
|
-
%self - The percentage of time spent in this method, derived from self_time/total_time
|
113
|
-
cumulative - The sum of the time spent in this method and all the methods listed above it.
|
114
|
-
total - The time spent in this method and its children.
|
115
|
-
self - The time spent in this method.
|
116
|
-
children - The time spent in this method's children.
|
117
|
-
calls - The number of times this method was called.
|
118
|
-
self/call - The average time spent per call in this method.
|
119
|
-
total/call - The average time spent per call in this method and its children.
|
120
|
-
name - The name of the method.
|
121
|
-
</pre>
|
122
|
-
<p>
|
123
|
-
Methods are sorted based on %self, therefore the methods that execute the
|
124
|
-
longest are listed first.
|
125
|
-
</p>
|
126
|
-
<p>
|
127
|
-
The interpretation of method names is:
|
128
|
-
</p>
|
129
|
-
<ul>
|
130
|
-
<li>toplevel - The root method that calls all other methods
|
131
|
-
|
132
|
-
</li>
|
133
|
-
<li>MyObject#test - An instance method "test" of the class
|
134
|
-
"MyObject"
|
135
|
-
|
136
|
-
</li>
|
137
|
-
<li><Object:MyObject>test - The <> characters indicate a singleton
|
138
|
-
method on a singleton class.
|
139
|
-
|
140
|
-
</li>
|
141
|
-
</ul>
|
142
|
-
<p>
|
143
|
-
For example, wee can see that Integer#upto took the most time, 4.06
|
144
|
-
seconds. An additional 4.66 seconds were spent in its children, for a total
|
145
|
-
time of 8.72 seconds.
|
146
|
-
</p>
|
147
|
-
|
148
|
-
</div>
|
149
|
-
|
150
|
-
|
151
|
-
</div>
|
152
|
-
|
153
|
-
|
154
|
-
</div>
|
155
|
-
|
156
|
-
|
157
|
-
<!-- if includes -->
|
158
|
-
|
159
|
-
<div id="section">
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
<!-- if method_list -->
|
169
|
-
|
170
|
-
|
171
|
-
</div>
|
172
|
-
|
173
|
-
|
174
|
-
<div id="validator-badges">
|
175
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
</body>
|
179
|
-
</html>
|
@@ -1,948 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: graph.html</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>graph.html</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>examples/graph.html
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Sun Jun 18 17:36:08 Mountain Standard Time 2006</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "<a
|
74
|
-
href="http://www.w3.org/TR/html4/strict.dtd">www.w3.org/TR/html4/strict.dtd</a>">
|
75
|
-
<html> <!— :nodoc: —> <head> <style
|
76
|
-
media="all" type="text/css">
|
77
|
-
</p>
|
78
|
-
<pre>
|
79
|
-
table {
|
80
|
-
border-collapse: collapse;
|
81
|
-
border: 1px solid #CCC;
|
82
|
-
font-family: Verdana, Arial, Helvetica, sans-serif;
|
83
|
-
font-size: 9pt;
|
84
|
-
line-height: normal;
|
85
|
-
}
|
86
|
-
|
87
|
-
th {
|
88
|
-
text-align: center;
|
89
|
-
border-top: 1px solid #FB7A31;
|
90
|
-
border-bottom: 1px solid #FB7A31;
|
91
|
-
background: #FFC;
|
92
|
-
padding: 0.3em;
|
93
|
-
border-left: 1px solid silver;
|
94
|
-
}
|
95
|
-
|
96
|
-
tr.break td {
|
97
|
-
border: 0;
|
98
|
-
border-top: 1px solid #FB7A31;
|
99
|
-
padding: 0;
|
100
|
-
margin: 0;
|
101
|
-
}
|
102
|
-
|
103
|
-
tr.method td {
|
104
|
-
font-weight: bold;
|
105
|
-
}
|
106
|
-
|
107
|
-
td {
|
108
|
-
padding: 0.3em;
|
109
|
-
}
|
110
|
-
|
111
|
-
td:first-child {
|
112
|
-
width: 190px;
|
113
|
-
}
|
114
|
-
|
115
|
-
td {
|
116
|
-
border-left: 1px solid #CCC;
|
117
|
-
text-align: center;
|
118
|
-
}
|
119
|
-
</style>
|
120
|
-
</pre>
|
121
|
-
<p>
|
122
|
-
</head> <body> <h1> Graph Profile</h1>
|
123
|
-
<p>Graph profiles show how long each method runs, which methods call
|
124
|
-
it
|
125
|
-
</p>
|
126
|
-
<pre>
|
127
|
-
and which methods it calls. To understand how to read a graph profile, refer to
|
128
|
-
the <a href="graph.txt">documentation</a> for the text graph report. </p>
|
129
|
-
</pre>
|
130
|
-
<p>
|
131
|
-
<p>The main advantage of an HTML graph format versus the text format
|
132
|
-
is the use of
|
133
|
-
</p>
|
134
|
-
<pre>
|
135
|
-
hyperlinks to jump between methods. This makes it easier to understand the flow
|
136
|
-
</pre>
|
137
|
-
<p>
|
138
|
-
of control through a program and which methods take the most
|
139
|
-
time.</p> <p>Below is the output from running printers_test.rb
|
140
|
-
reproduced in HTML. </p> <p>Profile Report</p>
|
141
|
-
<!— Threads Table —> <table>
|
142
|
-
</p>
|
143
|
-
<pre>
|
144
|
-
<tr>
|
145
|
-
<th>Thread ID</th>
|
146
|
-
<th>Total Time</th>
|
147
|
-
</tr>
|
148
|
-
<tr>
|
149
|
-
<td><a href="#21277412">21277412</a></td>
|
150
|
-
<td>8.766</td>
|
151
|
-
</tr>
|
152
|
-
</pre>
|
153
|
-
<p>
|
154
|
-
</table> <!— Methods Tables —> <h2><a
|
155
|
-
name="21277412">Thread 21277412</a></h2>
|
156
|
-
<table>
|
157
|
-
</p>
|
158
|
-
<pre>
|
159
|
-
<tr>
|
160
|
-
<th> %Total</th>
|
161
|
-
<th> %Self</th>
|
162
|
-
<th> Total</th>
|
163
|
-
<th> Self</th>
|
164
|
-
<th> Children</th>
|
165
|
-
<th> Calls</th>
|
166
|
-
<th>Name</th>
|
167
|
-
</tr>
|
168
|
-
<!-- Parents -->
|
169
|
-
<tr class="method">
|
170
|
-
<td> 100.00%</td>
|
171
|
-
<td> 0.00%</td>
|
172
|
-
<td> 8.77</td>
|
173
|
-
<td> 0.00</td>
|
174
|
-
<td> 8.77</td>
|
175
|
-
<td> 1</td>
|
176
|
-
<td><a name="_toplevel_21277412">#toplevel</a></td>
|
177
|
-
</tr>
|
178
|
-
<!-- Children -->
|
179
|
-
<tr>
|
180
|
-
<td>&nbsp;</td>
|
181
|
-
<td>&nbsp;</td>
|
182
|
-
<td> 8.77</td>
|
183
|
-
<td> 0.00</td>
|
184
|
-
<td> 8.77</td>
|
185
|
-
<td> 1/1</td>
|
186
|
-
<td><a href="#Object_run_primes_21277412">Object#run_primes</a></td>
|
187
|
-
</tr>
|
188
|
-
<!-- Create divider row -->
|
189
|
-
<tr class="break">
|
190
|
-
<td colspan="7"></td>
|
191
|
-
</tr>
|
192
|
-
<!-- Parents -->
|
193
|
-
<tr>
|
194
|
-
<td>&nbsp;</td>
|
195
|
-
<td>&nbsp;</td>
|
196
|
-
<td> 8.77</td>
|
197
|
-
<td> 0.00</td>
|
198
|
-
<td> 8.77</td>
|
199
|
-
<td> 1/1</td>
|
200
|
-
<td><a href="#_toplevel_21277412">#toplevel</a></td>
|
201
|
-
</tr>
|
202
|
-
<tr class="method">
|
203
|
-
<td> 100.00%</td>
|
204
|
-
<td> 0.00%</td>
|
205
|
-
<td> 8.77</td>
|
206
|
-
<td> 0.00</td>
|
207
|
-
<td> 8.77</td>
|
208
|
-
<td> 1</td>
|
209
|
-
<td><a name="Object_run_primes_21277412">Object#run_primes</a></td>
|
210
|
-
</tr>
|
211
|
-
<!-- Children -->
|
212
|
-
<tr>
|
213
|
-
<td>&nbsp;</td>
|
214
|
-
<td>&nbsp;</td>
|
215
|
-
<td> 0.02</td>
|
216
|
-
<td> 0.00</td>
|
217
|
-
<td> 0.02</td>
|
218
|
-
<td> 1/1</td>
|
219
|
-
<td><a href="#Object_make_random_array_21277412">Object#make_random_array</a></td>
|
220
|
-
</tr>
|
221
|
-
<tr>
|
222
|
-
<td>&nbsp;</td>
|
223
|
-
<td>&nbsp;</td>
|
224
|
-
<td> 2.09</td>
|
225
|
-
<td> 0.00</td>
|
226
|
-
<td> 2.09</td>
|
227
|
-
<td> 1/1</td>
|
228
|
-
<td><a href="#Object_find_largest_21277412">Object#find_largest</a></td>
|
229
|
-
</tr>
|
230
|
-
<tr>
|
231
|
-
<td>&nbsp;</td>
|
232
|
-
<td>&nbsp;</td>
|
233
|
-
<td> 6.66</td>
|
234
|
-
<td> 0.00</td>
|
235
|
-
<td> 6.66</td>
|
236
|
-
<td> 1/1</td>
|
237
|
-
<td><a href="#Object_find_primes_21277412">Object#find_primes</a></td>
|
238
|
-
</tr>
|
239
|
-
<!-- Create divider row -->
|
240
|
-
<tr class="break">
|
241
|
-
<td colspan="7"></td>
|
242
|
-
</tr>
|
243
|
-
<!-- Parents -->
|
244
|
-
<tr>
|
245
|
-
<td>&nbsp;</td>
|
246
|
-
<td>&nbsp;</td>
|
247
|
-
<td> 6.63</td>
|
248
|
-
<td> 4.06</td>
|
249
|
-
<td> 2.56</td>
|
250
|
-
<td> 500/501</td>
|
251
|
-
<td><a href="#Object_is_prime_21277412">Object#is_prime</a></td>
|
252
|
-
</tr>
|
253
|
-
<tr>
|
254
|
-
<td>&nbsp;</td>
|
255
|
-
<td>&nbsp;</td>
|
256
|
-
<td> 2.09</td>
|
257
|
-
<td> 0.00</td>
|
258
|
-
<td> 2.09</td>
|
259
|
-
<td> 1/501</td>
|
260
|
-
<td><a href="#Object_find_largest_21277412">Object#find_largest</a></td>
|
261
|
-
</tr>
|
262
|
-
<tr class="method">
|
263
|
-
<td> 99.48%</td>
|
264
|
-
<td> 46.34%</td>
|
265
|
-
<td> 8.72</td>
|
266
|
-
<td> 4.06</td>
|
267
|
-
<td> 4.66</td>
|
268
|
-
<td> 501</td>
|
269
|
-
<td><a name="Integer_upto_21277412">Integer#upto</a></td>
|
270
|
-
</tr>
|
271
|
-
<!-- Children -->
|
272
|
-
<tr>
|
273
|
-
<td>&nbsp;</td>
|
274
|
-
<td>&nbsp;</td>
|
275
|
-
<td> 0.00</td>
|
276
|
-
<td> 0.00</td>
|
277
|
-
<td> 0.00</td>
|
278
|
-
<td> 61/61</td>
|
279
|
-
<td><a href="#Array_[]_21277412">Array#[]</a></td>
|
280
|
-
</tr>
|
281
|
-
<tr>
|
282
|
-
<td>&nbsp;</td>
|
283
|
-
<td>&nbsp;</td>
|
284
|
-
<td> 0.00</td>
|
285
|
-
<td> 0.00</td>
|
286
|
-
<td> 0.00</td>
|
287
|
-
<td> 61/61</td>
|
288
|
-
<td><a href="#Fixnum_>_21277412">Fixnum#_</a></td>
|
289
|
-
</tr>
|
290
|
-
<tr>
|
291
|
-
<td>&nbsp;</td>
|
292
|
-
<td>&nbsp;</td>
|
293
|
-
<td> 2.09</td>
|
294
|
-
<td> 2.09</td>
|
295
|
-
<td> 0.00</td>
|
296
|
-
<td> 61/61</td>
|
297
|
-
<td><a href="#Kernel_sleep_21277412">Kernel.sleep</a></td>
|
298
|
-
</tr>
|
299
|
-
<tr>
|
300
|
-
<td>&nbsp;</td>
|
301
|
-
<td>&nbsp;</td>
|
302
|
-
<td> 1.24</td>
|
303
|
-
<td> 1.24</td>
|
304
|
-
<td> 0.00</td>
|
305
|
-
<td> 250862/250862</td>
|
306
|
-
<td><a href="#Fixnum____21277412">Fixnum#==</a></td>
|
307
|
-
</tr>
|
308
|
-
<tr>
|
309
|
-
<td>&nbsp;</td>
|
310
|
-
<td>&nbsp;</td>
|
311
|
-
<td> 1.33</td>
|
312
|
-
<td> 1.33</td>
|
313
|
-
<td> 0.00</td>
|
314
|
-
<td> 250862/250862</td>
|
315
|
-
<td><a href="#Fixnum_%_21277412">Fixnum#%</a></td>
|
316
|
-
</tr>
|
317
|
-
<!-- Create divider row -->
|
318
|
-
<tr class="break">
|
319
|
-
<td colspan="7"></td>
|
320
|
-
</tr>
|
321
|
-
<!-- Parents -->
|
322
|
-
<tr>
|
323
|
-
<td>&nbsp;</td>
|
324
|
-
<td>&nbsp;</td>
|
325
|
-
<td> 6.66</td>
|
326
|
-
<td> 0.01</td>
|
327
|
-
<td> 6.64</td>
|
328
|
-
<td> 1/1</td>
|
329
|
-
<td><a href="#Object_find_primes_21277412">Object#find_primes</a></td>
|
330
|
-
</tr>
|
331
|
-
<tr class="method">
|
332
|
-
<td> 75.93%</td>
|
333
|
-
<td> 0.17%</td>
|
334
|
-
<td> 6.66</td>
|
335
|
-
<td> 0.01</td>
|
336
|
-
<td> 6.64</td>
|
337
|
-
<td> 1</td>
|
338
|
-
<td><a name="Array_select_21277412">Array#select</a></td>
|
339
|
-
</tr>
|
340
|
-
<!-- Children -->
|
341
|
-
<tr>
|
342
|
-
<td>&nbsp;</td>
|
343
|
-
<td>&nbsp;</td>
|
344
|
-
<td> 6.64</td>
|
345
|
-
<td> 0.01</td>
|
346
|
-
<td> 6.63</td>
|
347
|
-
<td> 500/500</td>
|
348
|
-
<td><a href="#Object_is_prime_21277412">Object#is_prime</a></td>
|
349
|
-
</tr>
|
350
|
-
<!-- Create divider row -->
|
351
|
-
<tr class="break">
|
352
|
-
<td colspan="7"></td>
|
353
|
-
</tr>
|
354
|
-
<!-- Parents -->
|
355
|
-
<tr>
|
356
|
-
<td>&nbsp;</td>
|
357
|
-
<td>&nbsp;</td>
|
358
|
-
<td> 6.66</td>
|
359
|
-
<td> 0.00</td>
|
360
|
-
<td> 6.66</td>
|
361
|
-
<td> 1/1</td>
|
362
|
-
<td><a href="#Object_run_primes_21277412">Object#run_primes</a></td>
|
363
|
-
</tr>
|
364
|
-
<tr class="method">
|
365
|
-
<td> 75.93%</td>
|
366
|
-
<td> 0.00%</td>
|
367
|
-
<td> 6.66</td>
|
368
|
-
<td> 0.00</td>
|
369
|
-
<td> 6.66</td>
|
370
|
-
<td> 1</td>
|
371
|
-
<td><a name="Object_find_primes_21277412">Object#find_primes</a></td>
|
372
|
-
</tr>
|
373
|
-
<!-- Children -->
|
374
|
-
<tr>
|
375
|
-
<td>&nbsp;</td>
|
376
|
-
<td>&nbsp;</td>
|
377
|
-
<td> 6.66</td>
|
378
|
-
<td> 0.01</td>
|
379
|
-
<td> 6.64</td>
|
380
|
-
<td> 1/1</td>
|
381
|
-
<td><a href="#Array_select_21277412">Array#select</a></td>
|
382
|
-
</tr>
|
383
|
-
<!-- Create divider row -->
|
384
|
-
<tr class="break">
|
385
|
-
<td colspan="7"></td>
|
386
|
-
</tr>
|
387
|
-
<!-- Parents -->
|
388
|
-
<tr>
|
389
|
-
<td>&nbsp;</td>
|
390
|
-
<td>&nbsp;</td>
|
391
|
-
<td> 6.64</td>
|
392
|
-
<td> 0.01</td>
|
393
|
-
<td> 6.63</td>
|
394
|
-
<td> 500/500</td>
|
395
|
-
<td><a href="#Array_select_21277412">Array#select</a></td>
|
396
|
-
</tr>
|
397
|
-
<tr class="method">
|
398
|
-
<td> 75.76%</td>
|
399
|
-
<td> 0.17%</td>
|
400
|
-
<td> 6.64</td>
|
401
|
-
<td> 0.01</td>
|
402
|
-
<td> 6.63</td>
|
403
|
-
<td> 500</td>
|
404
|
-
<td><a name="Object_is_prime_21277412">Object#is_prime</a></td>
|
405
|
-
</tr>
|
406
|
-
<!-- Children -->
|
407
|
-
<tr>
|
408
|
-
<td>&nbsp;</td>
|
409
|
-
<td>&nbsp;</td>
|
410
|
-
<td> 0.00</td>
|
411
|
-
<td> 0.00</td>
|
412
|
-
<td> 0.00</td>
|
413
|
-
<td> 500/501</td>
|
414
|
-
<td><a href="#Fixnum_-_21277412">Fixnum#-</a></td>
|
415
|
-
</tr>
|
416
|
-
<tr>
|
417
|
-
<td>&nbsp;</td>
|
418
|
-
<td>&nbsp;</td>
|
419
|
-
<td> 6.63</td>
|
420
|
-
<td> 4.06</td>
|
421
|
-
<td> 2.56</td>
|
422
|
-
<td> 500/501</td>
|
423
|
-
<td><a href="#Integer_upto_21277412">Integer#upto</a></td>
|
424
|
-
</tr>
|
425
|
-
<!-- Create divider row -->
|
426
|
-
<tr class="break">
|
427
|
-
<td colspan="7"></td>
|
428
|
-
</tr>
|
429
|
-
<!-- Parents -->
|
430
|
-
<tr>
|
431
|
-
<td>&nbsp;</td>
|
432
|
-
<td>&nbsp;</td>
|
433
|
-
<td> 2.09</td>
|
434
|
-
<td> 0.00</td>
|
435
|
-
<td> 2.09</td>
|
436
|
-
<td> 1/1</td>
|
437
|
-
<td><a href="#Object_run_primes_21277412">Object#run_primes</a></td>
|
438
|
-
</tr>
|
439
|
-
<tr class="method">
|
440
|
-
<td> 23.89%</td>
|
441
|
-
<td> 0.00%</td>
|
442
|
-
<td> 2.09</td>
|
443
|
-
<td> 0.00</td>
|
444
|
-
<td> 2.09</td>
|
445
|
-
<td> 1</td>
|
446
|
-
<td><a name="Object_find_largest_21277412">Object#find_largest</a></td>
|
447
|
-
</tr>
|
448
|
-
<!-- Children -->
|
449
|
-
<tr>
|
450
|
-
<td>&nbsp;</td>
|
451
|
-
<td>&nbsp;</td>
|
452
|
-
<td> 0.00</td>
|
453
|
-
<td> 0.00</td>
|
454
|
-
<td> 0.00</td>
|
455
|
-
<td> 1/501</td>
|
456
|
-
<td><a href="#Fixnum_-_21277412">Fixnum#-</a></td>
|
457
|
-
</tr>
|
458
|
-
<tr>
|
459
|
-
<td>&nbsp;</td>
|
460
|
-
<td>&nbsp;</td>
|
461
|
-
<td> 2.09</td>
|
462
|
-
<td> 0.00</td>
|
463
|
-
<td> 2.09</td>
|
464
|
-
<td> 1/501</td>
|
465
|
-
<td><a href="#Integer_upto_21277412">Integer#upto</a></td>
|
466
|
-
</tr>
|
467
|
-
<tr>
|
468
|
-
<td>&nbsp;</td>
|
469
|
-
<td>&nbsp;</td>
|
470
|
-
<td> 0.00</td>
|
471
|
-
<td> 0.00</td>
|
472
|
-
<td> 0.00</td>
|
473
|
-
<td> 1/1</td>
|
474
|
-
<td><a href="#Array_first_21277412">Array#first</a></td>
|
475
|
-
</tr>
|
476
|
-
<tr>
|
477
|
-
<td>&nbsp;</td>
|
478
|
-
<td>&nbsp;</td>
|
479
|
-
<td> 0.00</td>
|
480
|
-
<td> 0.00</td>
|
481
|
-
<td> 0.00</td>
|
482
|
-
<td> 1/1</td>
|
483
|
-
<td><a href="#Array_length_21277412">Array#length</a></td>
|
484
|
-
</tr>
|
485
|
-
<!-- Create divider row -->
|
486
|
-
<tr class="break">
|
487
|
-
<td colspan="7"></td>
|
488
|
-
</tr>
|
489
|
-
<!-- Parents -->
|
490
|
-
<tr>
|
491
|
-
<td>&nbsp;</td>
|
492
|
-
<td>&nbsp;</td>
|
493
|
-
<td> 2.09</td>
|
494
|
-
<td> 2.09</td>
|
495
|
-
<td> 0.00</td>
|
496
|
-
<td> 61/61</td>
|
497
|
-
<td><a href="#Integer_upto_21277412">Integer#upto</a></td>
|
498
|
-
</tr>
|
499
|
-
<tr class="method">
|
500
|
-
<td> 23.89%</td>
|
501
|
-
<td> 23.89%</td>
|
502
|
-
<td> 2.09</td>
|
503
|
-
<td> 2.09</td>
|
504
|
-
<td> 0.00</td>
|
505
|
-
<td> 61</td>
|
506
|
-
<td><a name="Kernel_sleep_21277412">Kernel.sleep</a></td>
|
507
|
-
</tr>
|
508
|
-
<!-- Children -->
|
509
|
-
<!-- Create divider row -->
|
510
|
-
<tr class="break">
|
511
|
-
<td colspan="7"></td>
|
512
|
-
</tr>
|
513
|
-
<!-- Parents -->
|
514
|
-
<tr>
|
515
|
-
<td>&nbsp;</td>
|
516
|
-
<td>&nbsp;</td>
|
517
|
-
<td> 1.33</td>
|
518
|
-
<td> 1.33</td>
|
519
|
-
<td> 0.00</td>
|
520
|
-
<td> 250862/250862</td>
|
521
|
-
<td><a href="#Integer_upto_21277412">Integer#upto</a></td>
|
522
|
-
</tr>
|
523
|
-
<tr class="method">
|
524
|
-
<td> 15.12%</td>
|
525
|
-
<td> 15.12%</td>
|
526
|
-
<td> 1.33</td>
|
527
|
-
<td> 1.33</td>
|
528
|
-
<td> 0.00</td>
|
529
|
-
<td> 250862</td>
|
530
|
-
<td><a name="Fixnum_%_21277412">Fixnum#%</a></td>
|
531
|
-
</tr>
|
532
|
-
<!-- Children -->
|
533
|
-
<!-- Create divider row -->
|
534
|
-
<tr class="break">
|
535
|
-
<td colspan="7"></td>
|
536
|
-
</tr>
|
537
|
-
<!-- Parents -->
|
538
|
-
<tr>
|
539
|
-
<td>&nbsp;</td>
|
540
|
-
<td>&nbsp;</td>
|
541
|
-
<td> 1.24</td>
|
542
|
-
<td> 1.24</td>
|
543
|
-
<td> 0.00</td>
|
544
|
-
<td> 250862/250862</td>
|
545
|
-
<td><a href="#Integer_upto_21277412">Integer#upto</a></td>
|
546
|
-
</tr>
|
547
|
-
<tr class="method">
|
548
|
-
<td> 14.13%</td>
|
549
|
-
<td> 14.13%</td>
|
550
|
-
<td> 1.24</td>
|
551
|
-
<td> 1.24</td>
|
552
|
-
<td> 0.00</td>
|
553
|
-
<td> 250862</td>
|
554
|
-
<td><a name="Fixnum____21277412">Fixnum#==</a></td>
|
555
|
-
</tr>
|
556
|
-
<!-- Children -->
|
557
|
-
<!-- Create divider row -->
|
558
|
-
<tr class="break">
|
559
|
-
<td colspan="7"></td>
|
560
|
-
</tr>
|
561
|
-
<!-- Parents -->
|
562
|
-
<tr>
|
563
|
-
<td>&nbsp;</td>
|
564
|
-
<td>&nbsp;</td>
|
565
|
-
<td> 0.02</td>
|
566
|
-
<td> 0.00</td>
|
567
|
-
<td> 0.02</td>
|
568
|
-
<td> 1/1</td>
|
569
|
-
<td><a href="#Object_run_primes_21277412">Object#run_primes</a></td>
|
570
|
-
</tr>
|
571
|
-
<tr class="method">
|
572
|
-
<td> 0.18%</td>
|
573
|
-
<td> 0.00%</td>
|
574
|
-
<td> 0.02</td>
|
575
|
-
<td> 0.00</td>
|
576
|
-
<td> 0.02</td>
|
577
|
-
<td> 1</td>
|
578
|
-
<td><a name="Object_make_random_array_21277412">Object#make_random_array</a></td>
|
579
|
-
</tr>
|
580
|
-
<!-- Children -->
|
581
|
-
<tr>
|
582
|
-
<td>&nbsp;</td>
|
583
|
-
<td>&nbsp;</td>
|
584
|
-
<td> 0.02</td>
|
585
|
-
<td> 0.02</td>
|
586
|
-
<td> 0.00</td>
|
587
|
-
<td> 1/1</td>
|
588
|
-
<td><a href="#Array_each_index_21277412">Array#each_index</a></td>
|
589
|
-
</tr>
|
590
|
-
<tr>
|
591
|
-
<td>&nbsp;</td>
|
592
|
-
<td>&nbsp;</td>
|
593
|
-
<td> 0.00</td>
|
594
|
-
<td> 0.00</td>
|
595
|
-
<td> 0.00</td>
|
596
|
-
<td> 1/1</td>
|
597
|
-
<td><a href="#Class_new_21277412">Class#new</a></td>
|
598
|
-
</tr>
|
599
|
-
<!-- Create divider row -->
|
600
|
-
<tr class="break">
|
601
|
-
<td colspan="7"></td>
|
602
|
-
</tr>
|
603
|
-
<!-- Parents -->
|
604
|
-
<tr>
|
605
|
-
<td>&nbsp;</td>
|
606
|
-
<td>&nbsp;</td>
|
607
|
-
<td> 0.02</td>
|
608
|
-
<td> 0.02</td>
|
609
|
-
<td> 0.00</td>
|
610
|
-
<td> 1/1</td>
|
611
|
-
<td><a href="#Object_make_random_array_21277412">Object#make_random_array</a></td>
|
612
|
-
</tr>
|
613
|
-
<tr class="method">
|
614
|
-
<td> 0.18%</td>
|
615
|
-
<td> 0.18%</td>
|
616
|
-
<td> 0.02</td>
|
617
|
-
<td> 0.02</td>
|
618
|
-
<td> 0.00</td>
|
619
|
-
<td> 1</td>
|
620
|
-
<td><a name="Array_each_index_21277412">Array#each_index</a></td>
|
621
|
-
</tr>
|
622
|
-
<!-- Children -->
|
623
|
-
<tr>
|
624
|
-
<td>&nbsp;</td>
|
625
|
-
<td>&nbsp;</td>
|
626
|
-
<td> 0.00</td>
|
627
|
-
<td> 0.00</td>
|
628
|
-
<td> 0.00</td>
|
629
|
-
<td> 500/500</td>
|
630
|
-
<td><a href="#Kernel_rand_21277412">Kernel.rand</a></td>
|
631
|
-
</tr>
|
632
|
-
<tr>
|
633
|
-
<td>&nbsp;</td>
|
634
|
-
<td>&nbsp;</td>
|
635
|
-
<td> 0.00</td>
|
636
|
-
<td> 0.00</td>
|
637
|
-
<td> 0.00</td>
|
638
|
-
<td> 500/500</td>
|
639
|
-
<td><a href="#Array_[]__21277412">Array#[]=</a></td>
|
640
|
-
</tr>
|
641
|
-
<!-- Create divider row -->
|
642
|
-
<tr class="break">
|
643
|
-
<td colspan="7"></td>
|
644
|
-
</tr>
|
645
|
-
<!-- Parents -->
|
646
|
-
<tr>
|
647
|
-
<td>&nbsp;</td>
|
648
|
-
<td>&nbsp;</td>
|
649
|
-
<td> 0.00</td>
|
650
|
-
<td> 0.00</td>
|
651
|
-
<td> 0.00</td>
|
652
|
-
<td> 500/501</td>
|
653
|
-
<td><a href="#Object_is_prime_21277412">Object#is_prime</a></td>
|
654
|
-
</tr>
|
655
|
-
<tr>
|
656
|
-
<td>&nbsp;</td>
|
657
|
-
<td>&nbsp;</td>
|
658
|
-
<td> 0.00</td>
|
659
|
-
<td> 0.00</td>
|
660
|
-
<td> 0.00</td>
|
661
|
-
<td> 1/501</td>
|
662
|
-
<td><a href="#Object_find_largest_21277412">Object#find_largest</a></td>
|
663
|
-
</tr>
|
664
|
-
<tr class="method">
|
665
|
-
<td> 0.00%</td>
|
666
|
-
<td> 0.00%</td>
|
667
|
-
<td> 0.00</td>
|
668
|
-
<td> 0.00</td>
|
669
|
-
<td> 0.00</td>
|
670
|
-
<td> 501</td>
|
671
|
-
<td><a name="Fixnum_-_21277412">Fixnum#-</a></td>
|
672
|
-
</tr>
|
673
|
-
<!-- Children -->
|
674
|
-
<!-- Create divider row -->
|
675
|
-
<tr class="break">
|
676
|
-
<td colspan="7"></td>
|
677
|
-
</tr>
|
678
|
-
<!-- Parents -->
|
679
|
-
<tr>
|
680
|
-
<td>&nbsp;</td>
|
681
|
-
<td>&nbsp;</td>
|
682
|
-
<td> 0.00</td>
|
683
|
-
<td> 0.00</td>
|
684
|
-
<td> 0.00</td>
|
685
|
-
<td> 1/1</td>
|
686
|
-
<td><a href="#Kernel_rand_21277412">Kernel.rand</a></td>
|
687
|
-
</tr>
|
688
|
-
<tr class="method">
|
689
|
-
<td> 0.00%</td>
|
690
|
-
<td> 0.00%</td>
|
691
|
-
<td> 0.00</td>
|
692
|
-
<td> 0.00</td>
|
693
|
-
<td> 0.00</td>
|
694
|
-
<td> 1</td>
|
695
|
-
<td><a name="Integer_to_int_21277412">Integer#to_int</a></td>
|
696
|
-
</tr>
|
697
|
-
<!-- Children -->
|
698
|
-
<!-- Create divider row -->
|
699
|
-
<tr class="break">
|
700
|
-
<td colspan="7"></td>
|
701
|
-
</tr>
|
702
|
-
<!-- Parents -->
|
703
|
-
<tr>
|
704
|
-
<td>&nbsp;</td>
|
705
|
-
<td>&nbsp;</td>
|
706
|
-
<td> 0.00</td>
|
707
|
-
<td> 0.00</td>
|
708
|
-
<td> 0.00</td>
|
709
|
-
<td> 1/1</td>
|
710
|
-
<td><a href="#Object_find_largest_21277412">Object#find_largest</a></td>
|
711
|
-
</tr>
|
712
|
-
<tr class="method">
|
713
|
-
<td> 0.00%</td>
|
714
|
-
<td> 0.00%</td>
|
715
|
-
<td> 0.00</td>
|
716
|
-
<td> 0.00</td>
|
717
|
-
<td> 0.00</td>
|
718
|
-
<td> 1</td>
|
719
|
-
<td><a name="Array_first_21277412">Array#first</a></td>
|
720
|
-
</tr>
|
721
|
-
<!-- Children -->
|
722
|
-
<!-- Create divider row -->
|
723
|
-
<tr class="break">
|
724
|
-
<td colspan="7"></td>
|
725
|
-
</tr>
|
726
|
-
<!-- Parents -->
|
727
|
-
<tr>
|
728
|
-
<td>&nbsp;</td>
|
729
|
-
<td>&nbsp;</td>
|
730
|
-
<td> 0.00</td>
|
731
|
-
<td> 0.00</td>
|
732
|
-
<td> 0.00</td>
|
733
|
-
<td> 1/1</td>
|
734
|
-
<td><a href="#Class_new_21277412">Class#new</a></td>
|
735
|
-
</tr>
|
736
|
-
<tr class="method">
|
737
|
-
<td> 0.00%</td>
|
738
|
-
<td> 0.00%</td>
|
739
|
-
<td> 0.00</td>
|
740
|
-
<td> 0.00</td>
|
741
|
-
<td> 0.00</td>
|
742
|
-
<td> 1</td>
|
743
|
-
<td><a name="Array_initialize_21277412">Array#initialize</a></td>
|
744
|
-
</tr>
|
745
|
-
<!-- Children -->
|
746
|
-
<!-- Create divider row -->
|
747
|
-
<tr class="break">
|
748
|
-
<td colspan="7"></td>
|
749
|
-
</tr>
|
750
|
-
<!-- Parents -->
|
751
|
-
<tr>
|
752
|
-
<td>&nbsp;</td>
|
753
|
-
<td>&nbsp;</td>
|
754
|
-
<td> 0.00</td>
|
755
|
-
<td> 0.00</td>
|
756
|
-
<td> 0.00</td>
|
757
|
-
<td> 1/1</td>
|
758
|
-
<td><a href="#Object_find_largest_21277412">Object#find_largest</a></td>
|
759
|
-
</tr>
|
760
|
-
<tr class="method">
|
761
|
-
<td> 0.00%</td>
|
762
|
-
<td> 0.00%</td>
|
763
|
-
<td> 0.00</td>
|
764
|
-
<td> 0.00</td>
|
765
|
-
<td> 0.00</td>
|
766
|
-
<td> 1</td>
|
767
|
-
<td><a name="Array_length_21277412">Array#length</a></td>
|
768
|
-
</tr>
|
769
|
-
<!-- Children -->
|
770
|
-
<!-- Create divider row -->
|
771
|
-
<tr class="break">
|
772
|
-
<td colspan="7"></td>
|
773
|
-
</tr>
|
774
|
-
<!-- Parents -->
|
775
|
-
<tr>
|
776
|
-
<td>&nbsp;</td>
|
777
|
-
<td>&nbsp;</td>
|
778
|
-
<td> 0.00</td>
|
779
|
-
<td> 0.00</td>
|
780
|
-
<td> 0.00</td>
|
781
|
-
<td> 1/1</td>
|
782
|
-
<td><a href="#Object_make_random_array_21277412">Object#make_random_array</a></td>
|
783
|
-
</tr>
|
784
|
-
<tr class="method">
|
785
|
-
<td> 0.00%</td>
|
786
|
-
<td> 0.00%</td>
|
787
|
-
<td> 0.00</td>
|
788
|
-
<td> 0.00</td>
|
789
|
-
<td> 0.00</td>
|
790
|
-
<td> 1</td>
|
791
|
-
<td><a name="Class_new_21277412">Class#new</a></td>
|
792
|
-
</tr>
|
793
|
-
<!-- Children -->
|
794
|
-
<tr>
|
795
|
-
<td>&nbsp;</td>
|
796
|
-
<td>&nbsp;</td>
|
797
|
-
<td> 0.00</td>
|
798
|
-
<td> 0.00</td>
|
799
|
-
<td> 0.00</td>
|
800
|
-
<td> 1/1</td>
|
801
|
-
<td><a href="#Array_initialize_21277412">Array#initialize</a></td>
|
802
|
-
</tr>
|
803
|
-
<!-- Create divider row -->
|
804
|
-
<tr class="break">
|
805
|
-
<td colspan="7"></td>
|
806
|
-
</tr>
|
807
|
-
<!-- Parents -->
|
808
|
-
<tr>
|
809
|
-
<td>&nbsp;</td>
|
810
|
-
<td>&nbsp;</td>
|
811
|
-
<td> 0.00</td>
|
812
|
-
<td> 0.00</td>
|
813
|
-
<td> 0.00</td>
|
814
|
-
<td> 61/61</td>
|
815
|
-
<td><a href="#Integer_upto_21277412">Integer#upto</a></td>
|
816
|
-
</tr>
|
817
|
-
<tr class="method">
|
818
|
-
<td> 0.00%</td>
|
819
|
-
<td> 0.00%</td>
|
820
|
-
<td> 0.00</td>
|
821
|
-
<td> 0.00</td>
|
822
|
-
<td> 0.00</td>
|
823
|
-
<td> 61</td>
|
824
|
-
<td><a name="Fixnum_>_21277412">Fixnum#_</a></td>
|
825
|
-
</tr>
|
826
|
-
<!-- Children -->
|
827
|
-
<!-- Create divider row -->
|
828
|
-
<tr class="break">
|
829
|
-
<td colspan="7"></td>
|
830
|
-
</tr>
|
831
|
-
<!-- Parents -->
|
832
|
-
<tr>
|
833
|
-
<td>&nbsp;</td>
|
834
|
-
<td>&nbsp;</td>
|
835
|
-
<td> 0.00</td>
|
836
|
-
<td> 0.00</td>
|
837
|
-
<td> 0.00</td>
|
838
|
-
<td> 61/61</td>
|
839
|
-
<td><a href="#Integer_upto_21277412">Integer#upto</a></td>
|
840
|
-
</tr>
|
841
|
-
<tr class="method">
|
842
|
-
<td> 0.00%</td>
|
843
|
-
<td> 0.00%</td>
|
844
|
-
<td> 0.00</td>
|
845
|
-
<td> 0.00</td>
|
846
|
-
<td> 0.00</td>
|
847
|
-
<td> 61</td>
|
848
|
-
<td><a name="Array_[]_21277412">Array#[]</a></td>
|
849
|
-
</tr>
|
850
|
-
<!-- Children -->
|
851
|
-
<!-- Create divider row -->
|
852
|
-
<tr class="break">
|
853
|
-
<td colspan="7"></td>
|
854
|
-
</tr>
|
855
|
-
<!-- Parents -->
|
856
|
-
<tr>
|
857
|
-
<td>&nbsp;</td>
|
858
|
-
<td>&nbsp;</td>
|
859
|
-
<td> 0.00</td>
|
860
|
-
<td> 0.00</td>
|
861
|
-
<td> 0.00</td>
|
862
|
-
<td> 500/500</td>
|
863
|
-
<td><a href="#Array_each_index_21277412">Array#each_index</a></td>
|
864
|
-
</tr>
|
865
|
-
<tr class="method">
|
866
|
-
<td> 0.00%</td>
|
867
|
-
<td> 0.00%</td>
|
868
|
-
<td> 0.00</td>
|
869
|
-
<td> 0.00</td>
|
870
|
-
<td> 0.00</td>
|
871
|
-
<td> 500</td>
|
872
|
-
<td><a name="Array_[]__21277412">Array#[]=</a></td>
|
873
|
-
</tr>
|
874
|
-
<!-- Children -->
|
875
|
-
<!-- Create divider row -->
|
876
|
-
<tr class="break">
|
877
|
-
<td colspan="7"></td>
|
878
|
-
</tr>
|
879
|
-
<!-- Parents -->
|
880
|
-
<tr>
|
881
|
-
<td>&nbsp;</td>
|
882
|
-
<td>&nbsp;</td>
|
883
|
-
<td> 0.00</td>
|
884
|
-
<td> 0.00</td>
|
885
|
-
<td> 0.00</td>
|
886
|
-
<td> 500/500</td>
|
887
|
-
<td><a href="#Array_each_index_21277412">Array#each_index</a></td>
|
888
|
-
</tr>
|
889
|
-
<tr class="method">
|
890
|
-
<td> 0.00%</td>
|
891
|
-
<td> 0.00%</td>
|
892
|
-
<td> 0.00</td>
|
893
|
-
<td> 0.00</td>
|
894
|
-
<td> 0.00</td>
|
895
|
-
<td> 500</td>
|
896
|
-
<td><a name="Kernel_rand_21277412">Kernel.rand</a></td>
|
897
|
-
</tr>
|
898
|
-
<!-- Children -->
|
899
|
-
<tr>
|
900
|
-
<td>&nbsp;</td>
|
901
|
-
<td>&nbsp;</td>
|
902
|
-
<td> 0.00</td>
|
903
|
-
<td> 0.00</td>
|
904
|
-
<td> 0.00</td>
|
905
|
-
<td> 1/1</td>
|
906
|
-
<td><a href="#Integer_to_int_21277412">Integer#to_int</a></td>
|
907
|
-
</tr>
|
908
|
-
<!-- Create divider row -->
|
909
|
-
<tr class="break">
|
910
|
-
<td colspan="7"></td>
|
911
|
-
</tr>
|
912
|
-
</pre>
|
913
|
-
<p>
|
914
|
-
</table> </body> </html>
|
915
|
-
</p>
|
916
|
-
|
917
|
-
</div>
|
918
|
-
|
919
|
-
|
920
|
-
</div>
|
921
|
-
|
922
|
-
|
923
|
-
</div>
|
924
|
-
|
925
|
-
|
926
|
-
<!-- if includes -->
|
927
|
-
|
928
|
-
<div id="section">
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
<!-- if method_list -->
|
938
|
-
|
939
|
-
|
940
|
-
</div>
|
941
|
-
|
942
|
-
|
943
|
-
<div id="validator-badges">
|
944
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
945
|
-
</div>
|
946
|
-
|
947
|
-
</body>
|
948
|
-
</html>
|