I want to benchmark PHP vs Pylons. I want my comparison of both to be as even as possible, so here is what I came up with:
- PHP 5.1.6 with APC, using a smarty template connecting to a MySQL database
- Python 2.6.1, using Pylons with a mako template connecting the the same MySQL database
Is there anything that I should change in that setup to make it a more fair comparison?
I'm going to run it on a spare server that has almost no activity, 2G of ram and 4 cores.
Any suggestions of how I should or shouldn't benchmark them? I plan on using ab to do the actual benchmarking.