stella 0.3.2 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +24 -84
- data/Rakefile +1 -6
- data/doc/classes/Crypto.html +248 -0
- data/doc/classes/Crypto/Key.html +308 -0
- data/doc/classes/Enumerable.html +309 -0
- data/doc/classes/FileUtil.html +310 -0
- data/doc/classes/HTTPUtil.html +530 -0
- data/doc/classes/MathUtil.html +210 -0
- data/doc/classes/Stella.html +238 -0
- data/doc/classes/Stella/Adapter.html +127 -0
- data/doc/classes/Stella/Adapter/ApacheBench.html +1076 -0
- data/doc/classes/Stella/Adapter/Base.html +432 -0
- data/doc/classes/Stella/Adapter/CommandNotReady.html +146 -0
- data/doc/classes/Stella/Adapter/Httperf.html +949 -0
- data/doc/classes/Stella/Adapter/Siege.html +1011 -0
- data/doc/classes/Stella/CLI.html +914 -0
- data/doc/classes/Stella/CLI/Base.html +186 -0
- data/doc/classes/Stella/CLI/Language.html +149 -0
- data/doc/classes/Stella/CLI/LocalTest.html +268 -0
- data/doc/classes/Stella/Command.html +111 -0
- data/doc/classes/Stella/Command/Base.html +335 -0
- data/doc/classes/Stella/Config.html +292 -0
- data/doc/classes/Stella/InvalidArgument.html +242 -0
- data/doc/classes/Stella/LocalTest.html +450 -0
- data/doc/classes/Stella/Logger.html +548 -0
- data/doc/classes/Stella/Response.html +846 -0
- data/doc/classes/Stella/Storable.html +928 -0
- data/doc/classes/Stella/Test.html +142 -0
- data/doc/classes/Stella/Test/DaySummary.html +249 -0
- data/doc/classes/Stella/Test/Definition.html +294 -0
- data/doc/classes/Stella/Test/Definition/Rampup.html +215 -0
- data/doc/classes/Stella/Test/RunSummary.html +315 -0
- data/doc/classes/Stella/Test/SummaryBase.html +286 -0
- data/doc/classes/Stella/Test/TestSummary.html +200 -0
- data/doc/classes/Stella/Text.html +581 -0
- data/doc/classes/Stella/Text/Resource.html +289 -0
- data/doc/classes/Stella/UnavailableAdapter.html +242 -0
- data/doc/classes/Stella/UnknownValue.html +242 -0
- data/doc/classes/Stella/UnsupportedLanguage.html +115 -0
- data/doc/classes/Stella/Util.html +348 -0
- data/doc/classes/TextGraph.html +460 -0
- data/doc/classes/TimerUtil.html +431 -0
- data/doc/created.rid +1 -0
- data/doc/files/LICENSE_txt.html +129 -0
- data/doc/files/README_txt.html +209 -0
- data/doc/files/lib/stella/adapter/ab_rb.html +101 -0
- data/doc/files/lib/stella/adapter/base_rb.html +101 -0
- data/doc/files/lib/stella/adapter/httperf_rb.html +101 -0
- data/doc/files/lib/stella/adapter/siege_rb.html +101 -0
- data/doc/files/lib/stella/cli/base_rb.html +101 -0
- data/doc/files/lib/stella/cli/language_rb.html +101 -0
- data/doc/files/lib/stella/cli/localtest_rb.html +101 -0
- data/doc/files/lib/stella/cli_rb.html +112 -0
- data/doc/files/lib/stella/command/base_rb.html +101 -0
- data/doc/files/lib/stella/command/localtest_rb.html +101 -0
- data/doc/files/lib/stella/logger_rb.html +101 -0
- data/doc/files/lib/stella/response_rb.html +101 -0
- data/doc/files/lib/stella/storable_rb.html +109 -0
- data/doc/files/lib/stella/support_rb.html +101 -0
- data/doc/files/lib/stella/test/daysummary_rb.html +101 -0
- data/doc/files/lib/stella/test/definition_rb.html +101 -0
- data/doc/files/lib/stella/test/runsummary_rb.html +101 -0
- data/doc/files/lib/stella/test/summarybase_rb.html +101 -0
- data/doc/files/lib/stella/test/testsummary_rb.html +108 -0
- data/doc/files/lib/stella/text/resource_rb.html +108 -0
- data/doc/files/lib/stella/text_rb.html +108 -0
- data/doc/files/lib/stella_rb.html +128 -0
- data/doc/files/lib/utils/crypto-key_rb.html +116 -0
- data/doc/files/lib/utils/fileutil_rb.html +108 -0
- data/doc/files/lib/utils/httputil_rb.html +110 -0
- data/doc/files/lib/utils/mathutil_rb.html +101 -0
- data/doc/files/lib/utils/textgraph_rb.html +138 -0
- data/doc/files/lib/utils/timerutil_rb.html +108 -0
- data/doc/fr_class_index.html +66 -0
- data/doc/fr_file_index.html +62 -0
- data/doc/fr_method_index.html +309 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/stella.rb +5 -6
- data/lib/stella/adapter/ab.rb +4 -31
- data/lib/stella/adapter/base.rb +1 -15
- data/lib/stella/adapter/httperf.rb +4 -35
- data/lib/stella/adapter/siege.rb +29 -51
- data/lib/stella/cli.rb +22 -45
- data/lib/stella/cli/language.rb +0 -2
- data/lib/stella/cli/localtest.rb +0 -5
- data/lib/stella/command/base.rb +1 -1
- data/lib/stella/command/localtest.rb +68 -84
- data/lib/stella/test/daysummary.rb +93 -0
- data/lib/stella/test/definition.rb +5 -10
- data/lib/stella/test/{run/summary.rb → runsummary.rb} +6 -4
- data/lib/stella/test/{base.rb → summarybase.rb} +7 -3
- data/lib/stella/test/{summary.rb → testsummary.rb} +29 -27
- data/lib/utils/mathutil.rb +34 -36
- data/spec/base.rb +26 -0
- data/spec/shell_spec.rb +12 -0
- data/support/text/en.yaml +1 -7
- metadata +102 -8
- data/lib/stella/cli/agents.rb +0 -73
- data/lib/utils/escape.rb +0 -302
@@ -0,0 +1,210 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
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>Module: MathUtil</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
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="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">MathUtil</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/utils/mathutil_rb.html">
|
59
|
+
lib/utils/mathutil.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="method-list">
|
80
|
+
<h3 class="section-bar">Methods</h3>
|
81
|
+
|
82
|
+
<div class="name-list">
|
83
|
+
<a href="#M000260">enforce_limit</a>
|
84
|
+
<a href="#M000259">standard_deviation</a>
|
85
|
+
<a href="#M000258">variance</a>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
<!-- if includes -->
|
93
|
+
|
94
|
+
<div id="section">
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
<!-- if method_list -->
|
104
|
+
<div id="methods">
|
105
|
+
<h3 class="section-bar">Public Class methods</h3>
|
106
|
+
|
107
|
+
<div id="method-M000260" class="method-detail">
|
108
|
+
<a name="M000260"></a>
|
109
|
+
|
110
|
+
<div class="method-heading">
|
111
|
+
<a href="#M000260" class="method-signature">
|
112
|
+
<span class="method-name">enforce_limit</span><span class="method-args">(val,min,max)</span>
|
113
|
+
</a>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<div class="method-description">
|
117
|
+
<p>
|
118
|
+
<a href="MathUtil.html#M000260">enforce_limit</a>
|
119
|
+
</p>
|
120
|
+
<p>
|
121
|
+
Enforce a minimum and maximum value
|
122
|
+
</p>
|
123
|
+
<p><a class="source-toggle" href="#"
|
124
|
+
onclick="toggleCode('M000260-source');return false;">[Source]</a></p>
|
125
|
+
<div class="method-source-code" id="M000260-source">
|
126
|
+
<pre>
|
127
|
+
<span class="ruby-comment cmt"># File lib/utils/mathutil.rb, line 70</span>
|
128
|
+
70: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">enforce_limit</span>(<span class="ruby-identifier">val</span>,<span class="ruby-identifier">min</span>,<span class="ruby-identifier">max</span>)
|
129
|
+
71: <span class="ruby-identifier">val</span> = <span class="ruby-identifier">min</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">val</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">min</span>
|
130
|
+
72: <span class="ruby-identifier">val</span> = <span class="ruby-identifier">max</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">val</span> <span class="ruby-operator">></span> <span class="ruby-identifier">max</span>
|
131
|
+
73: <span class="ruby-identifier">val</span>
|
132
|
+
74: <span class="ruby-keyword kw">end</span>
|
133
|
+
</pre>
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
<div id="method-M000259" class="method-detail">
|
139
|
+
<a name="M000259"></a>
|
140
|
+
|
141
|
+
<div class="method-heading">
|
142
|
+
<a href="#M000259" class="method-signature">
|
143
|
+
<span class="method-name">standard_deviation</span><span class="method-args">(population)</span>
|
144
|
+
</a>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<div class="method-description">
|
148
|
+
<p>
|
149
|
+
calculate the standard deviation of a population accepts: an array, the
|
150
|
+
population returns: the standard deviation
|
151
|
+
</p>
|
152
|
+
<p><a class="source-toggle" href="#"
|
153
|
+
onclick="toggleCode('M000259-source');return false;">[Source]</a></p>
|
154
|
+
<div class="method-source-code" id="M000259-source">
|
155
|
+
<pre>
|
156
|
+
<span class="ruby-comment cmt"># File lib/utils/mathutil.rb, line 63</span>
|
157
|
+
63: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">standard_deviation</span>(<span class="ruby-identifier">population</span>)
|
158
|
+
64: <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span>(<span class="ruby-identifier">variance</span>(<span class="ruby-identifier">population</span>))
|
159
|
+
65: <span class="ruby-keyword kw">end</span>
|
160
|
+
</pre>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<div id="method-M000258" class="method-detail">
|
166
|
+
<a name="M000258"></a>
|
167
|
+
|
168
|
+
<div class="method-heading">
|
169
|
+
<a href="#M000258" class="method-signature">
|
170
|
+
<span class="method-name">variance</span><span class="method-args">(population)</span>
|
171
|
+
</a>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
<div class="method-description">
|
175
|
+
<p><a class="source-toggle" href="#"
|
176
|
+
onclick="toggleCode('M000258-source');return false;">[Source]</a></p>
|
177
|
+
<div class="method-source-code" id="M000258-source">
|
178
|
+
<pre>
|
179
|
+
<span class="ruby-comment cmt"># File lib/utils/mathutil.rb, line 46</span>
|
180
|
+
46: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">variance</span>(<span class="ruby-identifier">population</span>)
|
181
|
+
47: <span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>
|
182
|
+
48: <span class="ruby-identifier">mean</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span>
|
183
|
+
49: <span class="ruby-identifier">s</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span>
|
184
|
+
50: <span class="ruby-identifier">population</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
|
185
|
+
51: <span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
186
|
+
52: <span class="ruby-identifier">delta</span> = (<span class="ruby-identifier">x</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">mean</span>).<span class="ruby-identifier">to_f</span>
|
187
|
+
53: <span class="ruby-identifier">mean</span> = (<span class="ruby-identifier">mean</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">delta</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)).<span class="ruby-identifier">to_f</span>
|
188
|
+
54: <span class="ruby-identifier">s</span> = (<span class="ruby-identifier">s</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">delta</span> <span class="ruby-operator">*</span> (<span class="ruby-identifier">x</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">mean</span>)).<span class="ruby-identifier">to_f</span>
|
189
|
+
55: }
|
190
|
+
56:
|
191
|
+
57: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">s</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>
|
192
|
+
58: <span class="ruby-keyword kw">end</span>
|
193
|
+
</pre>
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
|
199
|
+
</div>
|
200
|
+
|
201
|
+
|
202
|
+
</div>
|
203
|
+
|
204
|
+
|
205
|
+
<div id="validator-badges">
|
206
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
207
|
+
</div>
|
208
|
+
|
209
|
+
</body>
|
210
|
+
</html>
|
@@ -0,0 +1,238 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
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>Module: Stella</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
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="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Stella</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/stella_rb.html">
|
59
|
+
lib/stella.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../files/lib/stella/cli_rb.html">
|
63
|
+
lib/stella/cli.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../files/lib/stella/logger_rb.html">
|
67
|
+
lib/stella/logger.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
<a href="../files/lib/stella/response_rb.html">
|
71
|
+
lib/stella/response.rb
|
72
|
+
</a>
|
73
|
+
<br />
|
74
|
+
<a href="../files/lib/stella/storable_rb.html">
|
75
|
+
lib/stella/storable.rb
|
76
|
+
</a>
|
77
|
+
<br />
|
78
|
+
<a href="../files/lib/stella/support_rb.html">
|
79
|
+
lib/stella/support.rb
|
80
|
+
</a>
|
81
|
+
<br />
|
82
|
+
<a href="../files/lib/stella/text_rb.html">
|
83
|
+
lib/stella/text.rb
|
84
|
+
</a>
|
85
|
+
<br />
|
86
|
+
<a href="../files/lib/stella/adapter/ab_rb.html">
|
87
|
+
lib/stella/adapter/ab.rb
|
88
|
+
</a>
|
89
|
+
<br />
|
90
|
+
<a href="../files/lib/stella/adapter/httperf_rb.html">
|
91
|
+
lib/stella/adapter/httperf.rb
|
92
|
+
</a>
|
93
|
+
<br />
|
94
|
+
<a href="../files/lib/stella/adapter/siege_rb.html">
|
95
|
+
lib/stella/adapter/siege.rb
|
96
|
+
</a>
|
97
|
+
<br />
|
98
|
+
<a href="../files/lib/stella/cli/base_rb.html">
|
99
|
+
lib/stella/cli/base.rb
|
100
|
+
</a>
|
101
|
+
<br />
|
102
|
+
<a href="../files/lib/stella/cli/language_rb.html">
|
103
|
+
lib/stella/cli/language.rb
|
104
|
+
</a>
|
105
|
+
<br />
|
106
|
+
<a href="../files/lib/stella/cli/localtest_rb.html">
|
107
|
+
lib/stella/cli/localtest.rb
|
108
|
+
</a>
|
109
|
+
<br />
|
110
|
+
<a href="../files/lib/stella/cli_rb.html">
|
111
|
+
lib/stella/cli.rb
|
112
|
+
</a>
|
113
|
+
<br />
|
114
|
+
<a href="../files/lib/stella/command/localtest_rb.html">
|
115
|
+
lib/stella/command/localtest.rb
|
116
|
+
</a>
|
117
|
+
<br />
|
118
|
+
<a href="../files/lib/stella/logger_rb.html">
|
119
|
+
lib/stella/logger.rb
|
120
|
+
</a>
|
121
|
+
<br />
|
122
|
+
<a href="../files/lib/stella/response_rb.html">
|
123
|
+
lib/stella/response.rb
|
124
|
+
</a>
|
125
|
+
<br />
|
126
|
+
<a href="../files/lib/stella/storable_rb.html">
|
127
|
+
lib/stella/storable.rb
|
128
|
+
</a>
|
129
|
+
<br />
|
130
|
+
<a href="../files/lib/stella/support_rb.html">
|
131
|
+
lib/stella/support.rb
|
132
|
+
</a>
|
133
|
+
<br />
|
134
|
+
<a href="../files/lib/stella/test/definition_rb.html">
|
135
|
+
lib/stella/test/definition.rb
|
136
|
+
</a>
|
137
|
+
<br />
|
138
|
+
<a href="../files/lib/stella/test/runsummary_rb.html">
|
139
|
+
lib/stella/test/runsummary.rb
|
140
|
+
</a>
|
141
|
+
<br />
|
142
|
+
<a href="../files/lib/stella/text/resource_rb.html">
|
143
|
+
lib/stella/text/resource.rb
|
144
|
+
</a>
|
145
|
+
<br />
|
146
|
+
<a href="../files/lib/stella/text_rb.html">
|
147
|
+
lib/stella/text.rb
|
148
|
+
</a>
|
149
|
+
<br />
|
150
|
+
</td>
|
151
|
+
</tr>
|
152
|
+
|
153
|
+
</table>
|
154
|
+
</div>
|
155
|
+
<!-- banner header -->
|
156
|
+
|
157
|
+
<div id="bodyContent">
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
<div id="contextContent">
|
162
|
+
|
163
|
+
<div id="description">
|
164
|
+
<h1><a href="Stella.html">Stella</a></h1>
|
165
|
+
<pre>
|
166
|
+
A friend in performance testing.
|
167
|
+
</pre>
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
|
172
|
+
</div>
|
173
|
+
|
174
|
+
|
175
|
+
</div>
|
176
|
+
|
177
|
+
|
178
|
+
<!-- if includes -->
|
179
|
+
|
180
|
+
<div id="section">
|
181
|
+
|
182
|
+
<div id="class-list">
|
183
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
184
|
+
|
185
|
+
Module <a href="Stella/Adapter.html" class="link">Stella::Adapter</a><br />
|
186
|
+
Module <a href="Stella/Command.html" class="link">Stella::Command</a><br />
|
187
|
+
Module <a href="Stella/Test.html" class="link">Stella::Test</a><br />
|
188
|
+
Class <a href="Stella/CLI.html" class="link">Stella::CLI</a><br />
|
189
|
+
Class <a href="Stella/Config.html" class="link">Stella::Config</a><br />
|
190
|
+
Class <a href="Stella/InvalidArgument.html" class="link">Stella::InvalidArgument</a><br />
|
191
|
+
Class <a href="Stella/LocalTest.html" class="link">Stella::LocalTest</a><br />
|
192
|
+
Class <a href="Stella/Logger.html" class="link">Stella::Logger</a><br />
|
193
|
+
Class <a href="Stella/Response.html" class="link">Stella::Response</a><br />
|
194
|
+
Class <a href="Stella/Storable.html" class="link">Stella::Storable</a><br />
|
195
|
+
Class <a href="Stella/Text.html" class="link">Stella::Text</a><br />
|
196
|
+
Class <a href="Stella/UnavailableAdapter.html" class="link">Stella::UnavailableAdapter</a><br />
|
197
|
+
Class <a href="Stella/UnknownValue.html" class="link">Stella::UnknownValue</a><br />
|
198
|
+
Class <a href="Stella/UnsupportedLanguage.html" class="link">Stella::UnsupportedLanguage</a><br />
|
199
|
+
Class <a href="Stella/Util.html" class="link">Stella::Util</a><br />
|
200
|
+
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div id="constants-list">
|
204
|
+
<h3 class="section-bar">Constants</h3>
|
205
|
+
|
206
|
+
<div class="name-list">
|
207
|
+
<table summary="Constants">
|
208
|
+
<tr class="top-aligned-row context-row">
|
209
|
+
<td class="context-item-name">LOGGER</td>
|
210
|
+
<td>=</td>
|
211
|
+
<td class="context-item-value">Stella::Logger.new(:debug=>true)</td>
|
212
|
+
</tr>
|
213
|
+
<tr class="top-aligned-row context-row">
|
214
|
+
<td class="context-item-name">TEXT</td>
|
215
|
+
<td>=</td>
|
216
|
+
<td class="context-item-value">Stella::Text.new('en')</td>
|
217
|
+
</tr>
|
218
|
+
</table>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
<!-- if method_list -->
|
228
|
+
|
229
|
+
|
230
|
+
</div>
|
231
|
+
|
232
|
+
|
233
|
+
<div id="validator-badges">
|
234
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
235
|
+
</div>
|
236
|
+
|
237
|
+
</body>
|
238
|
+
</html>
|
@@ -0,0 +1,127 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
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>Module: Stella::Adapter</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
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="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Stella::Adapter</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/stella/adapter/ab_rb.html">
|
59
|
+
lib/stella/adapter/ab.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../../files/lib/stella/adapter/base_rb.html">
|
63
|
+
lib/stella/adapter/base.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../../files/lib/stella/adapter/httperf_rb.html">
|
67
|
+
lib/stella/adapter/httperf.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
<a href="../../files/lib/stella/adapter/siege_rb.html">
|
71
|
+
lib/stella/adapter/siege.rb
|
72
|
+
</a>
|
73
|
+
<br />
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
|
77
|
+
</table>
|
78
|
+
</div>
|
79
|
+
<!-- banner header -->
|
80
|
+
|
81
|
+
<div id="bodyContent">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<div id="contextContent">
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
|
94
|
+
|
95
|
+
<!-- if includes -->
|
96
|
+
|
97
|
+
<div id="section">
|
98
|
+
|
99
|
+
<div id="class-list">
|
100
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
101
|
+
|
102
|
+
Class <a href="Adapter/ApacheBench.html" class="link">Stella::Adapter::ApacheBench</a><br />
|
103
|
+
Class <a href="Adapter/Base.html" class="link">Stella::Adapter::Base</a><br />
|
104
|
+
Class <a href="Adapter/CommandNotReady.html" class="link">Stella::Adapter::CommandNotReady</a><br />
|
105
|
+
Class <a href="Adapter/Httperf.html" class="link">Stella::Adapter::Httperf</a><br />
|
106
|
+
Class <a href="Adapter/Siege.html" class="link">Stella::Adapter::Siege</a><br />
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
<!-- if method_list -->
|
117
|
+
|
118
|
+
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
<div id="validator-badges">
|
123
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
</body>
|
127
|
+
</html>
|