Skip to content

Reflexion Docblock is very costly for a very small gain #1981

Closed
@jdeniau

Description

@jdeniau

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.

screenshot-2018-5-28 untitled profile - blackfire

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions