Skip to content

Saving slow with many Replicator fields / big entries #9056

@jonassiewertsen

Description

@jonassiewertsen

Bug description

We noticed that our time to save entries multiplied on big entries, with many replicator fields and lots of data.

It took about 1 - 2 seconds before the update. After updating, the time increased to 5 - 10 seconds.

The performance bottleneck comes with #6842

I saw the PR https://github.com/statamic/cms/pull/8712/files in the upcoming version 4.20.0, but in our case we reverted 6842 only as we don't use any Events and the performance is as expected again.

How to reproduce

  1. Create big entries with many replicator fields and lots of data.
  2. Press save

Logs

No response

Environment

Statamic 4.18.0

Installation

Other (please explain)

Antlers Parser

None

Additional details

No response

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