bigbench 0.0.2 → 0.0.3
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 +103 -2
- data/bigbench.gemspec +5 -2
- data/doc/BigBench.html +167 -4
- data/doc/BigBench/Benchmark.html +12 -0
- data/doc/BigBench/Benchmark/Benchmark.html +12 -0
- data/doc/BigBench/Benchmark/Looper.html +12 -0
- data/doc/BigBench/Bot.html +12 -0
- data/doc/BigBench/Configuration.html +12 -0
- data/doc/BigBench/Configuration/Config.html +12 -0
- data/doc/BigBench/Configuration/InvalidOptions.html +12 -0
- data/doc/BigBench/Executor.html +12 -0
- data/doc/BigBench/Executor/InvalidCommand.html +12 -0
- data/doc/BigBench/Fragment.html +12 -0
- data/doc/BigBench/Fragment/Fragment.html +13 -1
- data/doc/BigBench/Output.html +12 -0
- data/doc/BigBench/PostProcessor.html +378 -0
- data/doc/BigBench/PostProcessor/Environment.html +243 -0
- data/doc/BigBench/PostProcessor/InvalidProcessor.html +231 -0
- data/doc/BigBench/PostProcessor/Processor.html +306 -0
- data/doc/BigBench/PostProcessor/Statistics.html +225 -0
- data/doc/BigBench/PostProcessor/Test.html +223 -0
- data/doc/BigBench/Runner.html +12 -0
- data/doc/BigBench/Runner/NoBenchmarksDefined.html +12 -0
- data/doc/BigBench/Store.html +12 -0
- data/doc/BigBench/Tracker.html +12 -0
- data/doc/BigBench/Tracker/Tracker.html +12 -0
- data/doc/EventMachineLoop.html +12 -0
- data/doc/Float.html +12 -0
- data/doc/Gemfile.html +12 -0
- data/doc/Helpers.html +12 -0
- data/doc/Object.html +12 -0
- data/doc/Rakefile.html +23 -9
- data/doc/created.rid +40 -36
- data/doc/index.html +12 -0
- data/doc/js/search_index.js +1 -1
- data/doc/lib/bigbench/help/executor_txt.html +12 -0
- data/doc/table_of_contents.html +62 -13
- data/lib/bigbench.rb +6 -3
- data/lib/bigbench/benchmark.rb +1 -2
- data/lib/bigbench/executor.rb +2 -0
- data/lib/bigbench/fragment.rb +1 -1
- data/lib/bigbench/post_processor.rb +206 -0
- data/lib/bigbench/post_processor/statistics.rb +123 -0
- data/lib/bigbench/version.rb +1 -1
- data/spec/helpers.rb +1 -0
- data/spec/post_processor_spec.rb +71 -0
- data/spec/post_processors/statistics_spec.rb +14 -0
- data/spec/tests/result.ljson +43 -0
- metadata +147 -30
@@ -0,0 +1,306 @@
|
|
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::Processor - 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.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
|
+
|
77
|
+
<li><span class="include">ActionView::Helpers</span>
|
78
|
+
|
79
|
+
|
80
|
+
</ul>
|
81
|
+
</nav>
|
82
|
+
|
83
|
+
<!-- Method Quickref -->
|
84
|
+
<nav id="method-list-section" class="section">
|
85
|
+
<h3 class="section-header">Methods</h3>
|
86
|
+
|
87
|
+
<ul class="link-list">
|
88
|
+
|
89
|
+
<li><a href="#method-c-new">::new</a>
|
90
|
+
|
91
|
+
<li><a href="#method-i-run-21">#run!</a>
|
92
|
+
|
93
|
+
</ul>
|
94
|
+
</nav>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div id="project-metadata">
|
99
|
+
<nav id="fileindex-section" class="section project-section">
|
100
|
+
<h3 class="section-header">Pages</h3>
|
101
|
+
|
102
|
+
<ul>
|
103
|
+
|
104
|
+
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
105
|
+
|
106
|
+
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
107
|
+
|
108
|
+
<li class="file"><a href="../../lib/bigbench/help/executor_txt.html">executor</a>
|
109
|
+
|
110
|
+
</ul>
|
111
|
+
</nav>
|
112
|
+
|
113
|
+
<nav id="classindex-section" class="section project-section">
|
114
|
+
<h3 class="section-header">Class and Module Index</h3>
|
115
|
+
|
116
|
+
<ul class="link-list">
|
117
|
+
|
118
|
+
<li><a href="../../BigBench.html">BigBench</a>
|
119
|
+
|
120
|
+
<li><a href="../../BigBench/Benchmark.html">BigBench::Benchmark</a>
|
121
|
+
|
122
|
+
<li><a href="../../BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
123
|
+
|
124
|
+
<li><a href="../../BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
125
|
+
|
126
|
+
<li><a href="../../BigBench/Bot.html">BigBench::Bot</a>
|
127
|
+
|
128
|
+
<li><a href="../../BigBench/Configuration.html">BigBench::Configuration</a>
|
129
|
+
|
130
|
+
<li><a href="../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
131
|
+
|
132
|
+
<li><a href="../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
133
|
+
|
134
|
+
<li><a href="../../BigBench/Executor.html">BigBench::Executor</a>
|
135
|
+
|
136
|
+
<li><a href="../../BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
|
137
|
+
|
138
|
+
<li><a href="../../BigBench/Fragment.html">BigBench::Fragment</a>
|
139
|
+
|
140
|
+
<li><a href="../../BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
|
141
|
+
|
142
|
+
<li><a href="../../BigBench/Output.html">BigBench::Output</a>
|
143
|
+
|
144
|
+
<li><a href="../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
145
|
+
|
146
|
+
<li><a href="../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
147
|
+
|
148
|
+
<li><a href="../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
149
|
+
|
150
|
+
<li><a href="../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
151
|
+
|
152
|
+
<li><a href="../../BigBench/PostProcessor/Statistics.html">BigBench::PostProcessor::Statistics</a>
|
153
|
+
|
154
|
+
<li><a href="../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
155
|
+
|
156
|
+
<li><a href="../../BigBench/Runner.html">BigBench::Runner</a>
|
157
|
+
|
158
|
+
<li><a href="../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
159
|
+
|
160
|
+
<li><a href="../../BigBench/Store.html">BigBench::Store</a>
|
161
|
+
|
162
|
+
<li><a href="../../BigBench/Tracker.html">BigBench::Tracker</a>
|
163
|
+
|
164
|
+
<li><a href="../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
165
|
+
|
166
|
+
<li><a href="../../EventMachineLoop.html">EventMachineLoop</a>
|
167
|
+
|
168
|
+
<li><a href="../../Float.html">Float</a>
|
169
|
+
|
170
|
+
<li><a href="../../Helpers.html">Helpers</a>
|
171
|
+
|
172
|
+
<li><a href="../../Object.html">Object</a>
|
173
|
+
|
174
|
+
</ul>
|
175
|
+
</nav>
|
176
|
+
|
177
|
+
</div>
|
178
|
+
</nav>
|
179
|
+
|
180
|
+
<div id="documentation">
|
181
|
+
<h1 class="class">class BigBench::PostProcessor::Processor</h1>
|
182
|
+
|
183
|
+
<div id="description" class="description">
|
184
|
+
|
185
|
+
<p>A single processor, be it a block or a module is always mapped into this
|
186
|
+
class</p>
|
187
|
+
|
188
|
+
</div><!-- description -->
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
<!-- Attributes -->
|
202
|
+
<section id="attribute-method-details" class="method-section section">
|
203
|
+
<h3 class="section-header">Attributes</h3>
|
204
|
+
|
205
|
+
|
206
|
+
<div id="attribute-i-proc" class="method-detail">
|
207
|
+
<div class="method-heading attribute-method-heading">
|
208
|
+
<span class="method-name">proc</span><span
|
209
|
+
class="attribute-access-type">[RW]</span>
|
210
|
+
</div>
|
211
|
+
|
212
|
+
<div class="method-description">
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
</div>
|
217
|
+
</div>
|
218
|
+
|
219
|
+
</section><!-- attribute-method-details -->
|
220
|
+
|
221
|
+
|
222
|
+
<!-- Methods -->
|
223
|
+
|
224
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
225
|
+
<h3 class="section-header">Public Class Methods</h3>
|
226
|
+
|
227
|
+
|
228
|
+
<div id="method-c-new" class="method-detail ">
|
229
|
+
|
230
|
+
<div class="method-heading">
|
231
|
+
<span class="method-name">new</span><span
|
232
|
+
class="method-args">(processor = nil, &block)</span>
|
233
|
+
<span class="method-click-advice">click to toggle source</span>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
|
237
|
+
<div class="method-description">
|
238
|
+
|
239
|
+
<p>Creates the processor with the block or a processor</p>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
<div class="method-source-code" id="new-source">
|
244
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line 66</span>
|
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>)
|
246
|
+
<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>
|
247
|
+
<span class="ruby-keyword">end</span></pre>
|
248
|
+
</div><!-- new-source -->
|
249
|
+
|
250
|
+
</div>
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
</div><!-- new-method -->
|
256
|
+
|
257
|
+
|
258
|
+
</section><!-- public-class-method-details -->
|
259
|
+
|
260
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
261
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
262
|
+
|
263
|
+
|
264
|
+
<div id="method-i-run-21" class="method-detail ">
|
265
|
+
|
266
|
+
<div class="method-heading">
|
267
|
+
<span class="method-name">run!</span><span
|
268
|
+
class="method-args">()</span>
|
269
|
+
<span class="method-click-advice">click to toggle source</span>
|
270
|
+
</div>
|
271
|
+
|
272
|
+
|
273
|
+
<div class="method-description">
|
274
|
+
|
275
|
+
<p>Run the block of code or the run! method of the processor</p>
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
<div class="method-source-code" id="run-21-source">
|
280
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor.rb, line 71</span>
|
281
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">run!</span>
|
282
|
+
<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">@proc</span>)
|
283
|
+
<span class="ruby-keyword">end</span></pre>
|
284
|
+
</div><!-- run-21-source -->
|
285
|
+
|
286
|
+
</div>
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</div><!-- run-21-method -->
|
292
|
+
|
293
|
+
|
294
|
+
</section><!-- public-instance-method-details -->
|
295
|
+
|
296
|
+
</section><!-- 5Buntitled-5D -->
|
297
|
+
|
298
|
+
</div><!-- documentation -->
|
299
|
+
|
300
|
+
|
301
|
+
<footer id="validator-badges">
|
302
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
303
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
304
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
305
|
+
</footer>
|
306
|
+
|
@@ -0,0 +1,225 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>module BigBench::PostProcessor::Statistics - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../../";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="module">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../../index.html">Home</a>
|
28
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/bigbench/post_processor/statistics.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<!-- Method Quickref -->
|
62
|
+
<nav id="method-list-section" class="section">
|
63
|
+
<h3 class="section-header">Methods</h3>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="#method-c-run-21">::run!</a>
|
68
|
+
|
69
|
+
</ul>
|
70
|
+
</nav>
|
71
|
+
|
72
|
+
</div>
|
73
|
+
|
74
|
+
<div id="project-metadata">
|
75
|
+
<nav id="fileindex-section" class="section project-section">
|
76
|
+
<h3 class="section-header">Pages</h3>
|
77
|
+
|
78
|
+
<ul>
|
79
|
+
|
80
|
+
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
81
|
+
|
82
|
+
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
83
|
+
|
84
|
+
<li class="file"><a href="../../lib/bigbench/help/executor_txt.html">executor</a>
|
85
|
+
|
86
|
+
</ul>
|
87
|
+
</nav>
|
88
|
+
|
89
|
+
<nav id="classindex-section" class="section project-section">
|
90
|
+
<h3 class="section-header">Class and Module Index</h3>
|
91
|
+
|
92
|
+
<ul class="link-list">
|
93
|
+
|
94
|
+
<li><a href="../../BigBench.html">BigBench</a>
|
95
|
+
|
96
|
+
<li><a href="../../BigBench/Benchmark.html">BigBench::Benchmark</a>
|
97
|
+
|
98
|
+
<li><a href="../../BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
|
99
|
+
|
100
|
+
<li><a href="../../BigBench/Benchmark/Looper.html">BigBench::Benchmark::Looper</a>
|
101
|
+
|
102
|
+
<li><a href="../../BigBench/Bot.html">BigBench::Bot</a>
|
103
|
+
|
104
|
+
<li><a href="../../BigBench/Configuration.html">BigBench::Configuration</a>
|
105
|
+
|
106
|
+
<li><a href="../../BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
|
107
|
+
|
108
|
+
<li><a href="../../BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
|
109
|
+
|
110
|
+
<li><a href="../../BigBench/Executor.html">BigBench::Executor</a>
|
111
|
+
|
112
|
+
<li><a href="../../BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
|
113
|
+
|
114
|
+
<li><a href="../../BigBench/Fragment.html">BigBench::Fragment</a>
|
115
|
+
|
116
|
+
<li><a href="../../BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
|
117
|
+
|
118
|
+
<li><a href="../../BigBench/Output.html">BigBench::Output</a>
|
119
|
+
|
120
|
+
<li><a href="../../BigBench/PostProcessor.html">BigBench::PostProcessor</a>
|
121
|
+
|
122
|
+
<li><a href="../../BigBench/PostProcessor/Environment.html">BigBench::PostProcessor::Environment</a>
|
123
|
+
|
124
|
+
<li><a href="../../BigBench/PostProcessor/InvalidProcessor.html">BigBench::PostProcessor::InvalidProcessor</a>
|
125
|
+
|
126
|
+
<li><a href="../../BigBench/PostProcessor/Processor.html">BigBench::PostProcessor::Processor</a>
|
127
|
+
|
128
|
+
<li><a href="../../BigBench/PostProcessor/Statistics.html">BigBench::PostProcessor::Statistics</a>
|
129
|
+
|
130
|
+
<li><a href="../../BigBench/PostProcessor/Test.html">BigBench::PostProcessor::Test</a>
|
131
|
+
|
132
|
+
<li><a href="../../BigBench/Runner.html">BigBench::Runner</a>
|
133
|
+
|
134
|
+
<li><a href="../../BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
|
135
|
+
|
136
|
+
<li><a href="../../BigBench/Store.html">BigBench::Store</a>
|
137
|
+
|
138
|
+
<li><a href="../../BigBench/Tracker.html">BigBench::Tracker</a>
|
139
|
+
|
140
|
+
<li><a href="../../BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
|
141
|
+
|
142
|
+
<li><a href="../../EventMachineLoop.html">EventMachineLoop</a>
|
143
|
+
|
144
|
+
<li><a href="../../Float.html">Float</a>
|
145
|
+
|
146
|
+
<li><a href="../../Helpers.html">Helpers</a>
|
147
|
+
|
148
|
+
<li><a href="../../Object.html">Object</a>
|
149
|
+
|
150
|
+
</ul>
|
151
|
+
</nav>
|
152
|
+
|
153
|
+
</div>
|
154
|
+
</nav>
|
155
|
+
|
156
|
+
<div id="documentation">
|
157
|
+
<h1 class="module">module BigBench::PostProcessor::Statistics</h1>
|
158
|
+
|
159
|
+
<div id="description" class="description">
|
160
|
+
|
161
|
+
</div><!-- description -->
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<!-- Methods -->
|
176
|
+
|
177
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
178
|
+
<h3 class="section-header">Public Class Methods</h3>
|
179
|
+
|
180
|
+
|
181
|
+
<div id="method-c-run-21" class="method-detail ">
|
182
|
+
|
183
|
+
<div class="method-heading">
|
184
|
+
<span class="method-name">run!</span><span
|
185
|
+
class="method-args">()</span>
|
186
|
+
<span class="method-click-advice">click to toggle source</span>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
<div class="method-description">
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
<div class="method-source-code" id="run-21-source">
|
197
|
+
<pre><span class="ruby-comment"># File lib/bigbench/post_processor/statistics.rb, line 5</span>
|
198
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">run!</span>
|
199
|
+
<span class="ruby-identifier">calculate</span>
|
200
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">"\nBigBench Statistics"</span>
|
201
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-constant">Hirb</span><span class="ruby-operator">::</span><span class="ruby-constant">Helpers</span><span class="ruby-operator">::</span><span class="ruby-constant">Table</span>.<span class="ruby-identifier">render</span> <span class="ruby-identifier">results</span>, <span class="ruby-value">:fields</span> =<span class="ruby-operator">></span> [<span class="ruby-value">:name</span>, <span class="ruby-value">:value</span>, <span class="ruby-value">:percent</span>], <span class="ruby-value">:header_filter</span> =<span class="ruby-operator">></span> <span class="ruby-value">:capitalize</span>
|
202
|
+
<span class="ruby-keyword">end</span></pre>
|
203
|
+
</div><!-- run-21-source -->
|
204
|
+
|
205
|
+
</div>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
</div><!-- run-21-method -->
|
211
|
+
|
212
|
+
|
213
|
+
</section><!-- public-class-method-details -->
|
214
|
+
|
215
|
+
</section><!-- 5Buntitled-5D -->
|
216
|
+
|
217
|
+
</div><!-- documentation -->
|
218
|
+
|
219
|
+
|
220
|
+
<footer id="validator-badges">
|
221
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
222
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
223
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
224
|
+
</footer>
|
225
|
+
|