bigbench 0.0.1 → 0.0.2
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 +60 -22
- data/Rakefile +7 -0
- data/bigbench.gemspec +5 -0
- data/dev/net_http.rb +78 -0
- data/dev/test.rb +13 -0
- data/dev/tracking.rb +49 -0
- data/doc/BigBench.html +22 -17
- data/doc/BigBench/Benchmark.html +12 -8
- data/doc/BigBench/Benchmark/Benchmark.html +17 -27
- data/doc/BigBench/Benchmark/Looper.html +340 -0
- data/doc/BigBench/Bot.html +4 -2
- data/doc/BigBench/Configuration.html +20 -11
- data/doc/BigBench/Configuration/Config.html +23 -8
- data/doc/BigBench/Configuration/InvalidOptions.html +5 -3
- data/doc/BigBench/Executor.html +4 -2
- data/doc/BigBench/Executor/InvalidCommand.html +4 -2
- data/doc/BigBench/Fragment.html +46 -29
- data/doc/BigBench/Fragment/Fragment.html +18 -28
- data/doc/BigBench/Output.html +4 -2
- data/doc/BigBench/Runner.html +12 -9
- data/doc/BigBench/Runner/NoBenchmarksDefined.html +4 -2
- data/doc/BigBench/Store.html +4 -2
- data/doc/BigBench/Tracker.html +4 -2
- data/doc/BigBench/Tracker/Tracker.html +5 -3
- data/doc/EventMachineLoop.html +296 -0
- data/doc/Float.html +4 -2
- data/doc/Gemfile.html +4 -2
- data/doc/Helpers.html +4 -2
- data/doc/Object.html +87 -2
- data/doc/Rakefile.html +10 -3
- data/doc/created.rid +36 -31
- data/doc/index.html +4 -2
- data/doc/js/search_index.js +1 -1
- data/doc/lib/bigbench/help/executor_txt.html +4 -2
- data/doc/table_of_contents.html +31 -16
- data/lib/bigbench.rb +3 -0
- data/lib/bigbench/benchmark.rb +11 -21
- data/lib/bigbench/benchmark/looper.rb +43 -0
- data/lib/bigbench/configuration.rb +17 -10
- data/lib/bigbench/fragment.rb +47 -34
- data/lib/bigbench/runner.rb +8 -7
- data/lib/bigbench/tracker.rb +3 -3
- data/lib/bigbench/version.rb +1 -1
- data/spec/benchmark_spec.rb +14 -7
- data/spec/configure_spec.rb +3 -3
- data/spec/fragment_spec.rb +186 -24
- data/spec/helpers.rb +2 -4
- data/spec/lib/test_web_server.rb +44 -15
- data/spec/looper_spec.rb +47 -0
- data/spec/tests/local.rb +1 -1
- data/spec/webserver_spec.rb +91 -21
- metadata +77 -15
data/doc/Float.html
CHANGED
@@ -103,6 +103,8 @@
|
|
103
103
|
|
104
104
|
<li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
105
105
|
|
106
|
+
<li><a href="./BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
107
|
+
|
106
108
|
<li><a href="./BigBench/Bot.html">BigBench::Bot</a>
|
107
109
|
|
108
110
|
<li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
|
@@ -131,14 +133,14 @@
|
|
131
133
|
|
132
134
|
<li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
133
135
|
|
136
|
+
<li><a href="./EventMachineLoop.html">EventMachineLoop</a>
|
137
|
+
|
134
138
|
<li><a href="./Float.html">Float</a>
|
135
139
|
|
136
140
|
<li><a href="./Helpers.html">Helpers</a>
|
137
141
|
|
138
142
|
<li><a href="./Object.html">Object</a>
|
139
143
|
|
140
|
-
<li><a href="./TestWebServer.html">TestWebServer</a>
|
141
|
-
|
142
144
|
</ul>
|
143
145
|
</nav>
|
144
146
|
|
data/doc/Gemfile.html
CHANGED
@@ -69,6 +69,8 @@
|
|
69
69
|
|
70
70
|
<li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
71
71
|
|
72
|
+
<li><a href="./BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
73
|
+
|
72
74
|
<li><a href="./BigBench/Bot.html">BigBench::Bot</a>
|
73
75
|
|
74
76
|
<li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
|
@@ -97,14 +99,14 @@
|
|
97
99
|
|
98
100
|
<li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
99
101
|
|
102
|
+
<li><a href="./EventMachineLoop.html">EventMachineLoop</a>
|
103
|
+
|
100
104
|
<li><a href="./Float.html">Float</a>
|
101
105
|
|
102
106
|
<li><a href="./Helpers.html">Helpers</a>
|
103
107
|
|
104
108
|
<li><a href="./Object.html">Object</a>
|
105
109
|
|
106
|
-
<li><a href="./TestWebServer.html">TestWebServer</a>
|
107
|
-
|
108
110
|
</ul>
|
109
111
|
</nav>
|
110
112
|
|
data/doc/Helpers.html
CHANGED
@@ -87,6 +87,8 @@
|
|
87
87
|
|
88
88
|
<li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
89
89
|
|
90
|
+
<li><a href="./BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
91
|
+
|
90
92
|
<li><a href="./BigBench/Bot.html">BigBench::Bot</a>
|
91
93
|
|
92
94
|
<li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
|
@@ -115,14 +117,14 @@
|
|
115
117
|
|
116
118
|
<li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
117
119
|
|
120
|
+
<li><a href="./EventMachineLoop.html">EventMachineLoop</a>
|
121
|
+
|
118
122
|
<li><a href="./Float.html">Float</a>
|
119
123
|
|
120
124
|
<li><a href="./Helpers.html">Helpers</a>
|
121
125
|
|
122
126
|
<li><a href="./Object.html">Object</a>
|
123
127
|
|
124
|
-
<li><a href="./TestWebServer.html">TestWebServer</a>
|
125
|
-
|
126
128
|
</ul>
|
127
129
|
</nav>
|
128
130
|
|
data/doc/Object.html
CHANGED
@@ -48,6 +48,7 @@
|
|
48
48
|
<h3 class="section-header">Defined In</h3>
|
49
49
|
<ul>
|
50
50
|
<li>spec/helpers.rb
|
51
|
+
<li>spec/lib/test_web_server.rb
|
51
52
|
</ul>
|
52
53
|
</nav>
|
53
54
|
|
@@ -76,7 +77,19 @@
|
|
76
77
|
</ul>
|
77
78
|
</nav>
|
78
79
|
|
80
|
+
<!-- Method Quickref -->
|
81
|
+
<nav id="method-list-section" class="section">
|
82
|
+
<h3 class="section-header">Methods</h3>
|
83
|
+
|
84
|
+
<ul class="link-list">
|
85
|
+
|
86
|
+
<li><a href="#method-i-authorized-3F">#authorized?</a>
|
79
87
|
|
88
|
+
<li><a href="#method-i-protected-21">#protected!</a>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</nav>
|
92
|
+
|
80
93
|
</div>
|
81
94
|
|
82
95
|
<div id="project-metadata">
|
@@ -105,6 +118,8 @@
|
|
105
118
|
|
106
119
|
<li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
107
120
|
|
121
|
+
<li><a href="./BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
122
|
+
|
108
123
|
<li><a href="./BigBench/Bot.html">BigBench::Bot</a>
|
109
124
|
|
110
125
|
<li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
|
@@ -133,14 +148,14 @@
|
|
133
148
|
|
134
149
|
<li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
135
150
|
|
151
|
+
<li><a href="./EventMachineLoop.html">EventMachineLoop</a>
|
152
|
+
|
136
153
|
<li><a href="./Float.html">Float</a>
|
137
154
|
|
138
155
|
<li><a href="./Helpers.html">Helpers</a>
|
139
156
|
|
140
157
|
<li><a href="./Object.html">Object</a>
|
141
158
|
|
142
|
-
<li><a href="./TestWebServer.html">TestWebServer</a>
|
143
|
-
|
144
159
|
</ul>
|
145
160
|
</nav>
|
146
161
|
|
@@ -168,6 +183,76 @@
|
|
168
183
|
|
169
184
|
<!-- Methods -->
|
170
185
|
|
186
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
187
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
188
|
+
|
189
|
+
|
190
|
+
<div id="method-i-authorized-3F" class="method-detail ">
|
191
|
+
|
192
|
+
<div class="method-heading">
|
193
|
+
<span class="method-name">authorized?</span><span
|
194
|
+
class="method-args">()</span>
|
195
|
+
<span class="method-click-advice">click to toggle source</span>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
|
199
|
+
<div class="method-description">
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<div class="method-source-code" id="authorized-3F-source">
|
206
|
+
<pre><span class="ruby-comment"># File spec/lib/test_web_server.rb, line 14</span>
|
207
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorized?</span>
|
208
|
+
<span class="ruby-ivar">@auth</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Rack</span><span class="ruby-operator">::</span><span class="ruby-constant">Auth</span><span class="ruby-operator">::</span><span class="ruby-constant">Basic</span><span class="ruby-operator">::</span><span class="ruby-constant">Request</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">request</span>.<span class="ruby-identifier">env</span>)
|
209
|
+
<span class="ruby-ivar">@auth</span>.<span class="ruby-identifier">provided?</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@auth</span>.<span class="ruby-identifier">basic?</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@auth</span>.<span class="ruby-identifier">credentials</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@auth</span>.<span class="ruby-identifier">credentials</span> <span class="ruby-operator">==</span> [<span class="ruby-string">'admin'</span>, <span class="ruby-string">'secret'</span>]
|
210
|
+
<span class="ruby-keyword">end</span></pre>
|
211
|
+
</div><!-- authorized-3F-source -->
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
</div><!-- authorized-3F-method -->
|
219
|
+
|
220
|
+
|
221
|
+
<div id="method-i-protected-21" class="method-detail ">
|
222
|
+
|
223
|
+
<div class="method-heading">
|
224
|
+
<span class="method-name">protected!</span><span
|
225
|
+
class="method-args">()</span>
|
226
|
+
<span class="method-click-advice">click to toggle source</span>
|
227
|
+
</div>
|
228
|
+
|
229
|
+
|
230
|
+
<div class="method-description">
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
<div class="method-source-code" id="protected-21-source">
|
237
|
+
<pre><span class="ruby-comment"># File spec/lib/test_web_server.rb, line 7</span>
|
238
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">protected!</span>
|
239
|
+
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">authorized?</span>
|
240
|
+
<span class="ruby-identifier">response</span>[<span class="ruby-string">'WWW-Authenticate'</span>] = <span class="ruby-string">%Q(Basic realm="BigBench TestWebServer")</span>
|
241
|
+
<span class="ruby-identifier">throw</span>(<span class="ruby-value">:halt</span>, [<span class="ruby-value">401</span>, <span class="ruby-string">"Not authorized\n"</span>])
|
242
|
+
<span class="ruby-keyword">end</span>
|
243
|
+
<span class="ruby-keyword">end</span></pre>
|
244
|
+
</div><!-- protected-21-source -->
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
</div><!-- protected-21-method -->
|
252
|
+
|
253
|
+
|
254
|
+
</section><!-- public-instance-method-details -->
|
255
|
+
|
171
256
|
</section><!-- 5Buntitled-5D -->
|
172
257
|
|
173
258
|
</div><!-- documentation -->
|
data/doc/Rakefile.html
CHANGED
@@ -69,6 +69,8 @@
|
|
69
69
|
|
70
70
|
<li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
71
71
|
|
72
|
+
<li><a href="./BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
73
|
+
|
72
74
|
<li><a href="./BigBench/Bot.html">BigBench::Bot</a>
|
73
75
|
|
74
76
|
<li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
|
@@ -97,14 +99,14 @@
|
|
97
99
|
|
98
100
|
<li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
99
101
|
|
102
|
+
<li><a href="./EventMachineLoop.html">EventMachineLoop</a>
|
103
|
+
|
100
104
|
<li><a href="./Float.html">Float</a>
|
101
105
|
|
102
106
|
<li><a href="./Helpers.html">Helpers</a>
|
103
107
|
|
104
108
|
<li><a href="./Object.html">Object</a>
|
105
109
|
|
106
|
-
<li><a href="./TestWebServer.html">TestWebServer</a>
|
107
|
-
|
108
110
|
</ul>
|
109
111
|
</nav>
|
110
112
|
|
@@ -113,13 +115,18 @@
|
|
113
115
|
|
114
116
|
<div id="documentation" class="description">
|
115
117
|
|
116
|
-
<p>require “bundler/gem_tasks”</p>
|
118
|
+
<p>require “bundler/gem_tasks” require “rack”</p>
|
117
119
|
|
118
120
|
<p>namespace :bigbench do</p>
|
119
121
|
|
120
122
|
<pre>desc "Create and open documentation"
|
121
123
|
task :doc do
|
122
124
|
`rdoc --main BigBench --include lib/bigbench/help/ && open doc/index.html`
|
125
|
+
end
|
126
|
+
|
127
|
+
desc "Start Thin RDoc Testserver"
|
128
|
+
task :testserver do
|
129
|
+
load "spec/lib/test_web_server.rb"
|
123
130
|
end</pre>
|
124
131
|
|
125
132
|
<p>end</p>
|
data/doc/created.rid
CHANGED
@@ -1,31 +1,36 @@
|
|
1
|
-
|
2
|
-
./bin/bigbench
|
3
|
-
./
|
4
|
-
./
|
5
|
-
./
|
6
|
-
./
|
7
|
-
./lib/bigbench/
|
8
|
-
./lib/bigbench/
|
9
|
-
./lib/bigbench/
|
10
|
-
./lib/bigbench/
|
11
|
-
./lib/bigbench/
|
12
|
-
./lib/bigbench/
|
13
|
-
./lib/bigbench/
|
14
|
-
./lib/bigbench/
|
15
|
-
./lib/bigbench/
|
16
|
-
./lib/bigbench/
|
17
|
-
./lib/bigbench.rb
|
18
|
-
./
|
19
|
-
./
|
20
|
-
./
|
21
|
-
./
|
22
|
-
./
|
23
|
-
./spec/
|
24
|
-
./spec/
|
25
|
-
./spec/
|
26
|
-
./spec/
|
27
|
-
./spec/
|
28
|
-
./spec/
|
29
|
-
./spec/
|
30
|
-
./spec/
|
31
|
-
./spec/
|
1
|
+
Wed, 11 Apr 2012 19:56:29 +0200
|
2
|
+
./bin/bigbench Mon, 09 Apr 2012 18:10:00 +0200
|
3
|
+
./dev/net_http.rb Mon, 09 Apr 2012 21:09:07 +0200
|
4
|
+
./dev/test.rb Tue, 10 Apr 2012 02:22:31 +0200
|
5
|
+
./dev/tracking.rb Mon, 09 Apr 2012 18:37:47 +0200
|
6
|
+
./Gemfile Mon, 09 Apr 2012 18:10:00 +0200
|
7
|
+
./lib/bigbench/benchmark/looper.rb Tue, 10 Apr 2012 02:51:23 +0200
|
8
|
+
./lib/bigbench/benchmark.rb Wed, 11 Apr 2012 19:52:55 +0200
|
9
|
+
./lib/bigbench/bot.rb Mon, 09 Apr 2012 18:10:00 +0200
|
10
|
+
./lib/bigbench/configuration.rb Wed, 11 Apr 2012 19:56:27 +0200
|
11
|
+
./lib/bigbench/executor.rb Mon, 09 Apr 2012 18:10:00 +0200
|
12
|
+
./lib/bigbench/float_extensions.rb Mon, 09 Apr 2012 18:10:00 +0200
|
13
|
+
./lib/bigbench/fragment.rb Wed, 11 Apr 2012 19:55:22 +0200
|
14
|
+
./lib/bigbench/help/executor.txt Mon, 09 Apr 2012 18:10:00 +0200
|
15
|
+
./lib/bigbench/initializers.rb Mon, 09 Apr 2012 18:10:00 +0200
|
16
|
+
./lib/bigbench/output.rb Mon, 09 Apr 2012 18:10:00 +0200
|
17
|
+
./lib/bigbench/runner.rb Tue, 10 Apr 2012 03:09:53 +0200
|
18
|
+
./lib/bigbench/store.rb Mon, 09 Apr 2012 18:10:00 +0200
|
19
|
+
./lib/bigbench/tracker.rb Mon, 09 Apr 2012 18:40:01 +0200
|
20
|
+
./lib/bigbench/version.rb Mon, 09 Apr 2012 18:24:25 +0200
|
21
|
+
./lib/bigbench.rb Tue, 10 Apr 2012 01:15:01 +0200
|
22
|
+
./Rakefile Wed, 11 Apr 2012 14:16:05 +0200
|
23
|
+
./spec/benchmark_spec.rb Wed, 11 Apr 2012 13:36:07 +0200
|
24
|
+
./spec/bot_spec.rb Mon, 09 Apr 2012 18:10:00 +0200
|
25
|
+
./spec/configure_spec.rb Wed, 11 Apr 2012 13:36:02 +0200
|
26
|
+
./spec/executor_spec.rb Mon, 09 Apr 2012 18:10:00 +0200
|
27
|
+
./spec/fragment_spec.rb Wed, 11 Apr 2012 19:44:41 +0200
|
28
|
+
./spec/helpers.rb Wed, 11 Apr 2012 19:00:14 +0200
|
29
|
+
./spec/lib/test_web_server.rb Wed, 11 Apr 2012 19:16:06 +0200
|
30
|
+
./spec/looper_spec.rb Tue, 10 Apr 2012 02:52:52 +0200
|
31
|
+
./spec/runner_spec.rb Tue, 10 Apr 2012 03:10:08 +0200
|
32
|
+
./spec/store_spec.rb Mon, 09 Apr 2012 18:10:00 +0200
|
33
|
+
./spec/tests/local.rb Wed, 11 Apr 2012 14:16:12 +0200
|
34
|
+
./spec/tests/local_invalid.rb Mon, 09 Apr 2012 18:10:00 +0200
|
35
|
+
./spec/tracker_spec.rb Mon, 09 Apr 2012 18:10:00 +0200
|
36
|
+
./spec/webserver_spec.rb Wed, 11 Apr 2012 19:18:38 +0200
|
data/doc/index.html
CHANGED
@@ -69,6 +69,8 @@
|
|
69
69
|
|
70
70
|
<li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
71
71
|
|
72
|
+
<li><a href="./BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
73
|
+
|
72
74
|
<li><a href="./BigBench/Bot.html">BigBench::Bot</a>
|
73
75
|
|
74
76
|
<li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
|
@@ -97,14 +99,14 @@
|
|
97
99
|
|
98
100
|
<li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
99
101
|
|
102
|
+
<li><a href="./EventMachineLoop.html">EventMachineLoop</a>
|
103
|
+
|
100
104
|
<li><a href="./Float.html">Float</a>
|
101
105
|
|
102
106
|
<li><a href="./Helpers.html">Helpers</a>
|
103
107
|
|
104
108
|
<li><a href="./Object.html">Object</a>
|
105
109
|
|
106
|
-
<li><a href="./TestWebServer.html">TestWebServer</a>
|
107
|
-
|
108
110
|
</ul>
|
109
111
|
</nav>
|
110
112
|
|
data/doc/js/search_index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var search_data = {"index":{"searchIndex":["bigbench","benchmark","benchmark","bot","configuration","config","invalidoptions","executor","invalidcommand","fragment","fragment","output","runner","nobenchmarksdefined","store","tracker","tracker","float","helpers","object","testwebserver","add()","add_option()","add_tracking()","all()","benchmark()","benchmarks()","bot_is_checking()","bot_is_working()","bot_received_test_instructions()","bot_stopped_working()","bots()","check_config!()","check_test!()","config()","config()","configure=()","configure=()","count_trackings()","delete()","deployed_test()","done()","duration()","finished_bots_loop()","finished_running_benchmarks()","finished_writing_trackings()","get()","is_running?()","load_test!()","loaded_tests()","max_duration()","message()","message()","message()","new()","new()","new()","new()","parse()","pop_tracking()","post()","put()","reset()","reset!()","reset!()","reset!()","reset!()","run!()","run!()","run!()","run!()","run!()","running?()","running_benchmarks()","running_bots_loop()","setup!()","start()","start()","start()","starting_bots_loop()","stop()","stop()","test()","test=()","to_milliseconds()","track()","track!()","valid?()","write_local_trackings_to_file!()","write_store_trackings_to_file!()","write_trackings_to_store!()","writing_trackings()","wrote_trackings()","gemfile","rakefile","executor"],"longSearchIndex":["bigbench","bigbench::benchmark","bigbench::benchmark::benchmark","bigbench::bot","bigbench::configuration","bigbench::configuration::config","bigbench::configuration::invalidoptions","bigbench::executor","bigbench::executor::invalidcommand","bigbench::fragment","bigbench::fragment::fragment","bigbench::output","bigbench::runner","bigbench::runner::nobenchmarksdefined","bigbench::store","bigbench::tracker","bigbench::tracker::tracker","float","helpers","object","testwebserver","bigbench::benchmark::add()","bigbench::configuration::config::add_option()","bigbench::store::add_tracking()","bigbench::benchmark::all()","bigbench::benchmark()","bigbench::benchmarks()","bigbench::output::bot_is_checking()","bigbench::store::bot_is_working()","bigbench::output::bot_received_test_instructions()","bigbench::store::bot_stopped_working()","bigbench::store::bots()","bigbench::check_config!()","bigbench::bot::check_test!()","bigbench::config()","bigbench::configuration::config()","bigbench::configure=()","bigbench::configuration::configure=()","bigbench::store::count_trackings()","bigbench::fragment::delete()","bigbench::output::deployed_test()","bigbench::output::done()","bigbench::duration()","bigbench::output::finished_bots_loop()","bigbench::output::finished_running_benchmarks()","bigbench::output::finished_writing_trackings()","bigbench::fragment::get()","bigbench::benchmark::benchmark#is_running?()","bigbench::load_test!()","bigbench::output::loaded_tests()","bigbench::benchmark::max_duration()","bigbench::configuration::invalidoptions#message()","bigbench::executor::invalidcommand#message()","bigbench::runner::nobenchmarksdefined#message()","bigbench::benchmark::benchmark::new()","bigbench::configuration::config::new()","bigbench::fragment::fragment::new()","bigbench::tracker::tracker::new()","bigbench::fragment::parse()","bigbench::store::pop_tracking()","bigbench::fragment::post()","bigbench::fragment::put()","bigbench::output::reset()","bigbench::benchmark::reset!()","bigbench::configuration::reset!()","bigbench::fragment::reset!()","bigbench::store::reset!()","bigbench::run!()","bigbench::benchmark::benchmark#run!()","bigbench::executor::run!()","bigbench::fragment::fragment#run!()","bigbench::runner::run!()","bigbench::store::running?()","bigbench::output::running_benchmarks()","bigbench::output::running_bots_loop()","bigbench::store::setup!()","bigbench::output::start()","bigbench::store::start()","testwebserver::start()","bigbench::output::starting_bots_loop()","bigbench::store::stop()","testwebserver::stop()","bigbench::store::test()","bigbench::store::test=()","float#to_milliseconds()","bigbench::tracker::tracker#track()","bigbench::fragment::fragment#track!()","bigbench::configuration::config#valid?()","bigbench::write_local_trackings_to_file!()","bigbench::write_store_trackings_to_file!()","bigbench::write_trackings_to_store!()","bigbench::output::writing_trackings()","bigbench::output::wrote_trackings()","","",""],"info":[["BigBench","","BigBench.html","",""],["BigBench::Benchmark","","BigBench/Benchmark.html","","<p>Holds the actual benchmark methods. A benchmark is a sequence of requests\nto the same server, but to …\n"],["BigBench::Benchmark::Benchmark","","BigBench/Benchmark/Benchmark.html","",""],["BigBench::Bot","","BigBench/Bot.html","","<p>A bot is used for remote testing. It is running in the background of a\nmachine and waits for tests to …\n"],["BigBench::Configuration","","BigBench/Configuration.html","","<p>The configuration is configured in the test reciepts and looks like this:\n\n<pre>BigBench.configure = {\n :duration ...</pre>\n"],["BigBench::Configuration::Config","","BigBench/Configuration/Config.html","","<p>The main config object for BigBench. It allows config options to be added\nand forces some default values …\n"],["BigBench::Configuration::InvalidOptions","","BigBench/Configuration/InvalidOptions.html","","<p>Is returned if the configuration is not filled sufficiently\n"],["BigBench::Executor","","BigBench/Executor.html","","<p>Dispatches the command line commands to BigBench calls. Available commands\nare:\n<p>Usage:\n\n<pre># Local Testing ...</pre>\n"],["BigBench::Executor::InvalidCommand","","BigBench/Executor/InvalidCommand.html","","<p>Is thrown when the command is not known\n"],["BigBench::Fragment","","BigBench/Fragment.html","","<p>A fragment represents a single http request inside a benchmark. It is\nexecuted by the benchmark and resides …\n"],["BigBench::Fragment::Fragment","","BigBench/Fragment/Fragment.html","",""],["BigBench::Output","","BigBench/Output.html","","<p>This module is used to keep all the command line outputs in a single place.\nThe output module gets notified …\n"],["BigBench::Runner","","BigBench/Runner.html","","<p>The runner runs all available benchmarks and returns as soon as all of them\nare finished. Additionally …\n"],["BigBench::Runner::NoBenchmarksDefined","","BigBench/Runner/NoBenchmarksDefined.html","","<p>Is thrown when no benchmarks are defined\n"],["BigBench::Store","","BigBench/Store.html","","<p>The store encapsulates the communication with the redis key-value store. To\nthe outside it looks like …\n"],["BigBench::Tracker","","BigBench/Tracker.html","","<p>The tracker records all request results a benchmark makes. When the\nbenchmark is finished, the trackings …\n"],["BigBench::Tracker::Tracker","","BigBench/Tracker/Tracker.html","",""],["Float","","Float.html","","<p>Adds the <code>to_milliseconds</code> method to any float value\n"],["Helpers","","Helpers.html","",""],["Object","","Object.html","",""],["TestWebServer","","TestWebServer.html","",""],["add","BigBench::Benchmark","BigBench/Benchmark.html#method-c-add","(options, &block)","<p>Adds a benchmark to the <code>BigBench</code> module. It can later be\nretrieved with the <code>all</code> method.\n"],["add_option","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-c-add_option","(name)",""],["add_tracking","BigBench::Store","BigBench/Store.html#method-c-add_tracking","(tracking)","<p>Add a tracking to the trackings\n"],["all","BigBench::Benchmark","BigBench/Benchmark.html#method-c-all","()","<p>Returns all benchmarks that are registered\n"],["benchmark","BigBench","BigBench.html#method-c-benchmark","(options)","<p>Add a benchmark like this:\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">benchmark</span> <span class=\"ruby-string\">"default website pages"</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-string\">"http://localhost:3000"</span> <span class=\"ruby-keyword\">do</span>\n <span class=\"ruby-identifier\">get</span> <span class=\"ruby-string\">"/"</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["benchmarks","BigBench","BigBench.html#method-c-benchmarks","()","<p>List all available benchmarks\n"],["bot_is_checking","BigBench::Output","BigBench/Output.html#method-c-bot_is_checking","()",""],["bot_is_working","BigBench::Store","BigBench/Store.html#method-c-bot_is_working","(id)","<p>Adds a bot to the currently working bots list\n"],["bot_received_test_instructions","BigBench::Output","BigBench/Output.html#method-c-bot_received_test_instructions","()",""],["bot_stopped_working","BigBench::Store","BigBench/Store.html#method-c-bot_stopped_working","(id)","<p>Removes a bot to the currently working bots list\n"],["bots","BigBench::Store","BigBench/Store.html#method-c-bots","()","<p>Shows all currently working bots\n"],["check_config!","BigBench","BigBench.html#method-c-check_config-21","()","<p>Checks if all necessary config options are set and raises an\n<code>InvalidOptions</code> exception if not\n"],["check_test!","BigBench::Bot","BigBench/Bot.html#method-c-check_test-21","()","<p>Checks if there is a new test waiting on the store.\n<p>If yes, it loads this test and executes it. After …\n"],["config","BigBench","BigBench.html#method-c-config","()","<p>Set and retreive the config values like this:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-comment\"># => 10.seconds</span>\n<span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["config","BigBench::Configuration","BigBench/Configuration.html#method-c-config","()","<p>Returns the current config object\n"],["configure=","BigBench","BigBench.html#method-c-configure-3D","(config)","<p>Configure the benchmark by supplying a hash of options like this:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">configure</span> = {\n :<span class=\"ruby-identifier\">duration</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["configure=","BigBench::Configuration","BigBench/Configuration.html#method-c-configure-3D","(config)","<p>Configures the benchmarks with a hash. If the config methods are not\npresent yet, they are added to the …\n"],["count_trackings","BigBench::Store","BigBench/Store.html#method-c-count_trackings","()","<p>How many trackings are in the list\n"],["delete","BigBench::Fragment","BigBench/Fragment.html#method-c-delete","(path, params = {})","<p>Performs a DELETE request to the given url, e.g.\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">delete</span> <span class=\"ruby-string\">"/books/5"</span>, { :<span class=\"ruby-identifier\">user</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-string\">"some@sample.com"</span>, :<span class=\"ruby-identifier\">password</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["deployed_test","BigBench::Output","BigBench/Output.html#method-c-deployed_test","()",""],["done","BigBench::Output","BigBench/Output.html#method-c-done","()",""],["duration","BigBench","BigBench.html#method-c-duration","()","<p>Returns the duration of all benchmarks - ergo the duration of the longest\none\n"],["finished_bots_loop","BigBench::Output","BigBench/Output.html#method-c-finished_bots_loop","()",""],["finished_running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-finished_running_benchmarks","()",""],["finished_writing_trackings","BigBench::Output","BigBench/Output.html#method-c-finished_writing_trackings","(count)",""],["get","BigBench::Fragment","BigBench/Fragment.html#method-c-get","(path)","<p>Performs a GET request to the given url, e.g.\n\n<pre>get "/some/page"</pre>\n"],["is_running?","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-is_running-3F","()","<p>Returns if this benchmark is currently running\n"],["load_test!","BigBench","BigBench.html#method-c-load_test-21","(test)","<p>Loads a test from a string file that is either parsed from a local file or\nretreived from the key-value …\n"],["loaded_tests","BigBench::Output","BigBench/Output.html#method-c-loaded_tests","()",""],["max_duration","BigBench::Benchmark","BigBench/Benchmark.html#method-c-max_duration","()","<p>Returns the longest duration of all benchmarks\n"],["message","BigBench::Configuration::InvalidOptions","BigBench/Configuration/InvalidOptions.html#method-i-message","()",""],["message","BigBench::Executor::InvalidCommand","BigBench/Executor/InvalidCommand.html#method-i-message","()",""],["message","BigBench::Runner::NoBenchmarksDefined","BigBench/Runner/NoBenchmarksDefined.html#method-i-message","()",""],["new","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-c-new","(name, url, options, &block)","<p>Initizalizes a new benchmark\n"],["new","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-c-new","()",""],["new","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-c-new","(benchmark, path, method, params = {})",""],["new","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-c-new","()",""],["parse","BigBench::Fragment","BigBench/Fragment.html#method-c-parse","(benchmark, &block)","<p>Evaluates a benchmark block full of puts and gets and returns an array of\nfully configured fragments …\n"],["pop_tracking","BigBench::Store","BigBench/Store.html#method-c-pop_tracking","()","<p>Pop a tracking from the beginning of the list\n"],["post","BigBench::Fragment","BigBench/Fragment.html#method-c-post","(path, params = {})","<p>Performs a POST request to the given url, e.g.\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">post</span> <span class=\"ruby-string\">"/login"</span>, { :<span class=\"ruby-identifier\">user</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-string\">"some@sample.com"</span>, :<span class=\"ruby-identifier\">password</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["put","BigBench::Fragment","BigBench/Fragment.html#method-c-put","(path, params = {})","<p>Performs a PUT request to the given url, e.g.\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">put</span> <span class=\"ruby-string\">"/books"</span>, { :<span class=\"ruby-identifier\">book</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-string\">"Some book content"</span> }\n</pre>\n"],["reset","BigBench::Output","BigBench/Output.html#method-c-reset","()",""],["reset!","BigBench::Benchmark","BigBench/Benchmark.html#method-c-reset-21","()","<p>Resets all benchmarks\n"],["reset!","BigBench::Configuration","BigBench/Configuration.html#method-c-reset-21","()","<p>Resets the config object\n"],["reset!","BigBench::Fragment","BigBench/Fragment.html#method-c-reset-21","()","<p>Reset all fragments\n"],["reset!","BigBench::Store","BigBench/Store.html#method-c-reset-21","()","<p>Deletes all BigBench related keys on the redis store\n"],["run!","BigBench","BigBench.html#method-c-run-21","()","<p>Runs all initialized benchmarks\n"],["run!","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-run-21","()","<p>Execute this benchmark\n"],["run!","BigBench::Executor","BigBench/Executor.html#method-c-run-21","(argv)","<p>Parses and runs the BigBench funtion that is supplied via the commandline’s\nARGV. It throws an <code>InvalidCommand</code> …\n"],["run!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-run-21","(http)","<p>Initiates the request in the context of a <code>Net::HTTP.start</code>\nblock\n"],["run!","BigBench::Runner","BigBench/Runner.html#method-c-run-21","()","<p>Runs all benchmarks\n"],["running?","BigBench::Store","BigBench/Store.html#method-c-running-3F","()","<p>Returns true if a bot test has been started\n"],["running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-running_benchmarks","()",""],["running_bots_loop","BigBench::Output","BigBench/Output.html#method-c-running_bots_loop","(bots)",""],["setup!","BigBench::Store","BigBench/Store.html#method-c-setup-21","(url = \"localhost:6379\", password = nil)","<p>Setup the redis storage. Default values are <code>localhost:6379</code> and\nno password. This needs to be called for …\n"],["start","BigBench::Output","BigBench/Output.html#method-c-start","()",""],["start","BigBench::Store","BigBench/Store.html#method-c-start","()","<p>Start the tests for all bots by setting the running key\n"],["start","TestWebServer","TestWebServer.html#method-c-start","()",""],["starting_bots_loop","BigBench::Output","BigBench/Output.html#method-c-starting_bots_loop","()",""],["stop","BigBench::Store","BigBench/Store.html#method-c-stop","()","<p>Stops the test for all bots by unsetting the running key\n"],["stop","TestWebServer","TestWebServer.html#method-c-stop","()",""],["test","BigBench::Store","BigBench/Store.html#method-c-test","()","<p>Gets the current test from the redis\n"],["test=","BigBench::Store","BigBench/Store.html#method-c-test-3D","(test)","<p>Stores the current test receipt for all bots on the redis instance\n"],["to_milliseconds","Float","Float.html#method-i-to_milliseconds","()",""],["track","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-i-track","(object)",""],["track!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-track-21","(start, stop, response)","<p>Adds the current tracking result as a hash to the benchmark’s tracker\n"],["valid?","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-i-valid-3F","()",""],["write_local_trackings_to_file!","BigBench","BigBench.html#method-c-write_local_trackings_to_file-21","()","<p>Writes the locals trackings from the benchmark to a file\n"],["write_store_trackings_to_file!","BigBench","BigBench.html#method-c-write_store_trackings_to_file-21","()","<p>Gathers the trackings from the redis and writes them to a local file\n"],["write_trackings_to_store!","BigBench","BigBench.html#method-c-write_trackings_to_store-21","()","<p>Writes the trackings of a bot to the redis after he finishes the run\n"],["writing_trackings","BigBench::Output","BigBench/Output.html#method-c-writing_trackings","(count)",""],["wrote_trackings","BigBench::Output","BigBench/Output.html#method-c-wrote_trackings","(count)",""],["Gemfile","","Gemfile.html","","<p>source “rubygems.org”\n<p># Specify your gem’s dependencies in big_bench.gemspec gemspec\n"],["Rakefile","","Rakefile.html","","<p>require “bundler/gem_tasks”\n<p>namespace :bigbench do\n\n<pre>desc "Create and open documentation"\ntask ...</pre>\n"],["executor","","lib/bigbench/help/executor_txt.html","","<p>Usage:\n\n<pre># Local Testing\nbigbench run local PATH_TO_TEST # Runs a ...</pre>\n"]]}}
|
1
|
+
var search_data = {"index":{"searchIndex":["bigbench","benchmark","benchmark","looper","bot","configuration","config","invalidoptions","executor","invalidcommand","fragment","fragment","output","runner","nobenchmarksdefined","store","tracker","tracker","eventmachineloop","float","helpers","object","add()","add_option()","add_tracking()","all()","all_requests_done?()","authorized?()","benchmark()","benchmarks()","bot_is_checking()","bot_is_working()","bot_received_test_instructions()","bot_stopped_working()","bots()","check_config!()","check_test!()","config()","config()","configure=()","configure=()","count_trackings()","delete()","deployed_test()","done()","duration()","finished_bots_loop()","finished_running_benchmarks()","finished_writing_trackings()","get()","is_running?()","load_test!()","loaded_tests()","loop!()","max_duration()","message()","message()","message()","new()","new()","new()","new()","new()","new()","next_fragment()","parse()","pop_tracking()","post()","protected!()","put()","request!()","reset()","reset!()","reset!()","reset!()","reset!()","run!()","run!()","run!()","run!()","run!()","running?()","running_benchmarks()","running_bots_loop()","setup!()","start()","start()","starting_bots_loop()","stop()","test()","test=()","to_milliseconds()","track()","track!()","valid?()","write_local_trackings_to_file!()","write_store_trackings_to_file!()","write_trackings_to_store!()","writing_trackings()","wrote_trackings()","gemfile","rakefile","executor"],"longSearchIndex":["bigbench","bigbench::benchmark","bigbench::benchmark::benchmark","bigbench::benchmark::looper","bigbench::bot","bigbench::configuration","bigbench::configuration::config","bigbench::configuration::invalidoptions","bigbench::executor","bigbench::executor::invalidcommand","bigbench::fragment","bigbench::fragment::fragment","bigbench::output","bigbench::runner","bigbench::runner::nobenchmarksdefined","bigbench::store","bigbench::tracker","bigbench::tracker::tracker","eventmachineloop","float","helpers","object","bigbench::benchmark::add()","bigbench::configuration::config::add_option()","bigbench::store::add_tracking()","bigbench::benchmark::all()","eventmachineloop#all_requests_done?()","object#authorized?()","bigbench::benchmark()","bigbench::benchmarks()","bigbench::output::bot_is_checking()","bigbench::store::bot_is_working()","bigbench::output::bot_received_test_instructions()","bigbench::store::bot_stopped_working()","bigbench::store::bots()","bigbench::check_config!()","bigbench::bot::check_test!()","bigbench::config()","bigbench::configuration::config()","bigbench::configure=()","bigbench::configuration::configure=()","bigbench::store::count_trackings()","bigbench::fragment::delete()","bigbench::output::deployed_test()","bigbench::output::done()","bigbench::duration()","bigbench::output::finished_bots_loop()","bigbench::output::finished_running_benchmarks()","bigbench::output::finished_writing_trackings()","bigbench::fragment::get()","bigbench::benchmark::benchmark#is_running?()","bigbench::load_test!()","bigbench::output::loaded_tests()","bigbench::benchmark::looper#loop!()","bigbench::benchmark::max_duration()","bigbench::configuration::invalidoptions#message()","bigbench::executor::invalidcommand#message()","bigbench::runner::nobenchmarksdefined#message()","bigbench::benchmark::benchmark::new()","bigbench::benchmark::looper::new()","bigbench::configuration::config::new()","bigbench::fragment::fragment::new()","bigbench::tracker::tracker::new()","eventmachineloop::new()","bigbench::benchmark::looper#next_fragment()","bigbench::fragment::parse()","bigbench::store::pop_tracking()","bigbench::fragment::post()","object#protected!()","bigbench::fragment::put()","eventmachineloop#request!()","bigbench::output::reset()","bigbench::benchmark::reset!()","bigbench::configuration::reset!()","bigbench::fragment::reset!()","bigbench::store::reset!()","bigbench::run!()","bigbench::benchmark::benchmark#run!()","bigbench::executor::run!()","bigbench::fragment::fragment#run!()","bigbench::runner::run!()","bigbench::store::running?()","bigbench::output::running_benchmarks()","bigbench::output::running_bots_loop()","bigbench::store::setup!()","bigbench::output::start()","bigbench::store::start()","bigbench::output::starting_bots_loop()","bigbench::store::stop()","bigbench::store::test()","bigbench::store::test=()","float#to_milliseconds()","bigbench::tracker::tracker#track()","bigbench::fragment::fragment#track!()","bigbench::configuration::config#valid?()","bigbench::write_local_trackings_to_file!()","bigbench::write_store_trackings_to_file!()","bigbench::write_trackings_to_store!()","bigbench::output::writing_trackings()","bigbench::output::wrote_trackings()","","",""],"info":[["BigBench","","BigBench.html","",""],["BigBench::Benchmark","","BigBench/Benchmark.html","","<p>Holds the actual benchmark methods. A benchmark is a sequence of requests\nto the same server, but to …\n"],["BigBench::Benchmark::Benchmark","","BigBench/Benchmark/Benchmark.html","",""],["BigBench::Benchmark::Looper","","BigBench/Benchmark/Looper.html","",""],["BigBench::Bot","","BigBench/Bot.html","","<p>A bot is used for remote testing. It is running in the background of a\nmachine and waits for tests to …\n"],["BigBench::Configuration","","BigBench/Configuration.html","","<p>The configuration is configured in the test reciepts and looks like this:\n\n<pre>BigBench.configure = {\n :duration ...</pre>\n"],["BigBench::Configuration::Config","","BigBench/Configuration/Config.html","","<p>The main config object for BigBench. It allows config options to be added\nand forces some default values …\n"],["BigBench::Configuration::InvalidOptions","","BigBench/Configuration/InvalidOptions.html","","<p>Is returned if the configuration is not filled sufficiently\n"],["BigBench::Executor","","BigBench/Executor.html","","<p>Dispatches the command line commands to BigBench calls. Available commands\nare:\n<p>Usage:\n\n<pre># Local Testing ...</pre>\n"],["BigBench::Executor::InvalidCommand","","BigBench/Executor/InvalidCommand.html","","<p>Is thrown when the command is not known\n"],["BigBench::Fragment","","BigBench/Fragment.html","","<p>A fragment represents a single http request inside a benchmark. It is\nexecuted by the benchmark and resides …\n"],["BigBench::Fragment::Fragment","","BigBench/Fragment/Fragment.html","",""],["BigBench::Output","","BigBench/Output.html","","<p>This module is used to keep all the command line outputs in a single place.\nThe output module gets notified …\n"],["BigBench::Runner","","BigBench/Runner.html","","<p>The runner runs all available benchmarks and returns as soon as all of them\nare finished. Additionally …\n"],["BigBench::Runner::NoBenchmarksDefined","","BigBench/Runner/NoBenchmarksDefined.html","","<p>Is thrown when no benchmarks are defined\n"],["BigBench::Store","","BigBench/Store.html","","<p>The store encapsulates the communication with the redis key-value store. To\nthe outside it looks like …\n"],["BigBench::Tracker","","BigBench/Tracker.html","","<p>The tracker records all request results a benchmark makes. When the\nbenchmark is finished, the trackings …\n"],["BigBench::Tracker::Tracker","","BigBench/Tracker/Tracker.html","",""],["EventMachineLoop","","EventMachineLoop.html","",""],["Float","","Float.html","","<p>Adds the <code>to_milliseconds</code> method to any float value\n"],["Helpers","","Helpers.html","",""],["Object","","Object.html","",""],["add","BigBench::Benchmark","BigBench/Benchmark.html#method-c-add","(options, &block)","<p>Adds a benchmark to the <code>BigBench</code> module. It can later be\nretrieved with the <code>all</code> method.\n"],["add_option","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-c-add_option","(name)",""],["add_tracking","BigBench::Store","BigBench/Store.html#method-c-add_tracking","(tracking)","<p>Add a tracking to the trackings\n"],["all","BigBench::Benchmark","BigBench/Benchmark.html#method-c-all","()","<p>Returns all benchmarks that are registered\n"],["all_requests_done?","EventMachineLoop","EventMachineLoop.html#method-i-all_requests_done-3F","()",""],["authorized?","Object","Object.html#method-i-authorized-3F","()",""],["benchmark","BigBench","BigBench.html#method-c-benchmark","(options)","<p>Add a benchmark like this:\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">benchmark</span> <span class=\"ruby-string\">"default website pages"</span> =<span class=\"ruby-operator\">></span> <span class=\"ruby-string\">"http://localhost:3000"</span> <span class=\"ruby-keyword\">do</span>\n <span class=\"ruby-identifier\">get</span> <span class=\"ruby-string\">"/"</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["benchmarks","BigBench","BigBench.html#method-c-benchmarks","()","<p>List all available benchmarks\n"],["bot_is_checking","BigBench::Output","BigBench/Output.html#method-c-bot_is_checking","()",""],["bot_is_working","BigBench::Store","BigBench/Store.html#method-c-bot_is_working","(id)","<p>Adds a bot to the currently working bots list\n"],["bot_received_test_instructions","BigBench::Output","BigBench/Output.html#method-c-bot_received_test_instructions","()",""],["bot_stopped_working","BigBench::Store","BigBench/Store.html#method-c-bot_stopped_working","(id)","<p>Removes a bot to the currently working bots list\n"],["bots","BigBench::Store","BigBench/Store.html#method-c-bots","()","<p>Shows all currently working bots\n"],["check_config!","BigBench","BigBench.html#method-c-check_config-21","()","<p>Checks if all necessary config options are set and raises an\n<code>InvalidOptions</code> exception if not\n"],["check_test!","BigBench::Bot","BigBench/Bot.html#method-c-check_test-21","()","<p>Checks if there is a new test waiting on the store.\n<p>If yes, it loads this test and executes it. After …\n"],["config","BigBench","BigBench.html#method-c-config","()","<p>Set and retreive the config values like this:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-comment\"># => 10.seconds</span>\n<span class=\"ruby-constant\">BigBench</span>.<span class=\"ruby-identifier\">config</span>.<span class=\"ruby-identifier\">duration</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["config","BigBench::Configuration","BigBench/Configuration.html#method-c-config","()","<p>Returns the current config object\n"],["configure=","BigBench","BigBench.html#method-c-configure-3D","(config)","<p>Configure the benchmark by supplying a hash of options like this:\n\n<pre>BigBench.configure = {\n :duration ...</pre>\n"],["configure=","BigBench::Configuration","BigBench/Configuration.html#method-c-configure-3D","(config)","<p>Configures the benchmarks with a hash. If the config methods are not\npresent yet, they are added to the …\n"],["count_trackings","BigBench::Store","BigBench/Store.html#method-c-count_trackings","()","<p>How many trackings are in the list\n"],["delete","BigBench::Fragment","BigBench/Fragment.html#method-c-delete","(path, options = {})","<p>Performs a DELETE request to the given url, e.g.\n\n<pre>delete "/books/5"</pre>\n"],["deployed_test","BigBench::Output","BigBench/Output.html#method-c-deployed_test","()",""],["done","BigBench::Output","BigBench/Output.html#method-c-done","()",""],["duration","BigBench","BigBench.html#method-c-duration","()","<p>Returns the duration of all benchmarks - ergo the duration of the longest\none\n"],["finished_bots_loop","BigBench::Output","BigBench/Output.html#method-c-finished_bots_loop","()",""],["finished_running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-finished_running_benchmarks","()",""],["finished_writing_trackings","BigBench::Output","BigBench/Output.html#method-c-finished_writing_trackings","(count)",""],["get","BigBench::Fragment","BigBench/Fragment.html#method-c-get","(path, options = {})","<p>Performs a GET request to the given url, e.g.\n\n<pre>get "/some/page"</pre>\n"],["is_running?","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-is_running-3F","()","<p>Returns if this benchmark is currently running\n"],["load_test!","BigBench","BigBench.html#method-c-load_test-21","(test)","<p>Loads a test from a string file that is either parsed from a local file or\nretreived from the key-value …\n"],["loaded_tests","BigBench::Output","BigBench/Output.html#method-c-loaded_tests","()",""],["loop!","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-i-loop-21","()",""],["max_duration","BigBench::Benchmark","BigBench/Benchmark.html#method-c-max_duration","()","<p>Returns the longest duration of all benchmarks\n"],["message","BigBench::Configuration::InvalidOptions","BigBench/Configuration/InvalidOptions.html#method-i-message","()",""],["message","BigBench::Executor::InvalidCommand","BigBench/Executor/InvalidCommand.html#method-i-message","()",""],["message","BigBench::Runner::NoBenchmarksDefined","BigBench/Runner/NoBenchmarksDefined.html#method-i-message","()",""],["new","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-c-new","(name, url, options, &block)","<p>Initizalizes a new benchmark\n"],["new","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-c-new","(benchmark)",""],["new","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-c-new","()",""],["new","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-c-new","(benchmark, path, method, options = {})",""],["new","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-c-new","()",""],["new","EventMachineLoop","EventMachineLoop.html#method-c-new","(loops)",""],["next_fragment","BigBench::Benchmark::Looper","BigBench/Benchmark/Looper.html#method-i-next_fragment","()",""],["parse","BigBench::Fragment","BigBench/Fragment.html#method-c-parse","(benchmark, &block)","<p>Evaluates a benchmark block full of puts and gets and returns an array of\nfully configured fragments …\n"],["pop_tracking","BigBench::Store","BigBench/Store.html#method-c-pop_tracking","()","<p>Pop a tracking from the beginning of the list\n"],["post","BigBench::Fragment","BigBench/Fragment.html#method-c-post","(path, options = {})","<p>Performs a POST request to the given url, e.g.\n\n<pre>post "/login"</pre>\n"],["protected!","Object","Object.html#method-i-protected-21","()",""],["put","BigBench::Fragment","BigBench/Fragment.html#method-c-put","(path, options = {})","<p>Performs a PUT request to the given url, e.g.\n\n<pre>put "/books"</pre>\n"],["request!","EventMachineLoop","EventMachineLoop.html#method-i-request-21","()",""],["reset","BigBench::Output","BigBench/Output.html#method-c-reset","()",""],["reset!","BigBench::Benchmark","BigBench/Benchmark.html#method-c-reset-21","()","<p>Resets all benchmarks\n"],["reset!","BigBench::Configuration","BigBench/Configuration.html#method-c-reset-21","()","<p>Resets the config object\n"],["reset!","BigBench::Fragment","BigBench/Fragment.html#method-c-reset-21","()","<p>Reset all fragments\n"],["reset!","BigBench::Store","BigBench/Store.html#method-c-reset-21","()","<p>Deletes all BigBench related keys on the redis store\n"],["run!","BigBench","BigBench.html#method-c-run-21","()","<p>Runs all initialized benchmarks\n"],["run!","BigBench::Benchmark::Benchmark","BigBench/Benchmark/Benchmark.html#method-i-run-21","()","<p>Execute this benchmark\n"],["run!","BigBench::Executor","BigBench/Executor.html#method-c-run-21","(argv)","<p>Parses and runs the BigBench funtion that is supplied via the commandline’s\nARGV. It throws an <code>InvalidCommand</code> …\n"],["run!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-run-21","()","<p>Initiates the request in the context of a <code>Net::HTTP.start</code>\nblock\n"],["run!","BigBench::Runner","BigBench/Runner.html#method-c-run-21","()","<p>Runs all benchmarks\n"],["running?","BigBench::Store","BigBench/Store.html#method-c-running-3F","()","<p>Returns true if a bot test has been started\n"],["running_benchmarks","BigBench::Output","BigBench/Output.html#method-c-running_benchmarks","()",""],["running_bots_loop","BigBench::Output","BigBench/Output.html#method-c-running_bots_loop","(bots)",""],["setup!","BigBench::Store","BigBench/Store.html#method-c-setup-21","(url = \"localhost:6379\", password = nil)","<p>Setup the redis storage. Default values are <code>localhost:6379</code> and\nno password. This needs to be called for …\n"],["start","BigBench::Output","BigBench/Output.html#method-c-start","()",""],["start","BigBench::Store","BigBench/Store.html#method-c-start","()","<p>Start the tests for all bots by setting the running key\n"],["starting_bots_loop","BigBench::Output","BigBench/Output.html#method-c-starting_bots_loop","()",""],["stop","BigBench::Store","BigBench/Store.html#method-c-stop","()","<p>Stops the test for all bots by unsetting the running key\n"],["test","BigBench::Store","BigBench/Store.html#method-c-test","()","<p>Gets the current test from the redis\n"],["test=","BigBench::Store","BigBench/Store.html#method-c-test-3D","(test)","<p>Stores the current test receipt for all bots on the redis instance\n"],["to_milliseconds","Float","Float.html#method-i-to_milliseconds","()",""],["track","BigBench::Tracker::Tracker","BigBench/Tracker/Tracker.html#method-i-track","(object)",""],["track!","BigBench::Fragment::Fragment","BigBench/Fragment/Fragment.html#method-i-track-21","(start, stop, http)","<p>Adds the current tracking result as a hash to the benchmark’s tracker\n"],["valid?","BigBench::Configuration::Config","BigBench/Configuration/Config.html#method-i-valid-3F","()",""],["write_local_trackings_to_file!","BigBench","BigBench.html#method-c-write_local_trackings_to_file-21","()","<p>Writes the locals trackings from the benchmark to a file\n"],["write_store_trackings_to_file!","BigBench","BigBench.html#method-c-write_store_trackings_to_file-21","()","<p>Gathers the trackings from the redis and writes them to a local file\n"],["write_trackings_to_store!","BigBench","BigBench.html#method-c-write_trackings_to_store-21","()","<p>Writes the trackings of a bot to the redis after he finishes the run\n"],["writing_trackings","BigBench::Output","BigBench/Output.html#method-c-writing_trackings","(count)",""],["wrote_trackings","BigBench::Output","BigBench/Output.html#method-c-wrote_trackings","(count)",""],["Gemfile","","Gemfile.html","","<p>source “rubygems.org”\n<p># Specify your gem’s dependencies in big_bench.gemspec gemspec\n"],["Rakefile","","Rakefile.html","","<p>require “bundler/gem_tasks” require “rack”\n<p>namespace :bigbench do\n\n<pre>desc "Create and ...</pre>\n"],["executor","","lib/bigbench/help/executor_txt.html","","<p>Usage:\n\n<pre># Local Testing\nbigbench run local PATH_TO_TEST # Runs a ...</pre>\n"]]}}
|
@@ -69,6 +69,8 @@
|
|
69
69
|
|
70
70
|
<li><a href="../../../BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
71
71
|
|
72
|
+
<li><a href="../../../BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
73
|
+
|
72
74
|
<li><a href="../../../BigBench/Bot.html">BigBench::Bot</a>
|
73
75
|
|
74
76
|
<li><a href="../../../BigBench/Configuration.html">BigBench::Configuration</a>
|
@@ -97,14 +99,14 @@
|
|
97
99
|
|
98
100
|
<li><a href="../../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
99
101
|
|
102
|
+
<li><a href="../../../EventMachineLoop.html">EventMachineLoop</a>
|
103
|
+
|
100
104
|
<li><a href="../../../Float.html">Float</a>
|
101
105
|
|
102
106
|
<li><a href="../../../Helpers.html">Helpers</a>
|
103
107
|
|
104
108
|
<li><a href="../../../Object.html">Object</a>
|
105
109
|
|
106
|
-
<li><a href="../../../TestWebServer.html">TestWebServer</a>
|
107
|
-
|
108
110
|
</ul>
|
109
111
|
</nav>
|
110
112
|
|
data/doc/table_of_contents.html
CHANGED
@@ -47,6 +47,9 @@
|
|
47
47
|
</li>
|
48
48
|
<li class="class">
|
49
49
|
<a href="BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
50
|
+
</li>
|
51
|
+
<li class="class">
|
52
|
+
<a href="BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
50
53
|
</li>
|
51
54
|
<li class="module">
|
52
55
|
<a href="BigBench/Bot.html">BigBench::Bot</a>
|
@@ -89,6 +92,9 @@
|
|
89
92
|
</li>
|
90
93
|
<li class="class">
|
91
94
|
<a href="BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
95
|
+
</li>
|
96
|
+
<li class="class">
|
97
|
+
<a href="EventMachineLoop.html">EventMachineLoop</a>
|
92
98
|
</li>
|
93
99
|
<li class="class">
|
94
100
|
<a href="Float.html">Float</a>
|
@@ -99,9 +105,6 @@
|
|
99
105
|
<li class="class">
|
100
106
|
<a href="Object.html">Object</a>
|
101
107
|
</li>
|
102
|
-
<li class="module">
|
103
|
-
<a href="TestWebServer.html">TestWebServer</a>
|
104
|
-
</li>
|
105
108
|
|
106
109
|
</ul>
|
107
110
|
|
@@ -134,10 +137,10 @@
|
|
134
137
|
|
135
138
|
<li class="method"><a href="BigBench/Bot.html#method-c-check_test-21">::check_test! — BigBench::Bot</a>
|
136
139
|
|
137
|
-
<li class="method"><a href="BigBench/Configuration.html#method-c-config">::config — BigBench::Configuration</a>
|
138
|
-
|
139
140
|
<li class="method"><a href="BigBench.html#method-c-config">::config — BigBench</a>
|
140
141
|
|
142
|
+
<li class="method"><a href="BigBench/Configuration.html#method-c-config">::config — BigBench::Configuration</a>
|
143
|
+
|
141
144
|
<li class="method"><a href="BigBench/Configuration.html#method-c-configure-3D">::configure= — BigBench::Configuration</a>
|
142
145
|
|
143
146
|
<li class="method"><a href="BigBench.html#method-c-configure-3D">::configure= — BigBench</a>
|
@@ -166,13 +169,17 @@
|
|
166
169
|
|
167
170
|
<li class="method"><a href="BigBench/Benchmark.html#method-c-max_duration">::max_duration — BigBench::Benchmark</a>
|
168
171
|
|
169
|
-
<li class="method"><a href="BigBench/Benchmark/
|
172
|
+
<li class="method"><a href="BigBench/Benchmark/Looper.html#method-c-new">::new — BigBench::Benchmark::Looper</a>
|
170
173
|
|
171
174
|
<li class="method"><a href="BigBench/Fragment/Fragment.html#method-c-new">::new — BigBench::Fragment::Fragment</a>
|
172
175
|
|
176
|
+
<li class="method"><a href="BigBench/Configuration/Config.html#method-c-new">::new — BigBench::Configuration::Config</a>
|
177
|
+
|
173
178
|
<li class="method"><a href="BigBench/Tracker/Tracker.html#method-c-new">::new — BigBench::Tracker::Tracker</a>
|
174
179
|
|
175
|
-
<li class="method"><a href="BigBench/
|
180
|
+
<li class="method"><a href="BigBench/Benchmark/Benchmark.html#method-c-new">::new — BigBench::Benchmark::Benchmark</a>
|
181
|
+
|
182
|
+
<li class="method"><a href="EventMachineLoop.html#method-c-new">::new — EventMachineLoop</a>
|
176
183
|
|
177
184
|
<li class="method"><a href="BigBench/Fragment.html#method-c-parse">::parse — BigBench::Fragment</a>
|
178
185
|
|
@@ -184,20 +191,20 @@
|
|
184
191
|
|
185
192
|
<li class="method"><a href="BigBench/Output.html#method-c-reset">::reset — BigBench::Output</a>
|
186
193
|
|
187
|
-
<li class="method"><a href="BigBench/
|
194
|
+
<li class="method"><a href="BigBench/Benchmark.html#method-c-reset-21">::reset! — BigBench::Benchmark</a>
|
188
195
|
|
189
|
-
<li class="method"><a href="BigBench/
|
196
|
+
<li class="method"><a href="BigBench/Configuration.html#method-c-reset-21">::reset! — BigBench::Configuration</a>
|
190
197
|
|
191
198
|
<li class="method"><a href="BigBench/Fragment.html#method-c-reset-21">::reset! — BigBench::Fragment</a>
|
192
199
|
|
193
|
-
<li class="method"><a href="BigBench/
|
194
|
-
|
195
|
-
<li class="method"><a href="BigBench/Executor.html#method-c-run-21">::run! — BigBench::Executor</a>
|
200
|
+
<li class="method"><a href="BigBench/Store.html#method-c-reset-21">::reset! — BigBench::Store</a>
|
196
201
|
|
197
202
|
<li class="method"><a href="BigBench/Runner.html#method-c-run-21">::run! — BigBench::Runner</a>
|
198
203
|
|
199
204
|
<li class="method"><a href="BigBench.html#method-c-run-21">::run! — BigBench</a>
|
200
205
|
|
206
|
+
<li class="method"><a href="BigBench/Executor.html#method-c-run-21">::run! — BigBench::Executor</a>
|
207
|
+
|
201
208
|
<li class="method"><a href="BigBench/Store.html#method-c-running-3F">::running? — BigBench::Store</a>
|
202
209
|
|
203
210
|
<li class="method"><a href="BigBench/Output.html#method-c-running_benchmarks">::running_benchmarks — BigBench::Output</a>
|
@@ -206,8 +213,6 @@
|
|
206
213
|
|
207
214
|
<li class="method"><a href="BigBench/Store.html#method-c-setup-21">::setup! — BigBench::Store</a>
|
208
215
|
|
209
|
-
<li class="method"><a href="TestWebServer.html#method-c-start">::start — TestWebServer</a>
|
210
|
-
|
211
216
|
<li class="method"><a href="BigBench/Store.html#method-c-start">::start — BigBench::Store</a>
|
212
217
|
|
213
218
|
<li class="method"><a href="BigBench/Output.html#method-c-start">::start — BigBench::Output</a>
|
@@ -216,8 +221,6 @@
|
|
216
221
|
|
217
222
|
<li class="method"><a href="BigBench/Store.html#method-c-stop">::stop — BigBench::Store</a>
|
218
223
|
|
219
|
-
<li class="method"><a href="TestWebServer.html#method-c-stop">::stop — TestWebServer</a>
|
220
|
-
|
221
224
|
<li class="method"><a href="BigBench/Store.html#method-c-test">::test — BigBench::Store</a>
|
222
225
|
|
223
226
|
<li class="method"><a href="BigBench/Store.html#method-c-test-3D">::test= — BigBench::Store</a>
|
@@ -232,14 +235,26 @@
|
|
232
235
|
|
233
236
|
<li class="method"><a href="BigBench/Output.html#method-c-wrote_trackings">::wrote_trackings — BigBench::Output</a>
|
234
237
|
|
238
|
+
<li class="method"><a href="EventMachineLoop.html#method-i-all_requests_done-3F">#all_requests_done? — EventMachineLoop</a>
|
239
|
+
|
240
|
+
<li class="method"><a href="Object.html#method-i-authorized-3F">#authorized? — Object</a>
|
241
|
+
|
235
242
|
<li class="method"><a href="BigBench/Benchmark/Benchmark.html#method-i-is_running-3F">#is_running? — BigBench::Benchmark::Benchmark</a>
|
236
243
|
|
244
|
+
<li class="method"><a href="BigBench/Benchmark/Looper.html#method-i-loop-21">#loop! — BigBench::Benchmark::Looper</a>
|
245
|
+
|
237
246
|
<li class="method"><a href="BigBench/Runner/NoBenchmarksDefined.html#method-i-message">#message — BigBench::Runner::NoBenchmarksDefined</a>
|
238
247
|
|
239
248
|
<li class="method"><a href="BigBench/Configuration/InvalidOptions.html#method-i-message">#message — BigBench::Configuration::InvalidOptions</a>
|
240
249
|
|
241
250
|
<li class="method"><a href="BigBench/Executor/InvalidCommand.html#method-i-message">#message — BigBench::Executor::InvalidCommand</a>
|
242
251
|
|
252
|
+
<li class="method"><a href="BigBench/Benchmark/Looper.html#method-i-next_fragment">#next_fragment — BigBench::Benchmark::Looper</a>
|
253
|
+
|
254
|
+
<li class="method"><a href="Object.html#method-i-protected-21">#protected! — Object</a>
|
255
|
+
|
256
|
+
<li class="method"><a href="EventMachineLoop.html#method-i-request-21">#request! — EventMachineLoop</a>
|
257
|
+
|
243
258
|
<li class="method"><a href="BigBench/Fragment/Fragment.html#method-i-run-21">#run! — BigBench::Fragment::Fragment</a>
|
244
259
|
|
245
260
|
<li class="method"><a href="BigBench/Benchmark/Benchmark.html#method-i-run-21">#run! — BigBench::Benchmark::Benchmark</a>
|