Project

General

Profile

Actions

Bug #15032

closed

Many mounted pages causes performance degradation

Added by Steven Bagshaw about 19 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-10-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

My template has 4 mount points. In total, there are a few hundred mounted pages, although not all of these get displayed as I am only working one level deep.

Typo3 pages would have a performance hit of 3.5 seconds on every page when not cached. I located the problem in t3lib_TStemplate.initMPmap_create() where there was a recursion to 20 levels.

Perhaps I could suggest a setting per mount point (?) or system-wide to restrict this level of recursion. For my needs I changed the "20" in line 1468 to a "1" and the 3.5 second delay was gone.

(issue imported from #M1576)

Actions #1

Updated by Steven Bagshaw about 19 years ago

PS I won't attach a diff, as I'm not suggesting the code for a bug fix (don't know enough about the core) - I just made a hack to suit myself. But others may appreciate a setting somewhere to avoid this....

Actions #2

Updated by Christian Kuhn almost 14 years ago

This is fixed with the new pagetree in 4.5

Actions

Also available in: Atom PDF