Actions
Bug #96356
closedPerformance LiveSearch for admin users
Status:
Closed
Priority:
Should have
Assignee:
Category:
Performance
Target version:
Start date:
2021-12-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hello,
searching for any value in LiveSearch as Admin is very slow.
I found these lines of code which are very slow:
$mounts = $GLOBALS['BE_USER']->returnWebmounts(); foreach ($mounts as $pageId) { $pageList[] = $this->getAvailablePageIds($pageId, self::RECURSIVE_PAGE_LEVEL); }
We have a pagetree with over 65.000 pages. As Admin user I can access each page of them. IMO there is no need to check webmounts and extract all pages from pages-tree. I think it would be easier to remove the Query-part against "pid", if an admin uses the search.
I will create a patch for that.
Stefan
Actions