Major performance issues in ::addCallback on a complex form

Created on 26 June 2024, 5 months ago
Updated 14 August 2024, 3 months ago

Problem/Motivation

On a complex form with multiple nested field groups, paragraphs, and other subforms, performance grinds to a halt with the TextFormat::addCallback() as it recursively takes a huge amount of memory. Xhprof output:

Steps to reproduce

Create a node edit form with eg 20 fields, use field group module, and use paragraphs module

Proposed resolution

Fix the addCallback recursion

Remaining tasks

Investigate

User interface changes

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

1.2

Component

Plugin: Collaboration

Created by

🇬🇧United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024