TechEmpower / FrameworkBenchmarks

Source for the TechEmpower Framework Benchmarks project
https://www.techempower.com/benchmarks/
Other
7.6k stars 1.94k forks source link

Symfony2 vs Silex #178

Closed norberttech closed 9 years ago

norberttech commented 11 years ago

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.

kpacha commented 11 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.

norberttech commented 11 years ago

So maybe you should create simple class that creates PDO connection and register it as a service in Symfony2 DIC and Pimple?

bhauer commented 11 years ago

Would any Symfony2 experts be able to definitively resolve this for us?

LadyMozzarella commented 9 years ago

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.