jolicode / elastically

🔍 JoliCode's Elastica wrapper to bootstrap Elasticsearch PHP integrations
MIT License
248 stars 39 forks source link

Hydration is really slow #11

Closed MatTheCat closed 4 years ago

MatTheCat commented 5 years ago

After investigating a request’s poor performances I found out hydrating objects was taking most of its time:

I guess this is caused by the use of Symfony’s serializer. I tried to switch to https://github.com/Ocramius/GeneratedHydrator and I saw significant improvments. Maybe this could be used?