Closed norberttech closed 9 years ago
As you have pointed, both are using the Doctrine DBAL lib... but that's not a reason for merging these benchmarks: Silex does not use the Doctrine ORM lib and many others bundles/components/classes from Symfony2, as the routing, controller mapping and dispatching, DIC, etc, have been replaced.
In fact, I'm interested on bencharking the embeded Pimple vs the regular Symfony2 DIC.
So maybe you should create simple class that creates PDO connection and register it as a service in Symfony2 DIC and Pimple?
Would any Symfony2 experts be able to definitively resolve this for us?
Closing this issue due to inactivity. Please reopen if these suggestions should be taken into consideration, or create a new more specific issue.
My 2 cents: Silex (built on top of Symfony components) and Symfony2 are marketed as a separate micro-framework and full-stack framework. I don't think it makes sense to categorize them by their ORM or DBAL.
Those tests have no sens at all. Both are based on Doctrine2 but Symfony2 use Doctrine2 ORM when Silex is using Doctrine2 DBAL (which is used by ORM). I think Symfony2, Silex and any other tests based on Doctrine2 should be replaced by one test called Doctrine2.