Are there any good performance benchmarks published out there for available PHP ORMs, such as Doctrine, Propel, and Outlet?
If not, what are some good test cases so I can test them myself?
Other ORMs I’d be interested in comparing:
- phpDataMapper
- dORM
- GacelaPHP
- pdoMap
Doctrine is one of the most well regarded PHP base ones out there. But you can’t really benchmark ORMs. All of them will have performance issues when they create a useless JOIN or a bad query, which all of them will do eventually.
In the end, they all just try to create a SQL query for you. How well they do it, is the difference. It’s worthwhile to learn SQL if you have more than a few basic tables.