ry / ebb fork watch download tarball
public this repo is viewable by everyone
Description: web server
Homepage: http://ebb.rubyforge.org
Clone URL: git://github.com/ry/ebb.git
updates to benchmark scripts
ryah (author)
about 1 month ago
commit  e73fe87c9085b5ac4c8caf23f6d6ccc85f8933f6
tree    26b6795303e24c7d7422bf1babef682fea1242a9
parent  2e370e55784634965100f256d1c652d7cdd49cfe
...
20
21
22
 
 
 
 
23
24
25
...
20
21
22
23
24
25
26
27
28
29
0
@@ -20,6 +20,10 @@ class SimpleApp
0
     @count = 0
0
   end
0
   
0
+ def deferred?(env)
0
+ false
0
+ end
0
+
0
   def call(env)
0
     path = env['PATH_INFO'] || env['REQUEST_URI']
0
     commands = path.split('/')
...
30
31
32
33
34
 
 
35
36
37
...
30
31
32
 
 
33
34
35
36
37
0
@@ -30,8 +30,8 @@ trials = {
0
     File.open(fn, 'w+') { |f| f.write("C"*size) } unless FileTest.exists?(fn)
0
     [l, "ab -t 6 -q -c 50 -p #{fn} http://0.0.0.0:PORT/test_post_length"]
0
   },
0
- 'concurrency' => [1,2,5,10,20,25,30,35,40,50,75,100].map { |c|
0
- [c, "ab -t 3 -q -c #{c} http://0.0.0.0:PORT/bytes/1"]
0
+ 'concurrency' => [1,5,10,20,30,40,50,75,100].map { |c|
0
+ [c, "ab -t 10 -q -c #{c} http://0.0.0.0:PORT/bytes/1"]
0
   }
0
 }
0
 

Comments

    No one has commented yet.