Project

General

Profile

Actions

Bug #94660

closed

Large pagetrees with workspaces and many entry points still very slow

Added by Christian Eßl over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2021-07-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

On large pagetrees + workspaces, the page tree is still very slow.
This is especially the case, if the editor has a lot of entry points configured. (instead of only one single root page).
The TreeController has a fixed value of $levelsToFetch = 2 , which will apply for every single entry point and load in sum much more collapsed items than necessary.

Some suggestions:
- Either make the value of $levelsToFetch configurable and not hardcoded.
- Or lower the value of $levelsToFetch depending on the number of entry points the editor has.

In my scenario I made an xclass of TreeController and added a very simple condition, that resets $levelsToFetch to 0, when a user has more than 3 entrypoints, which made the backend usable again for editors.

Actions

Also available in: Atom PDF