Thank you.  It's always good to see the fruits of one's labor come out.

On 4/19/2010 3:57 PM, elffikk wrote:
  a simple test loading one by one the same link, leaving concurrency
and advanced testing to Tim and others :)
just wanted to feel the improvement, and I have to say Tim did his job
very well

web2py 1.76.5  vs 1.77.1 load test

10 requests:
1.76.5  - 0.3016 seconds
1.77.1 -  0.2736 seconds

100 requests:
1.76.5  - 1.7729 seconds
1.77.1 -  1.4585 seconds

1000 requests:
1.76.5  - 16.6493 seconds
1.77.1 -  13.4033 seconds

and here is the great test script :)

import sys, urllib
n = int((sys.argv[1:] or [10])[0])
s = 'http://127.0.0.1:8001/' # s = 'http://127.0.0.1:8002/'
for i in xrange(n):
        urllib.urlopen(s).read()





--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to