bigbench 0.0.3 → 0.0.4
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/.DS_Store +0 -0
- data/README.textile +254 -4
- data/Rakefile +43 -9
- data/doc/Array.html +288 -0
- data/doc/BigBench.html +32 -6
- data/doc/BigBench/Benchmark.html +24 -0
- data/doc/BigBench/Benchmark/Benchmark.html +24 -0
- data/doc/BigBench/Benchmark/Looper.html +24 -0
- data/doc/BigBench/Bot.html +24 -0
- data/doc/BigBench/Configuration.html +24 -0
- data/doc/BigBench/Configuration/Config.html +24 -0
- data/doc/BigBench/Configuration/InvalidOptions.html +24 -0
- data/doc/BigBench/Executor.html +33 -3
- data/doc/BigBench/Executor/InvalidCommand.html +25 -1
- data/doc/BigBench/Fragment.html +24 -0
- data/doc/BigBench/Fragment/Fragment.html +24 -0
- data/doc/BigBench/Output.html +24 -0
- data/doc/BigBench/PostProcessor.html +33 -6
- data/doc/BigBench/PostProcessor/Environment.html +489 -2
- data/doc/BigBench/PostProcessor/Environment/Appearings.html +327 -0
- data/doc/BigBench/PostProcessor/Environment/AttributeCluster.html +275 -0
- data/doc/BigBench/PostProcessor/Environment/BenchmarkNotFound.html +293 -0
- data/doc/BigBench/PostProcessor/Environment/Cluster.html +387 -0
- data/doc/BigBench/PostProcessor/Environment/NormalDistribution.html +383 -0
- data/doc/BigBench/PostProcessor/Environment/PolynomialRegression.html +438 -0
- data/doc/BigBench/PostProcessor/Environment/Statistics.html +568 -0
- data/doc/BigBench/PostProcessor/Graphs.html +270 -0
- data/doc/BigBench/PostProcessor/Graphs/LineGraph.html +403 -0
- data/doc/BigBench/PostProcessor/Graphs/PieGraph.html +396 -0
- data/doc/BigBench/PostProcessor/InvalidProcessor.html +25 -1
- data/doc/BigBench/PostProcessor/Processor.html +59 -7
- data/doc/BigBench/PostProcessor/Statistics.html +26 -2
- data/doc/BigBench/PostProcessor/Test.html +26 -2
- data/doc/BigBench/Runner.html +24 -0
- data/doc/BigBench/Runner/NoBenchmarksDefined.html +24 -0
- data/doc/BigBench/Store.html +24 -0
- data/doc/BigBench/Tracker.html +24 -0
- data/doc/BigBench/Tracker/Tracker.html +24 -0
- data/doc/EventMachineLoop.html +24 -0
- data/doc/Float.html +24 -0
- data/doc/Gemfile.html +24 -0
- data/doc/Helpers.html +78 -0
- data/doc/Object.html +29 -0
- data/doc/README_rdoc.html +803 -0
- data/doc/Rakefile.html +66 -10
- data/doc/created.rid +46 -40
- data/doc/index.html +667 -1
- data/doc/js/search_index.js +1 -1
- data/doc/lib/bigbench/help/executor_txt.html +32 -2
- data/doc/rdoc.css +4 -0
- data/doc/table_of_contents.html +179 -23
- data/doc/test_rdoc.html +159 -0
- data/lib/bigbench.rb +2 -0
- data/lib/bigbench/executor.rb +17 -1
- data/lib/bigbench/help/executor.txt +5 -0
- data/lib/bigbench/post_processor.rb +16 -32
- data/lib/bigbench/post_processor/environment.rb +525 -0
- data/lib/bigbench/post_processor/graphs.rb +209 -0
- data/lib/bigbench/post_processor/statistics.rb +29 -49
- data/lib/bigbench/version.rb +1 -1
- data/spec/executor_spec.rb +35 -0
- data/spec/helpers.rb +15 -1
- data/spec/post_processor_spec.rb +19 -4
- data/spec/post_processors/environment_spec.rb +412 -0
- data/spec/post_processors/graphs_spec.rb +23 -0
- data/spec/post_processors/statistics_spec.rb +3 -2
- data/spec/tests/local.rb +1 -1
- data/spec/tests/sample_results_big.ljson +51925 -0
- data/spec/tests/sample_results_small.ljson +3875 -0
- data/spec/tests/with_post_processor.ljson +43 -0
- data/spec/tests/with_post_processor.rb +12 -0
- data/spec/tmp/.DS_Store +0 -0
- data/spec/tracker_spec.rb +8 -8
- metadata +61 -101
@@ -0,0 +1,396 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class BigBench::PostProcessor::Graphs::PieGraph - 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="class">
|
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>lib/bigbench/post_processor/graphs.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link"><a href="../../../Object.html">Object</a>
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-c-new">::new</a>
|
74
|
+
|
75
|
+
<li><a href="#method-i-add">#add</a>
|
76
|
+
|
77
|
+
<li><a href="#method-i-open">#open</a>
|
78
|
+
|
79
|
+
<li><a href="#method-i-write">#write</a>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<div id="project-metadata">
|
87
|
+
<nav id="fileindex-section" class="section project-section">
|
88
|
+
<h3 class="section-header">Pages</h3>
|
89
|
+
|
90
|
+
<ul>
|
91
|
+
|
92
|
+
<li class="file"><a href="../../../Gemfile.html">Gemfile</a>
|
93
|
+
|
94
|
+
<li class="file"><a href="../../../README_rdoc.html">README</a>
|
95
|
+
|
96
|
+
<li class="file"><a href="../../../Rakefile.html">Rakefile</a>
|
97
|
+
|
98
|
+
<li class="file"><a href="../../../lib/bigbench/help/executor_txt.html">executor</a>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</nav>
|
102
|
+
|
103
|
+
<nav id="classindex-section" class="section project-section">
|
104
|
+
<h3 class="section-header">Class and Module Index</h3>
|
105
|
+
|
106
|
+
<ul class="link-list">
|
107
|
+
|
108
|
+
<li><a href="../../../BigBench.html">BigBench</a>
|
109
|
+
|
110
|
+
<li><a href="../../../BigBench/Benchmark.html">BigBench::Benchmark</a>
|
111
|
+
|
112
|
+
<li><a href="../../../BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
113
|
+
|
114
|
+
<li><a href="../../../BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
115
|
+
|
116
|
+
<li><a href="../../../BigBench/Bot.html">BigBench::Bot</a>
|
117
|
+
|
118
|
+
<li><a href="../../../BigBench/Configuration.html">BigBench::Configuration</a>
|
119
|
+
|
120
|
+
<li><a href="../../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
121
|
+
|
122
|
+
<li><a href="../../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
123
|
+
|
124
|
+
<li><a href="../../../BigBench/Executor.html">BigBench::Executor</a>
|
125
|
+
|
126
|
+
<li><a href="../../../BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
|
127
|
+
|
128
|
+
<li><a href="../../../BigBench/Fragment.html">BigBench::Fragment</a>
|
129
|
+
|
130
|
+
<li><a href="../../../BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
|
131
|
+
|
132
|
+
<li><a href="../../../BigBench/Output.html">BigBench::Output</a>
|
133
|
+
|
134
|
+
<li><a href="../../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
135
|
+
|
136
|
+
<li><a href="../../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
137
|
+
|
138
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
139
|
+
|
140
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/AttributeCluster.html">BigBench::PostProcessor::Environment::AttributeCluster</a>
|
141
|
+
|
142
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/BenchmarkNotFound.html">BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
143
|
+
|
144
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Cluster.html">BigBench::PostProcessor::Environment::Cluster</a>
|
145
|
+
|
146
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/NormalDistribution.html">BigBench::PostProcessor::Environment::NormalDistribution</a>
|
147
|
+
|
148
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/PolynomialRegression.html">BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
149
|
+
|
150
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Statistics.html">BigBench::PostProcessor::Environment::Statistics</a>
|
151
|
+
|
152
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs.html">BigBench::PostProcessor::Graphs</a>
|
153
|
+
|
154
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs/LineGraph.html">BigBench::PostProcessor::Graphs::LineGraph</a>
|
155
|
+
|
156
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs/PieGraph.html">BigBench::PostProcessor::Graphs::PieGraph</a>
|
157
|
+
|
158
|
+
<li><a href="../../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
159
|
+
|
160
|
+
<li><a href="../../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
161
|
+
|
162
|
+
<li><a href="../../../BigBench/PostProcessor/Statistics.html">BigBench::PostProcessor::Statistics</a>
|
163
|
+
|
164
|
+
<li><a href="../../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
165
|
+
|
166
|
+
<li><a href="../../../BigBench/Runner.html">BigBench::Runner</a>
|
167
|
+
|
168
|
+
<li><a href="../../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
169
|
+
|
170
|
+
<li><a href="../../../BigBench/Store.html">BigBench::Store</a>
|
171
|
+
|
172
|
+
<li><a href="../../../BigBench/Tracker.html">BigBench::Tracker</a>
|
173
|
+
|
174
|
+
<li><a href="../../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
175
|
+
|
176
|
+
<li><a href="../../../Array.html">Array</a>
|
177
|
+
|
178
|
+
<li><a href="../../../EventMachineLoop.html">EventMachineLoop</a>
|
179
|
+
|
180
|
+
<li><a href="../../../Float.html">Float</a>
|
181
|
+
|
182
|
+
<li><a href="../../../Helpers.html">Helpers</a>
|
183
|
+
|
184
|
+
<li><a href="../../../Object.html">Object</a>
|
185
|
+
|
186
|
+
</ul>
|
187
|
+
</nav>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
</nav>
|
191
|
+
|
192
|
+
<div id="documentation">
|
193
|
+
<h1 class="class">class BigBench::PostProcessor::Graphs::PieGraph</h1>
|
194
|
+
|
195
|
+
<div id="description" class="description">
|
196
|
+
|
197
|
+
<p>Encapsules the gruff pie graph</p>
|
198
|
+
|
199
|
+
</div><!-- description -->
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
<!-- Attributes -->
|
213
|
+
<section id="attribute-method-details" class="method-section section">
|
214
|
+
<h3 class="section-header">Attributes</h3>
|
215
|
+
|
216
|
+
|
217
|
+
<div id="attribute-i-graph" class="method-detail">
|
218
|
+
<div class="method-heading attribute-method-heading">
|
219
|
+
<span class="method-name">graph</span><span
|
220
|
+
class="attribute-access-type">[R]</span>
|
221
|
+
</div>
|
222
|
+
|
223
|
+
<div class="method-description">
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
|
230
|
+
<div id="attribute-i-labels" class="method-detail">
|
231
|
+
<div class="method-heading attribute-method-heading">
|
232
|
+
<span class="method-name">labels</span><span
|
233
|
+
class="attribute-access-type">[RW]</span>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div class="method-description">
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
|
243
|
+
</section><!-- attribute-method-details -->
|
244
|
+
|
245
|
+
|
246
|
+
<!-- Methods -->
|
247
|
+
|
248
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
249
|
+
<h3 class="section-header">Public Class Methods</h3>
|
250
|
+
|
251
|
+
|
252
|
+
<div id="method-c-new" class="method-detail ">
|
253
|
+
|
254
|
+
<div class="method-heading">
|
255
|
+
<span class="method-name">new</span><span
|
256
|
+
class="method-args">(title, options = {})</span>
|
257
|
+
<span class="method-click-advice">click to toggle source</span>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
|
261
|
+
<div class="method-description">
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
<div class="method-source-code" id="new-source">
|
268
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor/graphs.rb, line 75</span>
|
269
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">title</span>, <span class="ruby-identifier">options</span> = {}
|
270
|
+
<span class="ruby-ivar">@graph</span> = <span class="ruby-constant">Gruff</span><span class="ruby-operator">::</span><span class="ruby-constant">Pie</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:size</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">DEFAULT</span>[<span class="ruby-value">:size</span>])
|
271
|
+
<span class="ruby-ivar">@graph</span>.<span class="ruby-identifier">title</span> = <span class="ruby-identifier">title</span>
|
272
|
+
<span class="ruby-ivar">@graph</span>.<span class="ruby-identifier">theme</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:theme</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">DEFAULT</span>[<span class="ruby-value">:theme</span>]
|
273
|
+
<span class="ruby-ivar">@folder</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:folder</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">DEFAULT</span>[<span class="ruby-value">:folder</span>]
|
274
|
+
|
275
|
+
<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-ivar">@folder</span> <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@folder</span>)
|
276
|
+
<span class="ruby-keyword">end</span></pre>
|
277
|
+
</div><!-- new-source -->
|
278
|
+
|
279
|
+
</div>
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
</div><!-- new-method -->
|
285
|
+
|
286
|
+
|
287
|
+
</section><!-- public-class-method-details -->
|
288
|
+
|
289
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
290
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
291
|
+
|
292
|
+
|
293
|
+
<div id="method-i-add" class="method-detail ">
|
294
|
+
|
295
|
+
<div class="method-heading">
|
296
|
+
<span class="method-name">add</span><span
|
297
|
+
class="method-args">(title, percentage)</span>
|
298
|
+
<span class="method-click-advice">click to toggle source</span>
|
299
|
+
</div>
|
300
|
+
|
301
|
+
|
302
|
+
<div class="method-description">
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
<div class="method-source-code" id="add-source">
|
309
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor/graphs.rb, line 84</span>
|
310
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add</span> <span class="ruby-identifier">title</span>, <span class="ruby-identifier">percentage</span>
|
311
|
+
<span class="ruby-ivar">@graph</span>.<span class="ruby-identifier">data</span>(<span class="ruby-identifier">title</span>, <span class="ruby-identifier">percentage</span>)
|
312
|
+
<span class="ruby-keyword">end</span></pre>
|
313
|
+
</div><!-- add-source -->
|
314
|
+
|
315
|
+
</div>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
</div><!-- add-method -->
|
321
|
+
|
322
|
+
|
323
|
+
<div id="method-i-open" class="method-detail ">
|
324
|
+
|
325
|
+
<div class="method-heading">
|
326
|
+
<span class="method-name">open</span><span
|
327
|
+
class="method-args">()</span>
|
328
|
+
<span class="method-click-advice">click to toggle source</span>
|
329
|
+
</div>
|
330
|
+
|
331
|
+
|
332
|
+
<div class="method-description">
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
<div class="method-source-code" id="open-source">
|
339
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor/graphs.rb, line 93</span>
|
340
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">open</span>
|
341
|
+
<span class="ruby-node">%xopen #{File.join(@folder, @file)}`</span>
|
342
|
+
<span class="ruby-keyword">end</span></pre>
|
343
|
+
</div><!-- open-source -->
|
344
|
+
|
345
|
+
</div>
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
</div><!-- open-method -->
|
351
|
+
|
352
|
+
|
353
|
+
<div id="method-i-write" class="method-detail ">
|
354
|
+
|
355
|
+
<div class="method-heading">
|
356
|
+
<span class="method-name">write</span><span
|
357
|
+
class="method-args">(file)</span>
|
358
|
+
<span class="method-click-advice">click to toggle source</span>
|
359
|
+
</div>
|
360
|
+
|
361
|
+
|
362
|
+
<div class="method-description">
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
<div class="method-source-code" id="write-source">
|
369
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor/graphs.rb, line 88</span>
|
370
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">write</span> <span class="ruby-identifier">file</span>
|
371
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Writing Graph to #{File.join(@folder, @file = file)}"</span>
|
372
|
+
<span class="ruby-ivar">@graph</span>.<span class="ruby-identifier">write</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@folder</span>, <span class="ruby-ivar">@file</span> = <span class="ruby-identifier">file</span>)
|
373
|
+
<span class="ruby-keyword">end</span></pre>
|
374
|
+
</div><!-- write-source -->
|
375
|
+
|
376
|
+
</div>
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
</div><!-- write-method -->
|
382
|
+
|
383
|
+
|
384
|
+
</section><!-- public-instance-method-details -->
|
385
|
+
|
386
|
+
</section><!-- 5Buntitled-5D -->
|
387
|
+
|
388
|
+
</div><!-- documentation -->
|
389
|
+
|
390
|
+
|
391
|
+
<footer id="validator-badges">
|
392
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
393
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
394
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
395
|
+
</footer>
|
396
|
+
|
@@ -85,6 +85,8 @@
|
|
85
85
|
|
86
86
|
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
87
87
|
|
88
|
+
<li class="file"><a href="../../README_rdoc.html">README</a>
|
89
|
+
|
88
90
|
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
89
91
|
|
90
92
|
<li class="file"><a href="../../lib/bigbench/help/executor_txt.html">executor</a>
|
@@ -127,6 +129,26 @@
|
|
127
129
|
|
128
130
|
<li><a href="../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
129
131
|
|
132
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
133
|
+
|
134
|
+
<li><a href="../../BigBench/PostProcessor/Environment/AttributeCluster.html">BigBench::PostProcessor::Environment::AttributeCluster</a>
|
135
|
+
|
136
|
+
<li><a href="../../BigBench/PostProcessor/Environment/BenchmarkNotFound.html">BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
137
|
+
|
138
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Cluster.html">BigBench::PostProcessor::Environment::Cluster</a>
|
139
|
+
|
140
|
+
<li><a href="../../BigBench/PostProcessor/Environment/NormalDistribution.html">BigBench::PostProcessor::Environment::NormalDistribution</a>
|
141
|
+
|
142
|
+
<li><a href="../../BigBench/PostProcessor/Environment/PolynomialRegression.html">BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
143
|
+
|
144
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Statistics.html">BigBench::PostProcessor::Environment::Statistics</a>
|
145
|
+
|
146
|
+
<li><a href="../../BigBench/PostProcessor/Graphs.html">BigBench::PostProcessor::Graphs</a>
|
147
|
+
|
148
|
+
<li><a href="../../BigBench/PostProcessor/Graphs/LineGraph.html">BigBench::PostProcessor::Graphs::LineGraph</a>
|
149
|
+
|
150
|
+
<li><a href="../../BigBench/PostProcessor/Graphs/PieGraph.html">BigBench::PostProcessor::Graphs::PieGraph</a>
|
151
|
+
|
130
152
|
<li><a href="../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
131
153
|
|
132
154
|
<li><a href="../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
@@ -145,6 +167,8 @@
|
|
145
167
|
|
146
168
|
<li><a href="../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
147
169
|
|
170
|
+
<li><a href="../../Array.html">Array</a>
|
171
|
+
|
148
172
|
<li><a href="../../EventMachineLoop.html">EventMachineLoop</a>
|
149
173
|
|
150
174
|
<li><a href="../../Float.html">Float</a>
|
@@ -202,7 +226,7 @@
|
|
202
226
|
|
203
227
|
|
204
228
|
<div class="method-source-code" id="message-source">
|
205
|
-
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line
|
229
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line 121</span>
|
206
230
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">message</span>
|
207
231
|
<span class="ruby-string">"You have to either specify a valid post processor or a block"</span>
|
208
232
|
<span class="ruby-keyword">end</span></pre>
|
@@ -70,11 +70,11 @@
|
|
70
70
|
<ul class="link-list">
|
71
71
|
|
72
72
|
|
73
|
-
<li><
|
73
|
+
<li><span class="include">ActionView::Helpers</span>
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
-
<li><
|
77
|
+
<li><a class="include" href="Environment.html">BigBench::PostProcessor::Environment</a>
|
78
78
|
|
79
79
|
|
80
80
|
</ul>
|
@@ -103,6 +103,8 @@
|
|
103
103
|
|
104
104
|
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
105
105
|
|
106
|
+
<li class="file"><a href="../../README_rdoc.html">README</a>
|
107
|
+
|
106
108
|
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
107
109
|
|
108
110
|
<li class="file"><a href="../../lib/bigbench/help/executor_txt.html">executor</a>
|
@@ -145,6 +147,26 @@
|
|
145
147
|
|
146
148
|
<li><a href="../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
147
149
|
|
150
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
151
|
+
|
152
|
+
<li><a href="../../BigBench/PostProcessor/Environment/AttributeCluster.html">BigBench::PostProcessor::Environment::AttributeCluster</a>
|
153
|
+
|
154
|
+
<li><a href="../../BigBench/PostProcessor/Environment/BenchmarkNotFound.html">BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
155
|
+
|
156
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Cluster.html">BigBench::PostProcessor::Environment::Cluster</a>
|
157
|
+
|
158
|
+
<li><a href="../../BigBench/PostProcessor/Environment/NormalDistribution.html">BigBench::PostProcessor::Environment::NormalDistribution</a>
|
159
|
+
|
160
|
+
<li><a href="../../BigBench/PostProcessor/Environment/PolynomialRegression.html">BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
161
|
+
|
162
|
+
<li><a href="../../BigBench/PostProcessor/Environment/Statistics.html">BigBench::PostProcessor::Environment::Statistics</a>
|
163
|
+
|
164
|
+
<li><a href="../../BigBench/PostProcessor/Graphs.html">BigBench::PostProcessor::Graphs</a>
|
165
|
+
|
166
|
+
<li><a href="../../BigBench/PostProcessor/Graphs/LineGraph.html">BigBench::PostProcessor::Graphs::LineGraph</a>
|
167
|
+
|
168
|
+
<li><a href="../../BigBench/PostProcessor/Graphs/PieGraph.html">BigBench::PostProcessor::Graphs::PieGraph</a>
|
169
|
+
|
148
170
|
<li><a href="../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
149
171
|
|
150
172
|
<li><a href="../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
@@ -163,6 +185,8 @@
|
|
163
185
|
|
164
186
|
<li><a href="../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
165
187
|
|
188
|
+
<li><a href="../../Array.html">Array</a>
|
189
|
+
|
166
190
|
<li><a href="../../EventMachineLoop.html">EventMachineLoop</a>
|
167
191
|
|
168
192
|
<li><a href="../../Float.html">Float</a>
|
@@ -203,6 +227,19 @@ class</p>
|
|
203
227
|
<h3 class="section-header">Attributes</h3>
|
204
228
|
|
205
229
|
|
230
|
+
<div id="attribute-i-options" class="method-detail">
|
231
|
+
<div class="method-heading attribute-method-heading">
|
232
|
+
<span class="method-name">options</span><span
|
233
|
+
class="attribute-access-type">[RW]</span>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div class="method-description">
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
|
206
243
|
<div id="attribute-i-proc" class="method-detail">
|
207
244
|
<div class="method-heading attribute-method-heading">
|
208
245
|
<span class="method-name">proc</span><span
|
@@ -213,6 +250,19 @@ class</p>
|
|
213
250
|
|
214
251
|
|
215
252
|
|
253
|
+
</div>
|
254
|
+
</div>
|
255
|
+
|
256
|
+
<div id="attribute-i-runs" class="method-detail">
|
257
|
+
<div class="method-heading attribute-method-heading">
|
258
|
+
<span class="method-name">runs</span><span
|
259
|
+
class="attribute-access-type">[RW]</span>
|
260
|
+
</div>
|
261
|
+
|
262
|
+
<div class="method-description">
|
263
|
+
|
264
|
+
|
265
|
+
|
216
266
|
</div>
|
217
267
|
</div>
|
218
268
|
|
@@ -229,7 +279,7 @@ class</p>
|
|
229
279
|
|
230
280
|
<div class="method-heading">
|
231
281
|
<span class="method-name">new</span><span
|
232
|
-
class="method-args">(processor = nil, &block)</span>
|
282
|
+
class="method-args">(processor = nil, options = {}, &block)</span>
|
233
283
|
<span class="method-click-advice">click to toggle source</span>
|
234
284
|
</div>
|
235
285
|
|
@@ -241,9 +291,10 @@ class</p>
|
|
241
291
|
|
242
292
|
|
243
293
|
<div class="method-source-code" id="new-source">
|
244
|
-
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line
|
245
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">processor</span> = <span class="ruby-keyword">nil</span>, &<span class="ruby-identifier">block</span>)
|
294
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line 70</span>
|
295
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">processor</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">options</span> = {}, &<span class="ruby-identifier">block</span>)
|
246
296
|
<span class="ruby-ivar">@proc</span> = <span class="ruby-identifier">processor_to_proc</span>(<span class="ruby-identifier">processor</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">block</span>
|
297
|
+
<span class="ruby-ivar">@runs</span>, <span class="ruby-ivar">@options</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">options</span>
|
247
298
|
<span class="ruby-keyword">end</span></pre>
|
248
299
|
</div><!-- new-source -->
|
249
300
|
|
@@ -277,9 +328,10 @@ class</p>
|
|
277
328
|
|
278
329
|
|
279
330
|
<div class="method-source-code" id="run-21-source">
|
280
|
-
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line
|
331
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line 76</span>
|
281
332
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">run!</span>
|
282
|
-
<span class="ruby-
|
333
|
+
<span class="ruby-ivar">@runs</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
334
|
+
<span class="ruby-constant">PostProcessor</span><span class="ruby-operator">::</span><span class="ruby-constant">Environment</span>.<span class="ruby-identifier">module_exec</span>(<span class="ruby-ivar">@options</span>, &<span class="ruby-ivar">@proc</span>)
|
283
335
|
<span class="ruby-keyword">end</span></pre>
|
284
336
|
</div><!-- run-21-source -->
|
285
337
|
|