I found out that auth was causing session to be saved even if unused. I changed it.
With the latest trunk, auth.define_table(migrate=False) and bytecode compilation, the welcome index page runs at 17ms on my laptop. Massimo On Mar 15, 7:51 am, Ross Peoples <ross.peop...@gmail.com> wrote: > I did some testing on my app, which still implements the welcome app's > default/index function that shows Hello World. Here are my results: > > BEFORE TRUNK UPDATE - CONCURRENCY 1 > =================================== > > Time taken for tests: 108 seconds > Requests per second: 9.25 > Time per request: 108.138 ms > > AFTER TRUNK UPDATE - CONCURRENCY 1 > ================================== > > Time taken for tests: 108 seconds > Requests per second: 9.21 > Time per request: 108.543 > > AFTER TRUNK UPDATE - CONCURRENCY 10 > =================================== > > Time taken for tests: 98 seconds > Requests per second: 10.20 > Time per request: 98.050 > > The last test was run with -c 10. According to ab, there wasn't any > improvement, which is strange. I ran the rocket server using the following > line: > > python web2py.py -i 0.0.0.0 -a password -l '/dev/null' > > I have the server running on a Ubuntu Server 10.04.2 virtual machine.