Skip to content

Performance regression in 2.1 beta 2 #1303

@raziel057

Description

@raziel057

I just tried to upgrade to 2.1 beta 2 where I didn't found any bugs but a regression in execution time when returning a lot of results. Memory also increases a lot.

As you can see when I get 9200 results (id, name):

In 2.0.10 it takes about 600ms

api-platform-2 0 1

With 2.1.0 beta 2: 7s

api-platform-2 1 0-beta-2

I tried to downgrade, upgrade multiple times and I always have the same results. The regression seems to be linked to the serialisation part. Could you please check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions