Aziz S. Hussain
|I have worked with many systems. Lately, I had the honor to work with a delivery system that processes over 1,000 requests per second.|
Original code was written in straight PHP. After re-write using OOP (with more additional features, it lowered the response time by over 50%).
Clean, straight OOP can definitely be faster, it was for my case at least.
|2012-03-21 22:50:09 - In reply to message 1 from Aziz S. Hussain|
|Performance is often more a matter of architecture than programming style.|
As I explained in another response, the greatest performance bottleneck is the database.
If you used a caching system to avoid database accesses, you probably gained a lot in terms of performance, regardless if you use global code or OOP.