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,327 @@
|
|
|
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::Environment::Appearings - 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/environment.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
|
+
<!-- Included Modules -->
|
|
67
|
+
<nav id="includes-section" class="section">
|
|
68
|
+
<h3 class="section-header">Included Modules</h3>
|
|
69
|
+
|
|
70
|
+
<ul class="link-list">
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<li><a class="include" href="../Environment.html">BigBench::PostProcessor::Environment</a>
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
</ul>
|
|
77
|
+
</nav>
|
|
78
|
+
|
|
79
|
+
<!-- Method Quickref -->
|
|
80
|
+
<nav id="method-list-section" class="section">
|
|
81
|
+
<h3 class="section-header">Methods</h3>
|
|
82
|
+
|
|
83
|
+
<ul class="link-list">
|
|
84
|
+
|
|
85
|
+
<li><a href="#method-c-new">::new</a>
|
|
86
|
+
|
|
87
|
+
</ul>
|
|
88
|
+
</nav>
|
|
89
|
+
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div id="project-metadata">
|
|
93
|
+
<nav id="fileindex-section" class="section project-section">
|
|
94
|
+
<h3 class="section-header">Pages</h3>
|
|
95
|
+
|
|
96
|
+
<ul>
|
|
97
|
+
|
|
98
|
+
<li class="file"><a href="../../../Gemfile.html">Gemfile</a>
|
|
99
|
+
|
|
100
|
+
<li class="file"><a href="../../../README_rdoc.html">README</a>
|
|
101
|
+
|
|
102
|
+
<li class="file"><a href="../../../Rakefile.html">Rakefile</a>
|
|
103
|
+
|
|
104
|
+
<li class="file"><a href="../../../lib/bigbench/help/executor_txt.html">executor</a>
|
|
105
|
+
|
|
106
|
+
</ul>
|
|
107
|
+
</nav>
|
|
108
|
+
|
|
109
|
+
<nav id="classindex-section" class="section project-section">
|
|
110
|
+
<h3 class="section-header">Class and Module Index</h3>
|
|
111
|
+
|
|
112
|
+
<ul class="link-list">
|
|
113
|
+
|
|
114
|
+
<li><a href="../../../BigBench.html">BigBench</a>
|
|
115
|
+
|
|
116
|
+
<li><a href="../../../BigBench/Benchmark.html">BigBench::Benchmark</a>
|
|
117
|
+
|
|
118
|
+
<li><a href="../../../BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
|
119
|
+
|
|
120
|
+
<li><a href="../../../BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
|
121
|
+
|
|
122
|
+
<li><a href="../../../BigBench/Bot.html">BigBench::Bot</a>
|
|
123
|
+
|
|
124
|
+
<li><a href="../../../BigBench/Configuration.html">BigBench::Configuration</a>
|
|
125
|
+
|
|
126
|
+
<li><a href="../../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
|
127
|
+
|
|
128
|
+
<li><a href="../../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
|
129
|
+
|
|
130
|
+
<li><a href="../../../BigBench/Executor.html">BigBench::Executor</a>
|
|
131
|
+
|
|
132
|
+
<li><a href="../../../BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
|
|
133
|
+
|
|
134
|
+
<li><a href="../../../BigBench/Fragment.html">BigBench::Fragment</a>
|
|
135
|
+
|
|
136
|
+
<li><a href="../../../BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
|
|
137
|
+
|
|
138
|
+
<li><a href="../../../BigBench/Output.html">BigBench::Output</a>
|
|
139
|
+
|
|
140
|
+
<li><a href="../../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
|
141
|
+
|
|
142
|
+
<li><a href="../../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
|
143
|
+
|
|
144
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
|
145
|
+
|
|
146
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/AttributeCluster.html">BigBench::PostProcessor::Environment::AttributeCluster</a>
|
|
147
|
+
|
|
148
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/BenchmarkNotFound.html">BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
|
149
|
+
|
|
150
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Cluster.html">BigBench::PostProcessor::Environment::Cluster</a>
|
|
151
|
+
|
|
152
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/NormalDistribution.html">BigBench::PostProcessor::Environment::NormalDistribution</a>
|
|
153
|
+
|
|
154
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/PolynomialRegression.html">BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
|
155
|
+
|
|
156
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Statistics.html">BigBench::PostProcessor::Environment::Statistics</a>
|
|
157
|
+
|
|
158
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs.html">BigBench::PostProcessor::Graphs</a>
|
|
159
|
+
|
|
160
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs/LineGraph.html">BigBench::PostProcessor::Graphs::LineGraph</a>
|
|
161
|
+
|
|
162
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs/PieGraph.html">BigBench::PostProcessor::Graphs::PieGraph</a>
|
|
163
|
+
|
|
164
|
+
<li><a href="../../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
|
165
|
+
|
|
166
|
+
<li><a href="../../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
|
167
|
+
|
|
168
|
+
<li><a href="../../../BigBench/PostProcessor/Statistics.html">BigBench::PostProcessor::Statistics</a>
|
|
169
|
+
|
|
170
|
+
<li><a href="../../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
|
171
|
+
|
|
172
|
+
<li><a href="../../../BigBench/Runner.html">BigBench::Runner</a>
|
|
173
|
+
|
|
174
|
+
<li><a href="../../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
|
175
|
+
|
|
176
|
+
<li><a href="../../../BigBench/Store.html">BigBench::Store</a>
|
|
177
|
+
|
|
178
|
+
<li><a href="../../../BigBench/Tracker.html">BigBench::Tracker</a>
|
|
179
|
+
|
|
180
|
+
<li><a href="../../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
|
181
|
+
|
|
182
|
+
<li><a href="../../../Array.html">Array</a>
|
|
183
|
+
|
|
184
|
+
<li><a href="../../../EventMachineLoop.html">EventMachineLoop</a>
|
|
185
|
+
|
|
186
|
+
<li><a href="../../../Float.html">Float</a>
|
|
187
|
+
|
|
188
|
+
<li><a href="../../../Helpers.html">Helpers</a>
|
|
189
|
+
|
|
190
|
+
<li><a href="../../../Object.html">Object</a>
|
|
191
|
+
|
|
192
|
+
</ul>
|
|
193
|
+
</nav>
|
|
194
|
+
|
|
195
|
+
</div>
|
|
196
|
+
</nav>
|
|
197
|
+
|
|
198
|
+
<div id="documentation">
|
|
199
|
+
<h1 class="class">class BigBench::PostProcessor::Environment::Appearings</h1>
|
|
200
|
+
|
|
201
|
+
<div id="description" class="description">
|
|
202
|
+
|
|
203
|
+
<p>Lists the appearing attributes for a scope</p>
|
|
204
|
+
|
|
205
|
+
</div><!-- description -->
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<!-- Attributes -->
|
|
219
|
+
<section id="attribute-method-details" class="method-section section">
|
|
220
|
+
<h3 class="section-header">Attributes</h3>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<div id="attribute-i-methods" class="method-detail">
|
|
224
|
+
<div class="method-heading attribute-method-heading">
|
|
225
|
+
<span class="method-name">methods</span><span
|
|
226
|
+
class="attribute-access-type">[R]</span>
|
|
227
|
+
</div>
|
|
228
|
+
|
|
229
|
+
<div class="method-description">
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
<div id="attribute-i-paths" class="method-detail">
|
|
237
|
+
<div class="method-heading attribute-method-heading">
|
|
238
|
+
<span class="method-name">paths</span><span
|
|
239
|
+
class="attribute-access-type">[R]</span>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
<div class="method-description">
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
<div id="attribute-i-statuses" class="method-detail">
|
|
250
|
+
<div class="method-heading attribute-method-heading">
|
|
251
|
+
<span class="method-name">statuses</span><span
|
|
252
|
+
class="attribute-access-type">[R]</span>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<div class="method-description">
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
</section><!-- attribute-method-details -->
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
<!-- Methods -->
|
|
266
|
+
|
|
267
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
|
268
|
+
<h3 class="section-header">Public Class Methods</h3>
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
<div id="method-c-new" class="method-detail ">
|
|
272
|
+
|
|
273
|
+
<div class="method-heading">
|
|
274
|
+
<span class="method-name">new</span><span
|
|
275
|
+
class="method-args">(scope = :all)</span>
|
|
276
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
277
|
+
</div>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
<div class="method-description">
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
<div class="method-source-code" id="new-source">
|
|
287
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor/environment.rb, line 390</span>
|
|
288
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">scope</span> = <span class="ruby-value">:all</span>
|
|
289
|
+
<span class="ruby-ivar">@methods</span>, <span class="ruby-ivar">@statuses</span>, <span class="ruby-ivar">@paths</span> = [], [], []
|
|
290
|
+
|
|
291
|
+
<span class="ruby-identifier">trackings</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tracking</span><span class="ruby-operator">|</span>
|
|
292
|
+
<span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span>(<span class="ruby-identifier">tracking</span>[<span class="ruby-value">:benchmark</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">scope</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">scope</span> <span class="ruby-operator">==</span> <span class="ruby-value">:all</span>)
|
|
293
|
+
|
|
294
|
+
<span class="ruby-comment"># Add appearing attributes</span>
|
|
295
|
+
<span class="ruby-ivar">@methods</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">tracking</span>[<span class="ruby-value">:method</span>]
|
|
296
|
+
<span class="ruby-ivar">@statuses</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">tracking</span>[<span class="ruby-value">:status</span>]
|
|
297
|
+
<span class="ruby-ivar">@paths</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">tracking</span>[<span class="ruby-value">:path</span>]
|
|
298
|
+
<span class="ruby-keyword">end</span>
|
|
299
|
+
|
|
300
|
+
<span class="ruby-comment"># Unique attributes</span>
|
|
301
|
+
<span class="ruby-ivar">@methods</span>.<span class="ruby-identifier">uniq!</span>
|
|
302
|
+
<span class="ruby-ivar">@statuses</span>.<span class="ruby-identifier">uniq!</span>
|
|
303
|
+
<span class="ruby-ivar">@paths</span>.<span class="ruby-identifier">uniq!</span>
|
|
304
|
+
<span class="ruby-keyword">end</span></pre>
|
|
305
|
+
</div><!-- new-source -->
|
|
306
|
+
|
|
307
|
+
</div>
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
</div><!-- new-method -->
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
</section><!-- public-class-method-details -->
|
|
316
|
+
|
|
317
|
+
</section><!-- 5Buntitled-5D -->
|
|
318
|
+
|
|
319
|
+
</div><!-- documentation -->
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
<footer id="validator-badges">
|
|
323
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
324
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
|
325
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
326
|
+
</footer>
|
|
327
|
+
|
|
@@ -0,0 +1,275 @@
|
|
|
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::Environment::AttributeCluster - 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/environment.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
|
+
<!-- Included Modules -->
|
|
67
|
+
<nav id="includes-section" class="section">
|
|
68
|
+
<h3 class="section-header">Included Modules</h3>
|
|
69
|
+
|
|
70
|
+
<ul class="link-list">
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<li><a class="include" href="../Environment.html">BigBench::PostProcessor::Environment</a>
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
</ul>
|
|
77
|
+
</nav>
|
|
78
|
+
|
|
79
|
+
<!-- Method Quickref -->
|
|
80
|
+
<nav id="method-list-section" class="section">
|
|
81
|
+
<h3 class="section-header">Methods</h3>
|
|
82
|
+
|
|
83
|
+
<ul class="link-list">
|
|
84
|
+
|
|
85
|
+
<li><a href="#method-c-new">::new</a>
|
|
86
|
+
|
|
87
|
+
</ul>
|
|
88
|
+
</nav>
|
|
89
|
+
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div id="project-metadata">
|
|
93
|
+
<nav id="fileindex-section" class="section project-section">
|
|
94
|
+
<h3 class="section-header">Pages</h3>
|
|
95
|
+
|
|
96
|
+
<ul>
|
|
97
|
+
|
|
98
|
+
<li class="file"><a href="../../../Gemfile.html">Gemfile</a>
|
|
99
|
+
|
|
100
|
+
<li class="file"><a href="../../../README_rdoc.html">README</a>
|
|
101
|
+
|
|
102
|
+
<li class="file"><a href="../../../Rakefile.html">Rakefile</a>
|
|
103
|
+
|
|
104
|
+
<li class="file"><a href="../../../lib/bigbench/help/executor_txt.html">executor</a>
|
|
105
|
+
|
|
106
|
+
</ul>
|
|
107
|
+
</nav>
|
|
108
|
+
|
|
109
|
+
<nav id="classindex-section" class="section project-section">
|
|
110
|
+
<h3 class="section-header">Class and Module Index</h3>
|
|
111
|
+
|
|
112
|
+
<ul class="link-list">
|
|
113
|
+
|
|
114
|
+
<li><a href="../../../BigBench.html">BigBench</a>
|
|
115
|
+
|
|
116
|
+
<li><a href="../../../BigBench/Benchmark.html">BigBench::Benchmark</a>
|
|
117
|
+
|
|
118
|
+
<li><a href="../../../BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
|
119
|
+
|
|
120
|
+
<li><a href="../../../BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
|
121
|
+
|
|
122
|
+
<li><a href="../../../BigBench/Bot.html">BigBench::Bot</a>
|
|
123
|
+
|
|
124
|
+
<li><a href="../../../BigBench/Configuration.html">BigBench::Configuration</a>
|
|
125
|
+
|
|
126
|
+
<li><a href="../../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
|
127
|
+
|
|
128
|
+
<li><a href="../../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
|
129
|
+
|
|
130
|
+
<li><a href="../../../BigBench/Executor.html">BigBench::Executor</a>
|
|
131
|
+
|
|
132
|
+
<li><a href="../../../BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
|
|
133
|
+
|
|
134
|
+
<li><a href="../../../BigBench/Fragment.html">BigBench::Fragment</a>
|
|
135
|
+
|
|
136
|
+
<li><a href="../../../BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
|
|
137
|
+
|
|
138
|
+
<li><a href="../../../BigBench/Output.html">BigBench::Output</a>
|
|
139
|
+
|
|
140
|
+
<li><a href="../../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
|
141
|
+
|
|
142
|
+
<li><a href="../../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
|
143
|
+
|
|
144
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Appearings.html">BigBench::PostProcessor::Environment::Appearings</a>
|
|
145
|
+
|
|
146
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/AttributeCluster.html">BigBench::PostProcessor::Environment::AttributeCluster</a>
|
|
147
|
+
|
|
148
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/BenchmarkNotFound.html">BigBench::PostProcessor::Environment::BenchmarkNotFound</a>
|
|
149
|
+
|
|
150
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Cluster.html">BigBench::PostProcessor::Environment::Cluster</a>
|
|
151
|
+
|
|
152
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/NormalDistribution.html">BigBench::PostProcessor::Environment::NormalDistribution</a>
|
|
153
|
+
|
|
154
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/PolynomialRegression.html">BigBench::PostProcessor::Environment::PolynomialRegression</a>
|
|
155
|
+
|
|
156
|
+
<li><a href="../../../BigBench/PostProcessor/Environment/Statistics.html">BigBench::PostProcessor::Environment::Statistics</a>
|
|
157
|
+
|
|
158
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs.html">BigBench::PostProcessor::Graphs</a>
|
|
159
|
+
|
|
160
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs/LineGraph.html">BigBench::PostProcessor::Graphs::LineGraph</a>
|
|
161
|
+
|
|
162
|
+
<li><a href="../../../BigBench/PostProcessor/Graphs/PieGraph.html">BigBench::PostProcessor::Graphs::PieGraph</a>
|
|
163
|
+
|
|
164
|
+
<li><a href="../../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
|
165
|
+
|
|
166
|
+
<li><a href="../../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
|
167
|
+
|
|
168
|
+
<li><a href="../../../BigBench/PostProcessor/Statistics.html">BigBench::PostProcessor::Statistics</a>
|
|
169
|
+
|
|
170
|
+
<li><a href="../../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
|
171
|
+
|
|
172
|
+
<li><a href="../../../BigBench/Runner.html">BigBench::Runner</a>
|
|
173
|
+
|
|
174
|
+
<li><a href="../../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
|
175
|
+
|
|
176
|
+
<li><a href="../../../BigBench/Store.html">BigBench::Store</a>
|
|
177
|
+
|
|
178
|
+
<li><a href="../../../BigBench/Tracker.html">BigBench::Tracker</a>
|
|
179
|
+
|
|
180
|
+
<li><a href="../../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
|
181
|
+
|
|
182
|
+
<li><a href="../../../Array.html">Array</a>
|
|
183
|
+
|
|
184
|
+
<li><a href="../../../EventMachineLoop.html">EventMachineLoop</a>
|
|
185
|
+
|
|
186
|
+
<li><a href="../../../Float.html">Float</a>
|
|
187
|
+
|
|
188
|
+
<li><a href="../../../Helpers.html">Helpers</a>
|
|
189
|
+
|
|
190
|
+
<li><a href="../../../Object.html">Object</a>
|
|
191
|
+
|
|
192
|
+
</ul>
|
|
193
|
+
</nav>
|
|
194
|
+
|
|
195
|
+
</div>
|
|
196
|
+
</nav>
|
|
197
|
+
|
|
198
|
+
<div id="documentation">
|
|
199
|
+
<h1 class="class">class BigBench::PostProcessor::Environment::AttributeCluster</h1>
|
|
200
|
+
|
|
201
|
+
<div id="description" class="description">
|
|
202
|
+
|
|
203
|
+
<p>Creates attribute clusters for all available attributes</p>
|
|
204
|
+
|
|
205
|
+
</div><!-- description -->
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
<!-- Methods -->
|
|
220
|
+
|
|
221
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
|
222
|
+
<h3 class="section-header">Public Class Methods</h3>
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
<div id="method-c-new" class="method-detail ">
|
|
226
|
+
|
|
227
|
+
<div class="method-heading">
|
|
228
|
+
<span class="method-name">new</span><span
|
|
229
|
+
class="method-args">(klass, options = {})</span>
|
|
230
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<div class="method-description">
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
<div class="method-source-code" id="new-source">
|
|
241
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor/environment.rb, line 480</span>
|
|
242
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">klass</span>, <span class="ruby-identifier">options</span> = {}
|
|
243
|
+
<span class="ruby-ivar">@options</span> = { <span class="ruby-value">:degree</span> =<span class="ruby-operator">></span> <span class="ruby-value">0</span>, <span class="ruby-value">:timebase</span> =<span class="ruby-operator">></span> <span class="ruby-value">1</span>.<span class="ruby-identifier">second</span>, <span class="ruby-value">:scope</span> =<span class="ruby-operator">></span> <span class="ruby-value">:all</span> }.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>)
|
|
244
|
+
<span class="ruby-ivar">@degree</span>, <span class="ruby-ivar">@klass</span>, <span class="ruby-ivar">@cluster</span> = <span class="ruby-ivar">@options</span>[<span class="ruby-value">:degree</span>], <span class="ruby-identifier">klass</span>, <span class="ruby-identifier">cluster</span>(<span class="ruby-ivar">@options</span>[<span class="ruby-value">:timebase</span>], <span class="ruby-ivar">@options</span>[<span class="ruby-value">:scope</span>])
|
|
245
|
+
|
|
246
|
+
<span class="ruby-identifier">cluster_attribute</span> <span class="ruby-value">:durations</span>
|
|
247
|
+
<span class="ruby-identifier">cluster_attribute</span> <span class="ruby-value">:requests</span>
|
|
248
|
+
<span class="ruby-identifier">cluster_attribute_with_options</span> <span class="ruby-value">:methods</span>
|
|
249
|
+
<span class="ruby-identifier">cluster_attribute_with_options</span> <span class="ruby-value">:statuses</span>
|
|
250
|
+
<span class="ruby-identifier">cluster_attribute_with_options</span> <span class="ruby-value">:paths</span>
|
|
251
|
+
<span class="ruby-identifier">cluster_attribute_with_options</span> <span class="ruby-value">:benchmarks</span>
|
|
252
|
+
<span class="ruby-keyword">end</span></pre>
|
|
253
|
+
</div><!-- new-source -->
|
|
254
|
+
|
|
255
|
+
</div>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
</div><!-- new-method -->
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
</section><!-- public-class-method-details -->
|
|
264
|
+
|
|
265
|
+
</section><!-- 5Buntitled-5D -->
|
|
266
|
+
|
|
267
|
+
</div><!-- documentation -->
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<footer id="validator-badges">
|
|
271
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
272
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
|
273
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
274
|
+
</footer>
|
|
275
|
+
|