Project

General

Profile

Actions

Bug #52374

closed

Editing a sys_filemount is very slow

Added by Xavier Perseguers over 10 years ago. Updated over 1 year ago.

Status:
Closed
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 4 (2 open2 closed)

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

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

Actions
Related to TYPO3 Core - Feature #97922: Use combined field for base and path in sys_filemountsClosedFrank Nägler2022-07-13

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

Actions
Actions

Also available in: Atom PDF