bigbench 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.textile +29 -249
- data/bigbench.gemspec +1 -0
- data/bin/bigbench +1 -1
- data/dev/request_sequence.dot +235 -0
- data/dev/request_sequence.pdf +0 -0
- data/dev/sequence.rb +48 -0
- data/doc/Array.html +5 -5
- data/doc/BigBench.html +27 -60
- data/doc/BigBench/Benchmark.html +5 -5
- data/doc/BigBench/Benchmark/Benchmark.html +8 -8
- data/doc/BigBench/Benchmark/Looper.html +5 -5
- data/doc/BigBench/Bot.html +5 -5
- data/doc/BigBench/Configuration.html +29 -53
- data/doc/BigBench/Executor.html +14 -95
- data/doc/BigBench/Executor/Executable.html +551 -0
- data/doc/BigBench/Fragment.html +5 -5
- data/doc/BigBench/Fragment/Fragment.html +5 -5
- data/doc/BigBench/Output.html +7 -8
- data/doc/BigBench/PostProcessor.html +8 -8
- data/doc/BigBench/PostProcessor/Context.html +219 -0
- data/doc/BigBench/PostProcessor/Environment.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/Appearings.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/AttributeCluster.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/BenchmarkNotFound.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/Cluster.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/NormalDistribution.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/PolynomialRegression.html +5 -5
- data/doc/BigBench/PostProcessor/Environment/Statistics.html +5 -5
- data/doc/BigBench/PostProcessor/Graphs.html +5 -5
- data/doc/BigBench/PostProcessor/Graphs/LineGraph.html +5 -5
- data/doc/BigBench/PostProcessor/Graphs/PieGraph.html +5 -5
- data/doc/BigBench/PostProcessor/InvalidProcessor.html +6 -6
- data/doc/BigBench/PostProcessor/Processor.html +6 -6
- data/doc/BigBench/PostProcessor/Statistics.html +5 -5
- data/doc/BigBench/PostProcessor/Test.html +6 -6
- data/doc/BigBench/PostProcessor/TestPretty.html +249 -0
- data/doc/BigBench/Runner.html +5 -5
- data/doc/BigBench/Runner/NoBenchmarksDefined.html +5 -5
- data/doc/BigBench/Store.html +8 -8
- data/doc/BigBench/Tracker.html +5 -5
- data/doc/BigBench/Tracker/Tracker.html +5 -5
- data/doc/EventMachineLoop.html +5 -5
- data/doc/Float.html +5 -5
- data/doc/Gemfile.html +5 -5
- data/doc/Helpers.html +5 -5
- data/doc/Object.html +24 -5
- data/doc/README_rdoc.html +51 -281
- data/doc/Rakefile.html +5 -5
- data/doc/created.rid +46 -46
- data/doc/index.html +51 -281
- data/doc/js/search_index.js +1 -1
- data/doc/lib/bigbench/help/executor_txt.html +14 -29
- data/doc/table_of_contents.html +63 -68
- data/lib/bigbench.rb +2 -0
- data/lib/bigbench/benchmark.rb +3 -3
- data/lib/bigbench/configuration.rb +29 -68
- data/lib/bigbench/executor.rb +100 -130
- data/lib/bigbench/help/executor.txt +9 -22
- data/lib/bigbench/output.rb +2 -3
- data/lib/bigbench/post_processor.rb +16 -4
- data/lib/bigbench/runner.rb +0 -1
- data/lib/bigbench/store.rb +2 -2
- data/lib/bigbench/templates/test_plan.rb.erb +17 -0
- data/lib/bigbench/version.rb +1 -1
- data/spec/configure_spec.rb +7 -18
- data/spec/executor_spec.rb +25 -35
- data/spec/post_processor_spec.rb +31 -1
- data/spec/post_processors/environment_spec.rb +5 -3
- data/spec/post_processors/graphs_spec.rb +8 -3
- data/spec/post_processors/statistics_spec.rb +6 -1
- data/spec/runner_spec.rb +7 -6
- data/spec/store_spec.rb +4 -3
- data/spec/tests/local.rb +5 -5
- data/spec/tests/with_post_processor.rb +5 -5
- data/spec/tracker_spec.rb +12 -8
- metadata +48 -31
- data/dev/test.rb +0 -13
@@ -0,0 +1,249 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>module BigBench::PostProcessor::TestPretty - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../../";
|
13
|
+
</script>
|
14
|
+
|
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>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="module">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../../index.html">Home</a>
|
28
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
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>spec/post_processor_spec.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<!-- Method Quickref -->
|
62
|
+
<nav id="method-list-section" class="section">
|
63
|
+
<h3 class="section-header">Methods</h3>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="#method-c-run-21">::run!</a>
|
68
|
+
|
69
|
+
</ul>
|
70
|
+
</nav>
|
71
|
+
|
72
|
+
</div>
|
73
|
+
|
74
|
+
<div id="project-metadata">
|
75
|
+
<nav id="fileindex-section" class="section project-section">
|
76
|
+
<h3 class="section-header">Pages</h3>
|
77
|
+
|
78
|
+
<ul>
|
79
|
+
|
80
|
+
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
81
|
+
|
82
|
+
<li class="file"><a href="../../README_rdoc.html">README</a>
|
83
|
+
|
84
|
+
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
85
|
+
|
86
|
+
<li class="file"><a href="../../lib/bigbench/help/executor_txt.html">executor</a>
|
87
|
+
|
88
|
+
</ul>
|
89
|
+
</nav>
|
90
|
+
|
91
|
+
<nav id="classindex-section" class="section project-section">
|
92
|
+
<h3 class="section-header">Class and Module Index</h3>
|
93
|
+
|
94
|
+
<ul class="link-list">
|
95
|
+
|
96
|
+
<li><a href="../../BigBench.html">BigBench</a>
|
97
|
+
|
98
|
+
<li><a href="../../BigBench/Benchmark.html">BigBench::Benchmark</a>
|
99
|
+
|
100
|
+
<li><a href="../../BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
101
|
+
|
102
|
+
<li><a href="../../BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
103
|
+
|
104
|
+
<li><a href="../../BigBench/Bot.html">BigBench::Bot</a>
|
105
|
+
|
106
|
+
<li><a href="../../BigBench/Configuration.html">BigBench::Configuration</a>
|
107
|
+
|
108
|
+
<li><a href="../../BigBench/Executor.html">BigBench::Executor</a>
|
109
|
+
|
110
|
+
<li><a href="../../BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
111
|
+
|
112
|
+
<li><a href="../../BigBench/Fragment.html">BigBench::Fragment</a>
|
113
|
+
|
114
|
+
<li><a href="../../BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
|
115
|
+
|
116
|
+
<li><a href="../../BigBench/Output.html">BigBench::Output</a>
|
117
|
+
|
118
|
+
<li><a href="../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
119
|
+
|
120
|
+
<li><a href="../../BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
121
|
+
|
122
|
+
<li><a href="../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
123
|
+
|
124
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
125
|
+
|
126
|
+
<li><a href="../../BigBench/PostProcessor/Environment/AttributeCluster.html">BigBench::PostProcessor::Environment::AttributeCluster</a>
|
127
|
+
|
128
|
+
<li><a href="../../BigBench/PostProcessor/Environment/BenchmarkNotFound.html">BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
129
|
+
|
130
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Cluster.html">BigBench::PostProcessor::Environment::Cluster</a>
|
131
|
+
|
132
|
+
<li><a href="../../BigBench/PostProcessor/Environment/NormalDistribution.html">BigBench::PostProcessor::Environment::NormalDistribution</a>
|
133
|
+
|
134
|
+
<li><a href="../../BigBench/PostProcessor/Environment/PolynomialRegression.html">BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
135
|
+
|
136
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Statistics.html">BigBench::PostProcessor::Environment::Statistics</a>
|
137
|
+
|
138
|
+
<li><a href="../../BigBench/PostProcessor/Graphs.html">BigBench::PostProcessor::Graphs</a>
|
139
|
+
|
140
|
+
<li><a href="../../BigBench/PostProcessor/Graphs/LineGraph.html">BigBench::PostProcessor::Graphs::LineGraph</a>
|
141
|
+
|
142
|
+
<li><a href="../../BigBench/PostProcessor/Graphs/PieGraph.html">BigBench::PostProcessor::Graphs::PieGraph</a>
|
143
|
+
|
144
|
+
<li><a href="../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
145
|
+
|
146
|
+
<li><a href="../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
147
|
+
|
148
|
+
<li><a href="../../BigBench/PostProcessor/Statistics.html">BigBench::PostProcessor::Statistics</a>
|
149
|
+
|
150
|
+
<li><a href="../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
151
|
+
|
152
|
+
<li><a href="../../BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
153
|
+
|
154
|
+
<li><a href="../../BigBench/Runner.html">BigBench::Runner</a>
|
155
|
+
|
156
|
+
<li><a href="../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
157
|
+
|
158
|
+
<li><a href="../../BigBench/Store.html">BigBench::Store</a>
|
159
|
+
|
160
|
+
<li><a href="../../BigBench/Tracker.html">BigBench::Tracker</a>
|
161
|
+
|
162
|
+
<li><a href="../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
163
|
+
|
164
|
+
<li><a href="../../Array.html">Array</a>
|
165
|
+
|
166
|
+
<li><a href="../../EventMachineLoop.html">EventMachineLoop</a>
|
167
|
+
|
168
|
+
<li><a href="../../Float.html">Float</a>
|
169
|
+
|
170
|
+
<li><a href="../../Helpers.html">Helpers</a>
|
171
|
+
|
172
|
+
<li><a href="../../Object.html">Object</a>
|
173
|
+
|
174
|
+
</ul>
|
175
|
+
</nav>
|
176
|
+
|
177
|
+
</div>
|
178
|
+
</nav>
|
179
|
+
|
180
|
+
<div id="documentation">
|
181
|
+
<h1 class="module">module BigBench::PostProcessor::TestPretty</h1>
|
182
|
+
|
183
|
+
<div id="description" class="description">
|
184
|
+
|
185
|
+
</div><!-- description -->
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
<!-- Methods -->
|
200
|
+
|
201
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
202
|
+
<h3 class="section-header">Public Class Methods</h3>
|
203
|
+
|
204
|
+
|
205
|
+
<div id="method-c-run-21" class="method-detail ">
|
206
|
+
|
207
|
+
<div class="method-heading">
|
208
|
+
<span class="method-name">run!</span><span
|
209
|
+
class="method-args">(options)</span>
|
210
|
+
<span class="method-click-advice">click to toggle source</span>
|
211
|
+
</div>
|
212
|
+
|
213
|
+
|
214
|
+
<div class="method-description">
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
<div class="method-source-code" id="run-21-source">
|
221
|
+
<pre><span class="ruby-comment"># File spec/post_processor_spec.rb, line 94</span>
|
222
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">run!</span>(<span class="ruby-identifier">options</span>)
|
223
|
+
<span class="ruby-identifier">counter</span> = <span class="ruby-value">0</span>
|
224
|
+
<span class="ruby-identifier">each_tracking</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">tracking</span><span class="ruby-operator">|</span> <span class="ruby-identifier">counter</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> }
|
225
|
+
<span class="ruby-identifier">counter</span>
|
226
|
+
<span class="ruby-keyword">end</span></pre>
|
227
|
+
</div><!-- run-21-source -->
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
</div><!-- run-21-method -->
|
235
|
+
|
236
|
+
|
237
|
+
</section><!-- public-class-method-details -->
|
238
|
+
|
239
|
+
</section><!-- 5Buntitled-5D -->
|
240
|
+
|
241
|
+
</div><!-- documentation -->
|
242
|
+
|
243
|
+
|
244
|
+
<footer id="validator-badges">
|
245
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
246
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
247
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
248
|
+
</footer>
|
249
|
+
|
data/doc/BigBench/Runner.html
CHANGED
@@ -105,13 +105,9 @@
|
|
105
105
|
|
106
106
|
<li><a href="../BigBench/Configuration.html">BigBench::Configuration</a>
|
107
107
|
|
108
|
-
<li><a href="../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
109
|
-
|
110
|
-
<li><a href="../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
111
|
-
|
112
108
|
<li><a href="../BigBench/Executor.html">BigBench::Executor</a>
|
113
109
|
|
114
|
-
<li><a href="../BigBench/Executor/
|
110
|
+
<li><a href="../BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
115
111
|
|
116
112
|
<li><a href="../BigBench/Fragment.html">BigBench::Fragment</a>
|
117
113
|
|
@@ -121,6 +117,8 @@
|
|
121
117
|
|
122
118
|
<li><a href="../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
123
119
|
|
120
|
+
<li><a href="../BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
121
|
+
|
124
122
|
<li><a href="../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
125
123
|
|
126
124
|
<li><a href="../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
@@ -151,6 +149,8 @@
|
|
151
149
|
|
152
150
|
<li><a href="../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
153
151
|
|
152
|
+
<li><a href="../BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
153
|
+
|
154
154
|
<li><a href="../BigBench/Runner.html">BigBench::Runner</a>
|
155
155
|
|
156
156
|
<li><a href="../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
@@ -111,13 +111,9 @@
|
|
111
111
|
|
112
112
|
<li><a href="../../BigBench/Configuration.html">BigBench::Configuration</a>
|
113
113
|
|
114
|
-
<li><a href="../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
115
|
-
|
116
|
-
<li><a href="../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
117
|
-
|
118
114
|
<li><a href="../../BigBench/Executor.html">BigBench::Executor</a>
|
119
115
|
|
120
|
-
<li><a href="../../BigBench/Executor/
|
116
|
+
<li><a href="../../BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
121
117
|
|
122
118
|
<li><a href="../../BigBench/Fragment.html">BigBench::Fragment</a>
|
123
119
|
|
@@ -127,6 +123,8 @@
|
|
127
123
|
|
128
124
|
<li><a href="../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
129
125
|
|
126
|
+
<li><a href="../../BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
127
|
+
|
130
128
|
<li><a href="../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
131
129
|
|
132
130
|
<li><a href="../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
@@ -157,6 +155,8 @@
|
|
157
155
|
|
158
156
|
<li><a href="../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
159
157
|
|
158
|
+
<li><a href="../../BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
159
|
+
|
160
160
|
<li><a href="../../BigBench/Runner.html">BigBench::Runner</a>
|
161
161
|
|
162
162
|
<li><a href="../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
data/doc/BigBench/Store.html
CHANGED
@@ -129,13 +129,9 @@
|
|
129
129
|
|
130
130
|
<li><a href="../BigBench/Configuration.html">BigBench::Configuration</a>
|
131
131
|
|
132
|
-
<li><a href="../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
133
|
-
|
134
|
-
<li><a href="../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
135
|
-
|
136
132
|
<li><a href="../BigBench/Executor.html">BigBench::Executor</a>
|
137
133
|
|
138
|
-
<li><a href="../BigBench/Executor/
|
134
|
+
<li><a href="../BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
139
135
|
|
140
136
|
<li><a href="../BigBench/Fragment.html">BigBench::Fragment</a>
|
141
137
|
|
@@ -145,6 +141,8 @@
|
|
145
141
|
|
146
142
|
<li><a href="../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
147
143
|
|
144
|
+
<li><a href="../BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
145
|
+
|
148
146
|
<li><a href="../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
149
147
|
|
150
148
|
<li><a href="../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
@@ -175,6 +173,8 @@
|
|
175
173
|
|
176
174
|
<li><a href="../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
177
175
|
|
176
|
+
<li><a href="../BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
177
|
+
|
178
178
|
<li><a href="../BigBench/Runner.html">BigBench::Runner</a>
|
179
179
|
|
180
180
|
<li><a href="../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
@@ -509,7 +509,7 @@ redis store</p>
|
|
509
509
|
|
510
510
|
<div class="method-heading">
|
511
511
|
<span class="method-name">setup!</span><span
|
512
|
-
class="method-args">(url =
|
512
|
+
class="method-args">(url = nil, password = nil)</span>
|
513
513
|
<span class="method-click-advice">click to toggle source</span>
|
514
514
|
</div>
|
515
515
|
|
@@ -523,8 +523,8 @@ no password. This needs to be called for any bot test</p>
|
|
523
523
|
|
524
524
|
<div class="method-source-code" id="setup-21-source">
|
525
525
|
<pre><span class="ruby-comment"># File lib/bigbench/store.rb, line 16</span>
|
526
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">setup!</span>(<span class="ruby-identifier">url</span> = <span class="ruby-
|
527
|
-
<span class="ruby-identifier">uri</span> = <span class="ruby-constant">URI</span>(<span class="ruby-identifier">url</span>)
|
526
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">setup!</span>(<span class="ruby-identifier">url</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">password</span> = <span class="ruby-keyword">nil</span>)
|
527
|
+
<span class="ruby-identifier">uri</span> = <span class="ruby-constant">URI</span>(<span class="ruby-identifier">url</span> <span class="ruby-operator">||</span> <span class="ruby-string">"localhost:6379"</span>)
|
528
528
|
<span class="ruby-ivar">@redis</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Redis</span>.<span class="ruby-identifier">new</span> <span class="ruby-value">:host</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">host</span>, <span class="ruby-value">:port</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">port</span>, <span class="ruby-value">:password</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">password</span>
|
529
529
|
<span class="ruby-keyword">true</span>
|
530
530
|
<span class="ruby-keyword">end</span></pre>
|
data/doc/BigBench/Tracker.html
CHANGED
@@ -95,13 +95,9 @@
|
|
95
95
|
|
96
96
|
<li><a href="../BigBench/Configuration.html">BigBench::Configuration</a>
|
97
97
|
|
98
|
-
<li><a href="../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
99
|
-
|
100
|
-
<li><a href="../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
101
|
-
|
102
98
|
<li><a href="../BigBench/Executor.html">BigBench::Executor</a>
|
103
99
|
|
104
|
-
<li><a href="../BigBench/Executor/
|
100
|
+
<li><a href="../BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
105
101
|
|
106
102
|
<li><a href="../BigBench/Fragment.html">BigBench::Fragment</a>
|
107
103
|
|
@@ -111,6 +107,8 @@
|
|
111
107
|
|
112
108
|
<li><a href="../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
113
109
|
|
110
|
+
<li><a href="../BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
111
|
+
|
114
112
|
<li><a href="../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
115
113
|
|
116
114
|
<li><a href="../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
@@ -141,6 +139,8 @@
|
|
141
139
|
|
142
140
|
<li><a href="../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
143
141
|
|
142
|
+
<li><a href="../BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
143
|
+
|
144
144
|
<li><a href="../BigBench/Runner.html">BigBench::Runner</a>
|
145
145
|
|
146
146
|
<li><a href="../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
@@ -113,13 +113,9 @@
|
|
113
113
|
|
114
114
|
<li><a href="../../BigBench/Configuration.html">BigBench::Configuration</a>
|
115
115
|
|
116
|
-
<li><a href="../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
117
|
-
|
118
|
-
<li><a href="../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
119
|
-
|
120
116
|
<li><a href="../../BigBench/Executor.html">BigBench::Executor</a>
|
121
117
|
|
122
|
-
<li><a href="../../BigBench/Executor/
|
118
|
+
<li><a href="../../BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
123
119
|
|
124
120
|
<li><a href="../../BigBench/Fragment.html">BigBench::Fragment</a>
|
125
121
|
|
@@ -129,6 +125,8 @@
|
|
129
125
|
|
130
126
|
<li><a href="../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
131
127
|
|
128
|
+
<li><a href="../../BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
129
|
+
|
132
130
|
<li><a href="../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
133
131
|
|
134
132
|
<li><a href="../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
@@ -159,6 +157,8 @@
|
|
159
157
|
|
160
158
|
<li><a href="../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
161
159
|
|
160
|
+
<li><a href="../../BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
161
|
+
|
162
162
|
<li><a href="../../BigBench/Runner.html">BigBench::Runner</a>
|
163
163
|
|
164
164
|
<li><a href="../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
data/doc/EventMachineLoop.html
CHANGED
@@ -115,13 +115,9 @@
|
|
115
115
|
|
116
116
|
<li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
|
117
117
|
|
118
|
-
<li><a href="./BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
119
|
-
|
120
|
-
<li><a href="./BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
121
|
-
|
122
118
|
<li><a href="./BigBench/Executor.html">BigBench::Executor</a>
|
123
119
|
|
124
|
-
<li><a href="./BigBench/Executor/
|
120
|
+
<li><a href="./BigBench/Executor/Executable.html">BigBench::Executor::Executable</a>
|
125
121
|
|
126
122
|
<li><a href="./BigBench/Fragment.html">BigBench::Fragment</a>
|
127
123
|
|
@@ -131,6 +127,8 @@
|
|
131
127
|
|
132
128
|
<li><a href="./BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
133
129
|
|
130
|
+
<li><a href="./BigBench/PostProcessor/Context.html">BigBench::PostProcessor::Context</a>
|
131
|
+
|
134
132
|
<li><a href="./BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
135
133
|
|
136
134
|
<li><a href="./BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
@@ -161,6 +159,8 @@
|
|
161
159
|
|
162
160
|
<li><a href="./BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
163
161
|
|
162
|
+
<li><a href="./BigBench/PostProcessor/TestPretty.html">BigBench::PostProcessor::TestPretty</a>
|
163
|
+
|
164
164
|
<li><a href="./BigBench/Runner.html">BigBench::Runner</a>
|
165
165
|
|
166
166
|
<li><a href="./BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|