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!