rfuzz 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. data/Rakefile +1 -1
  2. data/doc/rdoc/classes/RFuzz/Browser.html +15 -15
  3. data/doc/rdoc/classes/RFuzz/Browser.src/{M000068.html → M000083.html} +0 -0
  4. data/doc/rdoc/classes/RFuzz/Browser.src/{M000069.html → M000084.html} +0 -0
  5. data/doc/rdoc/classes/RFuzz/Browser.src/{M000070.html → M000085.html} +0 -0
  6. data/doc/rdoc/classes/RFuzz/HttpClient.html +114 -57
  7. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000019.html +12 -13
  8. data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000011.html → M000020.html} +20 -20
  9. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000021.html +28 -0
  10. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000022.html +30 -0
  11. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000023.html +35 -0
  12. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000024.html +22 -0
  13. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000025.html +44 -0
  14. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000026.html +38 -0
  15. data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000016.html → M000027.html} +12 -12
  16. data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000017.html → M000028.html} +20 -20
  17. data/doc/rdoc/classes/RFuzz/HttpClient.src/{M000018.html → M000029.html} +4 -4
  18. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000030.html +26 -0
  19. data/doc/rdoc/classes/RFuzz/HttpClientError.html +118 -0
  20. data/doc/rdoc/classes/RFuzz/HttpEncoding.html +7 -4
  21. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000001.html +12 -12
  22. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000002.html +4 -4
  23. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000003.html +12 -12
  24. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000004.html +4 -4
  25. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000005.html +18 -18
  26. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000006.html +4 -4
  27. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000007.html +6 -6
  28. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000008.html +6 -6
  29. data/doc/rdoc/classes/RFuzz/HttpEncoding.src/M000009.html +18 -18
  30. data/doc/rdoc/classes/RFuzz/HttpResponse.html +74 -13
  31. data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000031.html +22 -0
  32. data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000032.html +18 -0
  33. data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000033.html +18 -0
  34. data/doc/rdoc/classes/RFuzz/Notifier.html +49 -31
  35. data/doc/rdoc/classes/RFuzz/Notifier.src/{M000044.html → M000058.html} +3 -3
  36. data/doc/rdoc/classes/RFuzz/Notifier.src/{M000045.html → M000059.html} +3 -3
  37. data/doc/rdoc/classes/RFuzz/Notifier.src/{M000047.html → M000060.html} +2 -2
  38. data/doc/rdoc/classes/RFuzz/Notifier.src/{M000048.html → M000061.html} +2 -2
  39. data/doc/rdoc/classes/RFuzz/Notifier.src/{M000049.html → M000062.html} +2 -2
  40. data/doc/rdoc/classes/RFuzz/Notifier.src/{M000046.html → M000063.html} +4 -4
  41. data/doc/rdoc/classes/RFuzz/Notifier.src/M000064.html +17 -0
  42. data/doc/rdoc/classes/RFuzz/PushBackIO.html +296 -0
  43. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000010.html +19 -0
  44. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000011.html +20 -0
  45. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000012.html +19 -0
  46. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000013.html +18 -0
  47. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000014.html +44 -0
  48. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000015.html +18 -0
  49. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000016.html +18 -0
  50. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000017.html +18 -0
  51. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000018.html +22 -0
  52. data/doc/rdoc/classes/RFuzz/RandomGenerator.html +62 -62
  53. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000032.html → M000046.html} +0 -0
  54. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000033.html → M000047.html} +0 -0
  55. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000036.html → M000050.html} +0 -0
  56. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000037.html → M000051.html} +0 -0
  57. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000038.html → M000052.html} +0 -0
  58. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000039.html → M000053.html} +0 -0
  59. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000040.html → M000054.html} +0 -0
  60. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000041.html → M000055.html} +0 -0
  61. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000042.html → M000056.html} +0 -0
  62. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/{M000043.html → M000057.html} +0 -0
  63. data/doc/rdoc/classes/RFuzz/Sampler.html +60 -60
  64. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000056.html → M000071.html} +0 -0
  65. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000057.html → M000072.html} +0 -0
  66. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000058.html → M000073.html} +0 -0
  67. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000059.html → M000074.html} +0 -0
  68. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000060.html → M000075.html} +0 -0
  69. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000061.html → M000076.html} +0 -0
  70. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000062.html → M000077.html} +0 -0
  71. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000063.html → M000078.html} +0 -0
  72. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000064.html → M000079.html} +0 -0
  73. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000065.html → M000080.html} +0 -0
  74. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000066.html → M000081.html} +0 -0
  75. data/doc/rdoc/classes/RFuzz/Sampler.src/{M000067.html → M000082.html} +0 -0
  76. data/doc/rdoc/classes/RFuzz/Session.html +63 -63
  77. data/doc/rdoc/classes/RFuzz/Session.src/{M000020.html → M000034.html} +0 -0
  78. data/doc/rdoc/classes/RFuzz/Session.src/{M000021.html → M000035.html} +0 -0
  79. data/doc/rdoc/classes/RFuzz/Session.src/{M000022.html → M000036.html} +0 -0
  80. data/doc/rdoc/classes/RFuzz/Session.src/{M000023.html → M000037.html} +0 -0
  81. data/doc/rdoc/classes/RFuzz/Session.src/{M000024.html → M000038.html} +0 -0
  82. data/doc/rdoc/classes/RFuzz/Session.src/{M000025.html → M000039.html} +0 -0
  83. data/doc/rdoc/classes/RFuzz/Session.src/{M000026.html → M000040.html} +0 -0
  84. data/doc/rdoc/classes/RFuzz/Session.src/{M000027.html → M000041.html} +0 -0
  85. data/doc/rdoc/classes/RFuzz/Session.src/{M000028.html → M000042.html} +0 -0
  86. data/doc/rdoc/classes/RFuzz/Session.src/{M000029.html → M000043.html} +0 -0
  87. data/doc/rdoc/classes/RFuzz/Session.src/{M000030.html → M000044.html} +0 -0
  88. data/doc/rdoc/classes/RFuzz/Session.src/{M000031.html → M000045.html} +0 -0
  89. data/doc/rdoc/classes/RFuzz/StatsTracker.html +32 -32
  90. data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000050.html → M000065.html} +0 -0
  91. data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000051.html → M000066.html} +0 -0
  92. data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000052.html → M000067.html} +0 -0
  93. data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000053.html → M000068.html} +0 -0
  94. data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000054.html → M000069.html} +0 -0
  95. data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000055.html → M000070.html} +0 -0
  96. data/doc/rdoc/classes/RFuzz.html +7 -1
  97. data/doc/rdoc/created.rid +1 -1
  98. data/doc/rdoc/files/lib/rfuzz/client_rb.html +2 -2
  99. data/doc/rdoc/files/lib/rfuzz/pushbackio_rb.html +108 -0
  100. data/doc/rdoc/fr_class_index.html +2 -0
  101. data/doc/rdoc/fr_file_index.html +1 -0
  102. data/doc/rdoc/fr_method_index.html +76 -61
  103. data/examples/cl_watcher.rb +12 -9
  104. data/examples/hpricot_pudding.rb +1 -1
  105. data/examples/mongrel_test_suite/test/http/protocol_parameters.rb +0 -3
  106. data/examples/mongrel_test_suite/test/rails/catastrophe.rb +26 -0
  107. data/examples/mongrel_test_suite/test/rails/conditional.rb +81 -0
  108. data/examples/mongrel_test_suite/test/rails/put.rb +25 -0
  109. data/examples/mongrel_test_suite/test/rails/redirect.rb +13 -0
  110. data/examples/mongrel_test_suite/test/rails/static_files.rb +47 -2
  111. data/examples/rails_security_test.rb +61 -0
  112. data/ext/http11_client/http11_client.c +15 -1
  113. data/ext/http11_client/http11_parser.c +627 -203
  114. data/ext/http11_client/http11_parser.h +2 -0
  115. data/ext/http11_client/http11_parser.rl +8 -4
  116. data/lib/rfuzz/client.rb +124 -115
  117. data/lib/rfuzz/pushbackio.rb +90 -0
  118. metadata +86 -60
  119. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000010.html +0 -24
  120. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000012.html +0 -50
  121. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000013.html +0 -49
  122. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000014.html +0 -57
  123. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000015.html +0 -37
@@ -95,18 +95,18 @@ activity.
95
95
  <h3 class="section-bar">Methods</h3>
96
96
 
97
97
  <div class="name-list">
98
- <a href="#M000025">count</a>&nbsp;&nbsp;
99
- <a href="#M000031">count_errors</a>&nbsp;&nbsp;
100
- <a href="#M000027">counts_to_a</a>&nbsp;&nbsp;
101
- <a href="#M000022">cur_count</a>&nbsp;&nbsp;
102
- <a href="#M000021">cur_run</a>&nbsp;&nbsp;
103
- <a href="#M000020">new</a>&nbsp;&nbsp;
104
- <a href="#M000023">run</a>&nbsp;&nbsp;
105
- <a href="#M000026">runs_to_a</a>&nbsp;&nbsp;
106
- <a href="#M000024">sample</a>&nbsp;&nbsp;
107
- <a href="#M000028">track</a>&nbsp;&nbsp;
108
- <a href="#M000030">write_counts</a>&nbsp;&nbsp;
109
- <a href="#M000029">write_runs</a>&nbsp;&nbsp;
98
+ <a href="#M000039">count</a>&nbsp;&nbsp;
99
+ <a href="#M000045">count_errors</a>&nbsp;&nbsp;
100
+ <a href="#M000041">counts_to_a</a>&nbsp;&nbsp;
101
+ <a href="#M000036">cur_count</a>&nbsp;&nbsp;
102
+ <a href="#M000035">cur_run</a>&nbsp;&nbsp;
103
+ <a href="#M000034">new</a>&nbsp;&nbsp;
104
+ <a href="#M000037">run</a>&nbsp;&nbsp;
105
+ <a href="#M000040">runs_to_a</a>&nbsp;&nbsp;
106
+ <a href="#M000038">sample</a>&nbsp;&nbsp;
107
+ <a href="#M000042">track</a>&nbsp;&nbsp;
108
+ <a href="#M000044">write_counts</a>&nbsp;&nbsp;
109
+ <a href="#M000043">write_runs</a>&nbsp;&nbsp;
110
110
  </div>
111
111
  </div>
112
112
 
@@ -161,12 +161,12 @@ activity.
161
161
  <div id="methods">
162
162
  <h3 class="section-bar">Public Class methods</h3>
163
163
 
164
- <div id="method-M000020" class="method-detail">
165
- <a name="M000020"></a>
164
+ <div id="method-M000034" class="method-detail">
165
+ <a name="M000034"></a>
166
166
 
167
167
  <div class="method-heading">
168
- <a href="Session.src/M000020.html" target="Code" class="method-signature"
169
- onclick="popupCode('Session.src/M000020.html');return false;">
168
+ <a href="Session.src/M000034.html" target="Code" class="method-signature"
169
+ onclick="popupCode('Session.src/M000034.html');return false;">
170
170
  <span class="method-name">new</span><span class="method-args">(options={})</span>
171
171
  </a>
172
172
  </div>
@@ -174,9 +174,9 @@ activity.
174
174
  <div class="method-description">
175
175
  <p>
176
176
  Sets up a session that you then operate by calling <a
177
- href="Session.html#M000023">Session#run</a>. Most of the functions do not
177
+ href="Session.html#M000037">Session#run</a>. Most of the functions do not
178
178
  work unless they are inside a <a
179
- href="Session.html#M000023">Session#run</a> call.
179
+ href="Session.html#M000037">Session#run</a> call.
180
180
  </p>
181
181
  <p>
182
182
  Available options are:
@@ -202,12 +202,12 @@ href="HttpClient.html">RFuzz::HttpClient</a>.
202
202
 
203
203
  <h3 class="section-bar">Public Instance methods</h3>
204
204
 
205
- <div id="method-M000025" class="method-detail">
206
- <a name="M000025"></a>
205
+ <div id="method-M000039" class="method-detail">
206
+ <a name="M000039"></a>
207
207
 
208
208
  <div class="method-heading">
209
- <a href="Session.src/M000025.html" target="Code" class="method-signature"
210
- onclick="popupCode('Session.src/M000025.html');return false;">
209
+ <a href="Session.src/M000039.html" target="Code" class="method-signature"
210
+ onclick="popupCode('Session.src/M000039.html');return false;">
211
211
  <span class="method-name">count</span><span class="method-args">(stat,count=1)</span>
212
212
  </a>
213
213
  </div>
@@ -219,31 +219,31 @@ Called inside a run to do a count of a measurement.
219
219
  </div>
220
220
  </div>
221
221
 
222
- <div id="method-M000031" class="method-detail">
223
- <a name="M000031"></a>
222
+ <div id="method-M000045" class="method-detail">
223
+ <a name="M000045"></a>
224
224
 
225
225
  <div class="method-heading">
226
- <a href="Session.src/M000031.html" target="Code" class="method-signature"
227
- onclick="popupCode('Session.src/M000031.html');return false;">
226
+ <a href="Session.src/M000045.html" target="Code" class="method-signature"
227
+ onclick="popupCode('Session.src/M000045.html');return false;">
228
228
  <span class="method-name">count_errors</span><span class="method-args">(as) {|| ...}</span>
229
229
  </a>
230
230
  </div>
231
231
 
232
232
  <div class="method-description">
233
233
  <p>
234
- Used inside <a href="Session.html#M000023">Session#run</a> to wrap an
234
+ Used inside <a href="Session.html#M000037">Session#run</a> to wrap an
235
235
  attempted request or potentially failing action and then count the
236
236
  exceptions thrown.
237
237
  </p>
238
238
  </div>
239
239
  </div>
240
240
 
241
- <div id="method-M000027" class="method-detail">
242
- <a name="M000027"></a>
241
+ <div id="method-M000041" class="method-detail">
242
+ <a name="M000041"></a>
243
243
 
244
244
  <div class="method-heading">
245
- <a href="Session.src/M000027.html" target="Code" class="method-signature"
246
- onclick="popupCode('Session.src/M000027.html');return false;">
245
+ <a href="Session.src/M000041.html" target="Code" class="method-signature"
246
+ onclick="popupCode('Session.src/M000041.html');return false;">
247
247
  <span class="method-name">counts_to_a</span><span class="method-args">(headers=false)</span>
248
248
  </a>
249
249
  </div>
@@ -256,12 +256,12 @@ output. Use Session#counts to access the counts directly.
256
256
  </div>
257
257
  </div>
258
258
 
259
- <div id="method-M000022" class="method-detail">
260
- <a name="M000022"></a>
259
+ <div id="method-M000036" class="method-detail">
260
+ <a name="M000036"></a>
261
261
 
262
262
  <div class="method-heading">
263
- <a href="Session.src/M000022.html" target="Code" class="method-signature"
264
- onclick="popupCode('Session.src/M000022.html');return false;">
263
+ <a href="Session.src/M000036.html" target="Code" class="method-signature"
264
+ onclick="popupCode('Session.src/M000036.html');return false;">
265
265
  <span class="method-name">cur_count</span><span class="method-args">()</span>
266
266
  </a>
267
267
  </div>
@@ -270,12 +270,12 @@ output. Use Session#counts to access the counts directly.
270
270
  </div>
271
271
  </div>
272
272
 
273
- <div id="method-M000021" class="method-detail">
274
- <a name="M000021"></a>
273
+ <div id="method-M000035" class="method-detail">
274
+ <a name="M000035"></a>
275
275
 
276
276
  <div class="method-heading">
277
- <a href="Session.src/M000021.html" target="Code" class="method-signature"
278
- onclick="popupCode('Session.src/M000021.html');return false;">
277
+ <a href="Session.src/M000035.html" target="Code" class="method-signature"
278
+ onclick="popupCode('Session.src/M000035.html');return false;">
279
279
  <span class="method-name">cur_run</span><span class="method-args">()</span>
280
280
  </a>
281
281
  </div>
@@ -284,12 +284,12 @@ output. Use Session#counts to access the counts directly.
284
284
  </div>
285
285
  </div>
286
286
 
287
- <div id="method-M000023" class="method-detail">
288
- <a name="M000023"></a>
287
+ <div id="method-M000037" class="method-detail">
288
+ <a name="M000037"></a>
289
289
 
290
290
  <div class="method-heading">
291
- <a href="Session.src/M000023.html" target="Code" class="method-signature"
292
- onclick="popupCode('Session.src/M000023.html');return false;">
291
+ <a href="Session.src/M000037.html" target="Code" class="method-signature"
292
+ onclick="popupCode('Session.src/M000037.html');return false;">
293
293
  <span class="method-name">run</span><span class="method-args">(count=1, options={}) {|@client, @rand| ...}</span>
294
294
  </a>
295
295
  </div>
@@ -319,12 +319,12 @@ href="HttpClient.html">HttpClient</a> so you can pretend it is brand new.
319
319
  </div>
320
320
  </div>
321
321
 
322
- <div id="method-M000026" class="method-detail">
323
- <a name="M000026"></a>
322
+ <div id="method-M000040" class="method-detail">
323
+ <a name="M000040"></a>
324
324
 
325
325
  <div class="method-heading">
326
- <a href="Session.src/M000026.html" target="Code" class="method-signature"
327
- onclick="popupCode('Session.src/M000026.html');return false;">
326
+ <a href="Session.src/M000040.html" target="Code" class="method-signature"
327
+ onclick="popupCode('Session.src/M000040.html');return false;">
328
328
  <span class="method-name">runs_to_a</span><span class="method-args">(headers=false)</span>
329
329
  </a>
330
330
  </div>
@@ -338,12 +338,12 @@ then just use the Session#runs attribute.
338
338
  </div>
339
339
  </div>
340
340
 
341
- <div id="method-M000024" class="method-detail">
342
- <a name="M000024"></a>
341
+ <div id="method-M000038" class="method-detail">
342
+ <a name="M000038"></a>
343
343
 
344
344
  <div class="method-heading">
345
- <a href="Session.src/M000024.html" target="Code" class="method-signature"
346
- onclick="popupCode('Session.src/M000024.html');return false;">
345
+ <a href="Session.src/M000038.html" target="Code" class="method-signature"
346
+ onclick="popupCode('Session.src/M000038.html');return false;">
347
347
  <span class="method-name">sample</span><span class="method-args">(stat,count)</span>
348
348
  </a>
349
349
  </div>
@@ -356,12 +356,12 @@ stat should be a string or symbol, and count should be a number (or float).
356
356
  </div>
357
357
  </div>
358
358
 
359
- <div id="method-M000028" class="method-detail">
360
- <a name="M000028"></a>
359
+ <div id="method-M000042" class="method-detail">
360
+ <a name="M000042"></a>
361
361
 
362
362
  <div class="method-heading">
363
- <a href="Session.src/M000028.html" target="Code" class="method-signature"
364
- onclick="popupCode('Session.src/M000028.html');return false;">
363
+ <a href="Session.src/M000042.html" target="Code" class="method-signature"
364
+ onclick="popupCode('Session.src/M000042.html');return false;">
365
365
  <span class="method-name">track</span><span class="method-args">(name,value)</span>
366
366
  </a>
367
367
  </div>
@@ -376,12 +376,12 @@ tracking you registerd by {name =&gt; [val1, val2]}.
376
376
  </div>
377
377
  </div>
378
378
 
379
- <div id="method-M000030" class="method-detail">
380
- <a name="M000030"></a>
379
+ <div id="method-M000044" class="method-detail">
380
+ <a name="M000044"></a>
381
381
 
382
382
  <div class="method-heading">
383
- <a href="Session.src/M000030.html" target="Code" class="method-signature"
384
- onclick="popupCode('Session.src/M000030.html');return false;">
383
+ <a href="Session.src/M000044.html" target="Code" class="method-signature"
384
+ onclick="popupCode('Session.src/M000044.html');return false;">
385
385
  <span class="method-name">write_counts</span><span class="method-args">(file)</span>
386
386
  </a>
387
387
  </div>
@@ -393,12 +393,12 @@ Writes the counts to the given file as a CSV.
393
393
  </div>
394
394
  </div>
395
395
 
396
- <div id="method-M000029" class="method-detail">
397
- <a name="M000029"></a>
396
+ <div id="method-M000043" class="method-detail">
397
+ <a name="M000043"></a>
398
398
 
399
399
  <div class="method-heading">
400
- <a href="Session.src/M000029.html" target="Code" class="method-signature"
401
- onclick="popupCode('Session.src/M000029.html');return false;">
400
+ <a href="Session.src/M000043.html" target="Code" class="method-signature"
401
+ onclick="popupCode('Session.src/M000043.html');return false;">
402
402
  <span class="method-name">write_runs</span><span class="method-args">(file)</span>
403
403
  </a>
404
404
  </div>
@@ -83,11 +83,11 @@
83
83
  When registered as the notifier for a client it tracks the times for each
84
84
  part of the request. Rather than subclassing <a
85
85
  href="Notifier.html">RFuzz::Notifier</a> it uses a <a
86
- href="StatsTracker.html#M000054">method_missing</a> to record the even
86
+ href="StatsTracker.html#M000069">method_missing</a> to record the even
87
87
  timings.
88
88
  </p>
89
89
  <p>
90
- You can dump it with <a href="StatsTracker.html#M000055">to_s</a>, or you
90
+ You can dump it with <a href="StatsTracker.html#M000070">to_s</a>, or you
91
91
  can access the StatsTracker.stats hash to read the <a
92
92
  href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
93
93
  </p>
@@ -101,12 +101,12 @@ href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
101
101
  <h3 class="section-bar">Methods</h3>
102
102
 
103
103
  <div class="name-list">
104
- <a href="#M000051">mark</a>&nbsp;&nbsp;
105
- <a href="#M000054">method_missing</a>&nbsp;&nbsp;
106
- <a href="#M000050">new</a>&nbsp;&nbsp;
107
- <a href="#M000053">reset</a>&nbsp;&nbsp;
108
- <a href="#M000052">sample</a>&nbsp;&nbsp;
109
- <a href="#M000055">to_s</a>&nbsp;&nbsp;
104
+ <a href="#M000066">mark</a>&nbsp;&nbsp;
105
+ <a href="#M000069">method_missing</a>&nbsp;&nbsp;
106
+ <a href="#M000065">new</a>&nbsp;&nbsp;
107
+ <a href="#M000068">reset</a>&nbsp;&nbsp;
108
+ <a href="#M000067">sample</a>&nbsp;&nbsp;
109
+ <a href="#M000070">to_s</a>&nbsp;&nbsp;
110
110
  </div>
111
111
  </div>
112
112
 
@@ -141,12 +141,12 @@ href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
141
141
  <div id="methods">
142
142
  <h3 class="section-bar">Public Class methods</h3>
143
143
 
144
- <div id="method-M000050" class="method-detail">
145
- <a name="M000050"></a>
144
+ <div id="method-M000065" class="method-detail">
145
+ <a name="M000065"></a>
146
146
 
147
147
  <div class="method-heading">
148
- <a href="StatsTracker.src/M000050.html" target="Code" class="method-signature"
149
- onclick="popupCode('StatsTracker.src/M000050.html');return false;">
148
+ <a href="StatsTracker.src/M000065.html" target="Code" class="method-signature"
149
+ onclick="popupCode('StatsTracker.src/M000065.html');return false;">
150
150
  <span class="method-name">new</span><span class="method-args">()</span>
151
151
  </a>
152
152
  </div>
@@ -157,12 +157,12 @@ href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
157
157
 
158
158
  <h3 class="section-bar">Public Instance methods</h3>
159
159
 
160
- <div id="method-M000051" class="method-detail">
161
- <a name="M000051"></a>
160
+ <div id="method-M000066" class="method-detail">
161
+ <a name="M000066"></a>
162
162
 
163
163
  <div class="method-heading">
164
- <a href="StatsTracker.src/M000051.html" target="Code" class="method-signature"
165
- onclick="popupCode('StatsTracker.src/M000051.html');return false;">
164
+ <a href="StatsTracker.src/M000066.html" target="Code" class="method-signature"
165
+ onclick="popupCode('StatsTracker.src/M000066.html');return false;">
166
166
  <span class="method-name">mark</span><span class="method-args">(event)</span>
167
167
  </a>
168
168
  </div>
@@ -171,12 +171,12 @@ href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
171
171
  </div>
172
172
  </div>
173
173
 
174
- <div id="method-M000054" class="method-detail">
175
- <a name="M000054"></a>
174
+ <div id="method-M000069" class="method-detail">
175
+ <a name="M000069"></a>
176
176
 
177
177
  <div class="method-heading">
178
- <a href="StatsTracker.src/M000054.html" target="Code" class="method-signature"
179
- onclick="popupCode('StatsTracker.src/M000054.html');return false;">
178
+ <a href="StatsTracker.src/M000069.html" target="Code" class="method-signature"
179
+ onclick="popupCode('StatsTracker.src/M000069.html');return false;">
180
180
  <span class="method-name">method_missing</span><span class="method-args">(event, *args)</span>
181
181
  </a>
182
182
  </div>
@@ -185,12 +185,12 @@ href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
185
185
  </div>
186
186
  </div>
187
187
 
188
- <div id="method-M000053" class="method-detail">
189
- <a name="M000053"></a>
188
+ <div id="method-M000068" class="method-detail">
189
+ <a name="M000068"></a>
190
190
 
191
191
  <div class="method-heading">
192
- <a href="StatsTracker.src/M000053.html" target="Code" class="method-signature"
193
- onclick="popupCode('StatsTracker.src/M000053.html');return false;">
192
+ <a href="StatsTracker.src/M000068.html" target="Code" class="method-signature"
193
+ onclick="popupCode('StatsTracker.src/M000068.html');return false;">
194
194
  <span class="method-name">reset</span><span class="method-args">()</span>
195
195
  </a>
196
196
  </div>
@@ -199,12 +199,12 @@ href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
199
199
  </div>
200
200
  </div>
201
201
 
202
- <div id="method-M000052" class="method-detail">
203
- <a name="M000052"></a>
202
+ <div id="method-M000067" class="method-detail">
203
+ <a name="M000067"></a>
204
204
 
205
205
  <div class="method-heading">
206
- <a href="StatsTracker.src/M000052.html" target="Code" class="method-signature"
207
- onclick="popupCode('StatsTracker.src/M000052.html');return false;">
206
+ <a href="StatsTracker.src/M000067.html" target="Code" class="method-signature"
207
+ onclick="popupCode('StatsTracker.src/M000067.html');return false;">
208
208
  <span class="method-name">sample</span><span class="method-args">(event)</span>
209
209
  </a>
210
210
  </div>
@@ -213,12 +213,12 @@ href="Sampler.html">RFuzz::Sampler</a> objects related to each event.
213
213
  </div>
214
214
  </div>
215
215
 
216
- <div id="method-M000055" class="method-detail">
217
- <a name="M000055"></a>
216
+ <div id="method-M000070" class="method-detail">
217
+ <a name="M000070"></a>
218
218
 
219
219
  <div class="method-heading">
220
- <a href="StatsTracker.src/M000055.html" target="Code" class="method-signature"
221
- onclick="popupCode('StatsTracker.src/M000055.html');return false;">
220
+ <a href="StatsTracker.src/M000070.html" target="Code" class="method-signature"
221
+ onclick="popupCode('StatsTracker.src/M000070.html');return false;">
222
222
  <span class="method-name">to_s</span><span class="method-args">()</span>
223
223
  </a>
224
224
  </div>
@@ -62,6 +62,10 @@
62
62
  <a href="../files/lib/rfuzz/random_rb.html">
63
63
  lib/rfuzz/random.rb
64
64
  </a>
65
+ <br />
66
+ <a href="../files/lib/rfuzz/pushbackio_rb.html">
67
+ lib/rfuzz/pushbackio.rb
68
+ </a>
65
69
  <br />
66
70
  <a href="../files/lib/rfuzz/client_rb.html">
67
71
  lib/rfuzz/client.rb
@@ -92,7 +96,7 @@
92
96
  <p>
93
97
  A very simple little class for doing some basic fast statistics sampling.
94
98
  You feed it either samples of numeric data you want measured or you call <a
95
- href="RFuzz/Sampler.html#M000067">Sampler.tick</a> to get it to add a time
99
+ href="RFuzz/Sampler.html#M000082">Sampler.tick</a> to get it to add a time
96
100
  delta between the last time you called it. When you&#8217;re done either
97
101
  call sum, sumsq, n, min, max, mean or sd to get the information. The other
98
102
  option is to just call dump and see everything.
@@ -122,8 +126,10 @@ fly.
122
126
  Module <a href="RFuzz/HttpEncoding.html" class="link">RFuzz::HttpEncoding</a><br />
123
127
  Class <a href="RFuzz/Browser.html" class="link">RFuzz::Browser</a><br />
124
128
  Class <a href="RFuzz/HttpClient.html" class="link">RFuzz::HttpClient</a><br />
129
+ Class <a href="RFuzz/HttpClientError.html" class="link">RFuzz::HttpClientError</a><br />
125
130
  Class <a href="RFuzz/HttpResponse.html" class="link">RFuzz::HttpResponse</a><br />
126
131
  Class <a href="RFuzz/Notifier.html" class="link">RFuzz::Notifier</a><br />
132
+ Class <a href="RFuzz/PushBackIO.html" class="link">RFuzz::PushBackIO</a><br />
127
133
  Class <a href="RFuzz/RandomGenerator.html" class="link">RFuzz::RandomGenerator</a><br />
128
134
  Class <a href="RFuzz/Sampler.html" class="link">RFuzz::Sampler</a><br />
129
135
  Class <a href="RFuzz/Session.html" class="link">RFuzz::Session</a><br />
data/doc/rdoc/created.rid CHANGED
@@ -1 +1 @@
1
- Fri Aug 04 13:20:51 PDT 2006
1
+ Sun Aug 06 16:49:07 PDT 2006
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Aug 04 13:20:40 PDT 2006</td>
59
+ <td>Sun Aug 06 16:48:59 PDT 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -75,9 +75,9 @@
75
75
  <div class="name-list">
76
76
  http11_client&nbsp;&nbsp;
77
77
  socket&nbsp;&nbsp;
78
- stringio&nbsp;&nbsp;
79
78
  rfuzz/stats&nbsp;&nbsp;
80
79
  timeout&nbsp;&nbsp;
80
+ rfuzz/pushbackio&nbsp;&nbsp;
81
81
  </div>
82
82
  </div>
83
83
 
@@ -0,0 +1,108 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: pushbackio.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>pushbackio.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/rfuzz/pushbackio.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sun Aug 06 16:47:53 PDT 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+ <div id="requires-list">
73
+ <h3 class="section-bar">Required files</h3>
74
+
75
+ <div class="name-list">
76
+ stringio&nbsp;&nbsp;
77
+ </div>
78
+ </div>
79
+
80
+ </div>
81
+
82
+
83
+ </div>
84
+
85
+
86
+ <!-- if includes -->
87
+
88
+ <div id="section">
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <!-- if method_list -->
98
+
99
+
100
+ </div>
101
+
102
+
103
+ <div id="validator-badges">
104
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
105
+ </div>
106
+
107
+ </body>
108
+ </html>
@@ -23,9 +23,11 @@
23
23
  <a href="classes/RFuzz.html">RFuzz</a><br />
24
24
  <a href="classes/RFuzz/Browser.html">RFuzz::Browser</a><br />
25
25
  <a href="classes/RFuzz/HttpClient.html">RFuzz::HttpClient</a><br />
26
+ <a href="classes/RFuzz/HttpClientError.html">RFuzz::HttpClientError</a><br />
26
27
  <a href="classes/RFuzz/HttpEncoding.html">RFuzz::HttpEncoding</a><br />
27
28
  <a href="classes/RFuzz/HttpResponse.html">RFuzz::HttpResponse</a><br />
28
29
  <a href="classes/RFuzz/Notifier.html">RFuzz::Notifier</a><br />
30
+ <a href="classes/RFuzz/PushBackIO.html">RFuzz::PushBackIO</a><br />
29
31
  <a href="classes/RFuzz/RandomGenerator.html">RFuzz::RandomGenerator</a><br />
30
32
  <a href="classes/RFuzz/Sampler.html">RFuzz::Sampler</a><br />
31
33
  <a href="classes/RFuzz/Session.html">RFuzz::Session</a><br />
@@ -25,6 +25,7 @@
25
25
  <a href="files/README.html">README</a><br />
26
26
  <a href="files/lib/rfuzz/browser_rb.html">lib/rfuzz/browser.rb</a><br />
27
27
  <a href="files/lib/rfuzz/client_rb.html">lib/rfuzz/client.rb</a><br />
28
+ <a href="files/lib/rfuzz/pushbackio_rb.html">lib/rfuzz/pushbackio.rb</a><br />
28
29
  <a href="files/lib/rfuzz/random_rb.html">lib/rfuzz/random.rb</a><br />
29
30
  <a href="files/lib/rfuzz/rfuzz_rb.html">lib/rfuzz/rfuzz.rb</a><br />
30
31
  <a href="files/lib/rfuzz/session_rb.html">lib/rfuzz/session.rb</a><br />