Bug #52374

Editing a sys_filemount is very slow

Added by Xavier Perseguers over 8 years ago. Updated about 1 year ago.

Status:
New
Priority:
Should have
Category:
Performance
Target version:
-
Start date:
2013-09-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
5.5
Tags:
performance, large-site
Complexity:
Is Regression:
No
Sprint Focus:

Description

When editing a filemount as popup window from the edit form of a be_group, the form takes about 9 sec to show up.

xhprof shows that this method is responsible for this amount of time:

TYPO3\CMS\Core\Resource\Service\UserFileMountService::renderTceformsSelectDropdown

Info

  • My list of sys_filemounts contains 2600 entries
  • I see 20 calls to TYPO3\CMS\Core\Resource\Folder::getSubfolders taking 4,728,752 ms
  • After 2nd recursion, still 298 calls to TYPO3\CMS\Core\Resource\Service\UserFileMountService::getSubfoldersForOptionList taking 4,505,079 ms

Actually there is much recursion but it's always TYPO3\CMS\Core\Resource\Folder::getSubfolders that eats so much time


Related issues

Related to TYPO3 Core - Feature #89762: Add pagination to forms listResolved

Actions
Related to TYPO3 Core - Epic #93547: Collection of problems with large sitesAccepted2021-02-19

Actions
Has duplicate TYPO3 Core - Bug #51402: Filemount record UI issuesAccepted2013-08-27

Actions

Also available in: Atom PDF