Actions
Bug #52374
closedEditing a sys_filemount is very slow
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
Actions