tsung_stats_server 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/LICENSE +9 -0
  2. data/README +11 -0
  3. data/Rakefile +10 -0
  4. data/bin/tsung_stats_server +28 -0
  5. data/doc/README.html +46 -0
  6. data/doc/TSSApp.html +793 -0
  7. data/doc/all-files.html +23 -0
  8. data/doc/all-methods.html +42 -0
  9. data/doc/all-namespaces.html +24 -0
  10. data/doc/api/apple-touch-icon.png +0 -0
  11. data/doc/api/classes/Object.html +117 -0
  12. data/doc/api/classes/TSSApp.html +147 -0
  13. data/doc/api/created.rid +1 -0
  14. data/doc/api/css/main.css +263 -0
  15. data/doc/api/css/panel.css +383 -0
  16. data/doc/api/css/reset.css +53 -0
  17. data/doc/api/favicon.ico +0 -0
  18. data/doc/api/files/LICENSE.html +84 -0
  19. data/doc/api/files/README.html +77 -0
  20. data/doc/api/files/Rakefile.html +72 -0
  21. data/doc/api/files/lib/tsung_stats_server_rb.html +61 -0
  22. data/doc/api/files/lib/webapp_rb.html +74 -0
  23. data/doc/api/i/arrows.png +0 -0
  24. data/doc/api/i/results_bg.png +0 -0
  25. data/doc/api/i/tree_bg.png +0 -0
  26. data/doc/api/index.html +14 -0
  27. data/doc/api/js/jquery-1.3.2.min.js +19 -0
  28. data/doc/api/js/jquery-effect.js +593 -0
  29. data/doc/api/js/main.js +22 -0
  30. data/doc/api/js/searchdoc.js +628 -0
  31. data/doc/api/panel/index.html +71 -0
  32. data/doc/api/panel/search_index.js +1 -0
  33. data/doc/api/panel/tree.js +1 -0
  34. data/doc/app.js +18 -0
  35. data/doc/custom.css +1 -0
  36. data/doc/history.erb +16 -0
  37. data/doc/index.erb +6 -0
  38. data/doc/index.html +19 -0
  39. data/doc/index.xhtml +221 -0
  40. data/doc/intro.erb +76 -0
  41. data/doc/jquery.js +11 -0
  42. data/doc/setup.erb +33 -0
  43. data/doc/style.css +81 -0
  44. data/doc/syntax_highlight.css +24 -0
  45. data/doc/theory.erb +3 -0
  46. data/doc/top-level-namespace.html +25 -0
  47. data/doc/usage.erb +23 -0
  48. data/lib/tsung_stats_server.rb +15 -0
  49. data/lib/webapp.rb +134 -0
  50. data/test/tsung_stats_server.rb +13 -0
  51. metadata +153 -0
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
7
+ <link rel="stylesheet" href="custom.css" type="text/css" charset="utf-8" />
8
+ <link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
9
+
10
+ <title>All Files</title>
11
+ <base target="main" />
12
+ </head>
13
+ <body>
14
+ <div id="nav" class="files">
15
+ <h1>Files List</h1>
16
+ <ul>
17
+
18
+ <li nowrap><a href="README.html">README</a></li>
19
+
20
+ </ul>
21
+ </div>
22
+ </body>
23
+ </html>
@@ -0,0 +1,42 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
7
+ <link rel="stylesheet" href="custom.css" type="text/css" charset="utf-8" />
8
+ <link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
9
+
10
+ <title>All Methods</title>
11
+ <base target="main" />
12
+ </head>
13
+ <body>
14
+ <div id="nav" class="methods">
15
+ <h1>Method List</h1>
16
+ <ul>
17
+
18
+ <li nowrap="nowrap" class="">
19
+ <a href="TSSApp.html#list_dirs-instance_method" title="#list_dirs">#list_dirs</a>
20
+
21
+ <em>(class TSSApp)</em>
22
+
23
+ </li>
24
+
25
+ <li nowrap="nowrap" class="">
26
+ <a href="TSSApp.html#run_stats-instance_method" title="#run_stats">#run_stats</a>
27
+
28
+ <em>(class TSSApp)</em>
29
+
30
+ </li>
31
+
32
+ <li nowrap="nowrap" class="">
33
+ <a href="TSSApp.html#zip-instance_method" title="#zip">#zip</a>
34
+
35
+ <em>(class TSSApp)</em>
36
+
37
+ </li>
38
+
39
+ </ul>
40
+ </div>
41
+ </body>
42
+ </html>
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
7
+ <link rel="stylesheet" href="custom.css" type="text/css" charset="utf-8" />
8
+ <link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
9
+
10
+ <title>All Modules / Classes</title>
11
+ <base target="main" />
12
+ </head>
13
+ <body>
14
+ <div id="nav" class="namespaces">
15
+ <h1>All Modules / Classes</h1>
16
+ <ul>
17
+
18
+
19
+ <li class=""><a href="TSSApp.html" title="TSSApp">TSSApp</a> <em>(class)</em></li>
20
+
21
+ </ul>
22
+ </div>
23
+ </body>
24
+ </html>
@@ -0,0 +1,117 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <title>Object</title>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
+ <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
+ <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
+ <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
+ <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
+ </head>
14
+
15
+ <body>
16
+ <div class="banner">
17
+ <h1>
18
+ <span class="type">Class</span>
19
+ Object
20
+
21
+ <span class="parent">&lt;
22
+
23
+ <a href="Object.html">Object</a>
24
+
25
+ </span>
26
+
27
+ </h1>
28
+ <ul class="files">
29
+
30
+ </ul>
31
+ </div>
32
+ <div id="bodyContent">
33
+ <div id="content">
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ <div class="sectiontitle">Methods</div>
44
+ <dl class="methods">
45
+
46
+ <dt>#</dt>
47
+ <dd>
48
+ <ul>
49
+
50
+ <li><a href="#M000001">/:dir/report.html</a></li>
51
+
52
+ </ul>
53
+ </dd>
54
+
55
+ </dl>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+ <div class="sectiontitle">Instance Public methods</div>
70
+
71
+ <div class="method">
72
+ <div class="title" id="M000001">
73
+
74
+ <a name="M000001"></a><b>/:dir/report.html</b>
75
+
76
+ </div>
77
+
78
+ <div class="description">
79
+ <p>
80
+ Shows a report. If the report is not generated already, it will be.
81
+ </p>
82
+ <p>
83
+ @url_param dir The date on which the measurement was taken. @get force If
84
+ present and set to any value,
85
+ </p>
86
+ <pre>
87
+ regeneration of the report is forced
88
+ </pre>
89
+ <p>
90
+ @output_types [text/html] @output_languages [en-US]
91
+ </p>
92
+
93
+ </div>
94
+
95
+
96
+
97
+
98
+ <div class="sourcecode">
99
+ <p class="source-link">
100
+ Source: <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show</a>
101
+
102
+ | <a href="http://github.com/skade/tsung-stats-server/blob/e4a71f595ce033233b871f92be393ef21b34f533/lib/webapp.rb#L53" target="_blank" class="github_url">on GitHub</a>
103
+
104
+ </p>
105
+ <div id="M000001_source" class="dyn-source">
106
+ <pre><span class="ruby-comment cmt"># File lib/webapp.rb, line 53</span>
107
+ <span class="ruby-identifier">get</span> <span class="ruby-value str">'/:dir/report.html'</span> <span class="ruby-keyword kw">do</span>
108
+ </pre>
109
+ </div>
110
+ </div>
111
+
112
+ </div>
113
+
114
+ </div>
115
+ </div>
116
+ </body>
117
+ </html>
@@ -0,0 +1,147 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <title>TSSApp</title>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
+ <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
+ <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
+ <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
+ <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
+ </head>
14
+
15
+ <body>
16
+ <div class="banner">
17
+ <h1>
18
+ <span class="type">Class</span>
19
+ TSSApp
20
+
21
+ <span class="parent">&lt;
22
+
23
+ Sinatra::Application
24
+
25
+ </span>
26
+
27
+ </h1>
28
+ <ul class="files">
29
+
30
+ <li><a href="../files/lib/webapp_rb.html">lib/webapp.rb</a></li>
31
+
32
+ </ul>
33
+ </div>
34
+ <div id="bodyContent">
35
+ <div id="content">
36
+
37
+ <div class="description">
38
+ <p>
39
+ The <a href="TSSApp.html">TSSApp</a> class serves log files generated by
40
+ the Tsung stress testing tool.
41
+ </p>
42
+ <p>
43
+ @representation xml
44
+ </p>
45
+ <pre>
46
+ &lt;?xml encoding=&quot;utf-8&quot;&gt;
47
+ &lt;report&gt;
48
+ bla
49
+ &lt;/report&gt;
50
+ </pre>
51
+ <p>
52
+ @representation json
53
+ </p>
54
+ <pre>
55
+ { &quot;report&quot;: &quot;bla&quot; }
56
+ </pre>
57
+
58
+ </div>
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+ <div class="sectiontitle">Methods</div>
69
+ <dl class="methods">
70
+
71
+ <dt>#</dt>
72
+ <dd>
73
+ <ul>
74
+
75
+ <li><a href="#M000000">/</a></li>
76
+
77
+ </ul>
78
+ </dd>
79
+
80
+ </dl>
81
+
82
+
83
+
84
+ <div class="sectiontitle">Included Modules</div>
85
+ <ul>
86
+
87
+ <li>
88
+
89
+ <span>Wilson::Web</span>
90
+
91
+ START:includes
92
+ </li>
93
+
94
+ </ul>
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ <div class="sectiontitle">Instance Public methods</div>
107
+
108
+ <div class="method">
109
+ <div class="title" id="M000000">
110
+
111
+ <a name="M000000"></a><b>/</b>
112
+
113
+ </div>
114
+
115
+ <div class="description">
116
+ <p>
117
+ Shows the list of all logs present on the machine.
118
+ </p>
119
+ <p>
120
+ @output_types [text/html] @output_languages [en-US]
121
+ </p>
122
+
123
+ </div>
124
+
125
+
126
+
127
+
128
+ <div class="sourcecode">
129
+ <p class="source-link">
130
+ Source: <a href="javascript:toggleSource('M000000_source')" id="l_M000000_source">show</a>
131
+
132
+ | <a href="http://github.com/skade/tsung-stats-server/blob/e4a71f595ce033233b871f92be393ef21b34f533/lib/webapp.rb#L38" target="_blank" class="github_url">on GitHub</a>
133
+
134
+ </p>
135
+ <div id="M000000_source" class="dyn-source">
136
+ <pre><span class="ruby-comment cmt"># File lib/webapp.rb, line 38</span>
137
+ <span class="ruby-identifier">get</span> <span class="ruby-value str">'/'</span> <span class="ruby-keyword kw">do</span>
138
+ </pre>
139
+ </div>
140
+ </div>
141
+
142
+ </div>
143
+
144
+ </div>
145
+ </div>
146
+ </body>
147
+ </html>
@@ -0,0 +1 @@
1
+ Tue, 28 Jul 2009 13:17:36 +0200
@@ -0,0 +1,263 @@
1
+ body {
2
+ font-family: "Helvetica Neue", Arial, sans-serif;
3
+ background: #FFF;
4
+ color: #000;
5
+ margin: 0px;
6
+ font-size: 0.82em;
7
+ line-height: 1.25em;
8
+ }
9
+
10
+ a {
11
+ color: #00F;
12
+ text-decoration: none;
13
+ }
14
+
15
+ a:hover {
16
+ color: #333;
17
+ background: #FE8;
18
+ }
19
+
20
+ p {
21
+ margin-bottom: 1em;
22
+ }
23
+
24
+ h1 {
25
+ font-size: 2.1em;
26
+ font-weight: normal;
27
+ line-height: 1.2em;
28
+ margin: 1.4em 0 0.7em 0;
29
+ }
30
+
31
+ h2 {
32
+ font-size: 1.6em;
33
+ margin: 1.8em 0 0.8em 0;
34
+ font-weight: normal;
35
+ line-height: 1.2em;
36
+ }
37
+
38
+ h3 {
39
+ font-size: 1.4em;
40
+ color:#555;
41
+ margin: 1.4em 0 0.7em 0;
42
+ font-weight: normal;
43
+ }
44
+
45
+ h4 {
46
+ margin: 1.4em 0 0.5em 0;
47
+ font-size: 1em;
48
+ }
49
+
50
+ .clear
51
+ {
52
+ clear: both;
53
+ width: 0; height: 0;
54
+ }
55
+
56
+ dt
57
+ {
58
+ margin-bottom: 0.3em;
59
+ font-weight: bold;
60
+ }
61
+
62
+ dd
63
+ {
64
+ margin-left: 2em;
65
+ margin-bottom: 1em;
66
+ }
67
+
68
+ dd p
69
+ {
70
+ margin-top: 0.6em;
71
+ }
72
+
73
+ li
74
+ {
75
+ margin: 0 0 0.5em 2em;
76
+ }
77
+
78
+ ul li
79
+ {
80
+ list-style: disc;
81
+ }
82
+
83
+ ol li
84
+ {
85
+ list-style: decimal;
86
+ }
87
+
88
+ .banner
89
+ {
90
+ background: #EDF3FE;
91
+ border-bottom: 1px solid #ccc;
92
+ padding: 1em 2em 0.5em 2em;
93
+ }
94
+ .banner h1
95
+ {
96
+ font-size: 1.2em;
97
+ margin: 0;
98
+ }
99
+
100
+ .banner h1 .type
101
+ {
102
+ font-size: 0.833em;
103
+ display:block;
104
+ }
105
+
106
+ .banner h1 .type,
107
+ .banner h1 .parent
108
+ {
109
+ color: #666;
110
+ }
111
+
112
+ .banner ul
113
+ {
114
+ margin-top: 0.3em;
115
+ margin-bottom: 0;
116
+ font-size: 0.85em;
117
+ }
118
+
119
+ .banner li
120
+ {
121
+ list-style: none;
122
+ margin-left: 0;
123
+ margin-bottom: 0;
124
+ }
125
+
126
+ pre
127
+ {
128
+ margin-bottom: 1em;
129
+ }
130
+
131
+ .methods dt
132
+ {
133
+ width: 1em;
134
+ font-size: 1.5em;
135
+ color:#AAA;
136
+ position: absolute;
137
+ font-weight: normal;
138
+ margin: 0;
139
+ }
140
+
141
+ .methods dd
142
+ {
143
+ margin-left: 2.5em;
144
+ min-height: 1.8em;
145
+ -height: 1.8em;
146
+ padding-bottom: 0.8em;
147
+ }
148
+
149
+
150
+ .methods ul li
151
+ {
152
+ margin-right: 0.7em;
153
+ margin-left: 0;
154
+ list-style: none;
155
+ display: inline;
156
+ }
157
+
158
+ #content {
159
+ margin: 2em;
160
+ margin-left: 3.5em;
161
+ margin-right: 3.5em;
162
+ }
163
+
164
+
165
+ .sectiontitle {
166
+ margin-top: 2em;
167
+ margin-bottom: 1.3em;
168
+ margin-left: -1.2em;
169
+ font-size: 1.2em;
170
+ padding: 0 0 0.25em 0;
171
+ font-weight: bold;
172
+ border-bottom: 1px solid #000;
173
+ }
174
+
175
+ .attr-rw {
176
+ padding-right: 1em;
177
+ text-align: center;
178
+ color: #055;
179
+ }
180
+
181
+ .attr-name {
182
+ font-weight: bold;
183
+ padding-right: 1em;
184
+ }
185
+
186
+ .attr-desc {
187
+ }
188
+
189
+ tt {
190
+ font-size: 1.15em;
191
+ }
192
+
193
+ .attr-value {
194
+ font-family: monospace;
195
+ padding-left: 1em;
196
+ font-size: 1.15em;
197
+ }
198
+
199
+ .dyn-source {
200
+ display: none;
201
+ background: #fffde8;
202
+ color: #000;
203
+ border: #ffe0bb dotted 1px;
204
+ margin: 0.5em 2em 0.5em 0;
205
+ padding: 0.5em;
206
+ }
207
+
208
+ .dyn-source .cmt {
209
+ color: #00F;
210
+ font-style: italic;
211
+ }
212
+
213
+ .dyn-source .kw {
214
+ color: #070;
215
+ font-weight: bold;
216
+ }
217
+
218
+ .description pre {
219
+ padding: 0.5em;
220
+ border: #ffe0bb dotted 1px;
221
+ background: #fffde8;
222
+ }
223
+
224
+ .method {
225
+ margin-bottom: 2em;
226
+ }
227
+ .method .description,
228
+ .method .sourcecode
229
+ {
230
+ margin-left: 1.2em;
231
+ }
232
+ .method h4
233
+ {
234
+ border-bottom: 1px dotted #999;
235
+ padding: 0 0 0.2em 0;
236
+ margin-bottom: 0.8em;
237
+ font-size: 1.1em;
238
+ color:#333;
239
+ }
240
+ .method .title {
241
+ border-bottom: 1px dotted #666;
242
+ padding: 0 0 0.15em 0;
243
+ margin: 0 0 0.5em 0;
244
+ font-size: 1.2em;
245
+ line-height: 1.25em;
246
+ }
247
+
248
+ .method .sourcecode p.source-link {
249
+ text-indent: 0em;
250
+ margin-top: 0.5em;
251
+ }
252
+
253
+ .method .aka {
254
+ margin-top: 0.3em;
255
+ margin-left: 1em;
256
+ font-style: italic;
257
+ text-indent: 2em;
258
+ }
259
+
260
+ .method .source-link
261
+ {
262
+ font-size: 0.85em;
263
+ }