I want to benchmark my web framework 'Contentigo.com', I want to see how it compares to CodeIgniter, Symfony etc.<p>Has somebody written a good, clear set of benchmark tests that I can also apply to Contentigo? EG:<p>- time to serve 100 'realistic' web pages (without any caching)<p>- time to serve 100 'realistic' web pages with 3 database queries per request (with some defined dataset to retrieve) (without any caching)<p>- time to serve 100 'realistic' web pages (with caching)<p>something like this?
I don't think there's a standard list but make sure to not just run micro benchmarks.<p>I would probably do:<p>1. Return a few hundred bytes of json with no I/O.<p>2. Return tens of thousands of bytes of json with no I/O.<p>3. Do the same 2 tests as above but read the data from a DB.<p>4. Do the same 3 tests as above but render templates instead of sending json.<p>5. Do everything again with it cached.<p>6. Repeat all steps with 1, 2, 5, 10, 50, 100, 200, 500, and 1000 concurrent connections while paying close attention to the response times at the 99% level in addition to the reqs/second.<p>Also don't forget to look at the bytes transferred. There's going to be differences in the http headers between frameworks. If you're going to compare them directly to yours try to adjust the headers so it matches.
Would also be handy to create a simple set of JMeter tests to ensure consistency across frameworks.<p>I would would be keen to run the test against Contentigo, but not very keen to do this for all the other frameworks! I would hope that if a good set of standard tests could be found, then the various vendors/project could run the tests themselves.