We have nearly 70 entities, and when profiling, we detected that reflection/doc-block is very costly (nearly 20 seconds, see screenshot below).
Apparently it is only used to read entity summary (so I removed it in my case).
I think the PhpDocResourceMetadataFactory file may need a cache.

We have nearly 70 entities, and when profiling, we detected that reflection/doc-block is very costly (nearly 20 seconds, see screenshot below).
Apparently it is only used to read entity summary (so I removed it in my case).
I think the
PhpDocResourceMetadataFactoryfile may need a cache.