Great update. I know for a reason the thousands of session files web2py is creating for Radbox are slowing us down, and I wasn't sure I wanted to store sessions in the db. Good improvement!
On Mar 16, 2:02 pm, Ross Peoples <ross.peop...@gmail.com> wrote: > In that case, great job to you both! > > On Mar 16, 2011, at 1:57 PM, Massimo Di Pierro wrote: > > > > > > > > > You should also thank Jonathan, we have been working together on this. > > > Massimo > > > On Mar 16, 11:40 am, Ross Peoples <ross.peop...@gmail.com> wrote: > >> Ok, here are the results from testing the welcome app: > > >> BEFORE TRUNK UPDATE > >> ========================================= > >> Time taken for tests: 91.843 seconds > >> Requests per second: 10.89 > >> Time per request: 91.843 ms > > >> BEFORE TRUNK UPDATE WITH MIGRATE=FALSE AND BYTECODE COMPILED > >> ========================================= > >> Time taken for tests: 63.323 seconds > >> Requests per second: 14.85 > >> Time per request: 67.323 ms > > >> AFTER TRUNK UPDATE > >> ========================================= > >> Time taken for tests: 47.295 seconds > >> Requests per second: 21.14 > >> Time per request: 47.295 ms > > >> AFTER TRUNK UPDATE WITH MIGRATE=FALSE AND BYTECODE COMPILED > >> ========================================= > >> Time taken for tests: 29.588 seconds > >> Requests per second: 33.80 > >> Time per request: 29.588 ms > > >> As you can see, the improvements you made make a huge difference. I tested > >> my own app as well, and that runs about 25% faster. Of course my app is not > >> bytecompiled, and all of my tables are set to migrate=True since it is > >> still > >> being developed. Overall, I'd say this was a great addition to web2py. > >> Great > >> job Massimo!