Skip to content

Slow API requests in dev env when upgrading from 2.1.3 to ^2.1.4 #1842

Closed
@jonday-simitive

Description

@jonday-simitive

After upgrading to V2.1.4 requests to Api Platform routes in our application became noticeably slower in dev env when recompiling YAML and Annotations.

I have traced this so far to YamlFileLoader::parseImport ... it appears to be changes to SubresourceOperationFactory::computeSubresourceOperation between 2.1.3 and 2.1.4 which have caused the issue.

Blackfire Profile 2.1.3:
https://blackfire.io/profiles/4138e961-2f87-4e92-9bab-b91578afdeb2/graph

Blackfire Profile: 2.1.4:
https://blackfire.io/profiles/7d19e9d1-caeb-450c-8d0e-f09d938034d8/graph

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions