Skip to content

Conversation

Sebobo
Copy link
Member

@Sebobo Sebobo commented Aug 14, 2025

Don’t include recursive childnode info in copy action feedback which we don’t need for the node trees to work.

Both trees still work as before. Only difference is that uncollapsing the copied nodes might lazy load deeper nested nodes.

Resolves: #3983

Testcase:

Copying 4 documents with some content in the Neos.Demo

CleanShot 2025-08-14 at 15 46 17@2x

Response times

With recursive data: 4.4KB
Without recursive data: 2.5 KB

CleanShot 2025-08-14 at 15 38 45@2x

With more nested data:

CleanShot 2025-08-14 at 15 51 46@2x

Calls with recursive data

CleanShot 2025-08-14 at 15 47 52@2x

Calls without recursive data

CleanShot 2025-08-14 at 15 48 26@2x

Don’t include recursive childnode info in copy action feedback
which we don’t need for the node trees to work.

Resolves: #3983
@Sebobo Sebobo requested review from kitsunet and ahaeslich August 14, 2025 13:53
@github-actions github-actions bot added the Bug Label to mark the change as bugfix label Aug 14, 2025
Copy link
Member

@kdambekalns kdambekalns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly harmless… 😎

Copy link
Member

@mhsdesign mhsdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks nice trick. In Neos 9 or later we can now also remove the whole \Neos\Neos\Ui\Domain\Model\Feedback\Operations\UpdateNodeInfo::recursive handing and the internal logic ... but that is for later.

@Sebobo Sebobo merged commit 8ccf3e3 into 8.3 Aug 18, 2025
8 of 9 checks passed
@Sebobo Sebobo deleted the bugfix/no-recursive-nodeinfo-on-copy branch August 18, 2025 12:42
mhsdesign added a commit that referenced this pull request Aug 20, 2025
See #3984

In Neos 9 the `$updateNodeInfo->recursive()` was added to `AbstractStructuralChange` and the `AbstractCopy` was removed.

This change now removes the expensive recursive of `UpdateNodeInfo` as we dont need that for the Ui anymore.
mhsdesign added a commit that referenced this pull request Aug 20, 2025
…ng-recursive-node-fetching-in-response

BUGFIX: Speed up node tree copy actions 9.0 port of #3984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.3 Bug Label to mark the change as bugfix Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants