Bug #69173
closed
Introduce runtime cache for \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv()
Added by Markus Klein over 9 years ago.
Updated about 7 years ago.
Sprint Focus:
Remote Sprint
Description
\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv()
is called a lot and calls itself recursively as well.
The request to switch from one page to another one in BE (Page module) fires the method more than 1148 times.
According to xdebug profiling this makes up 84ms (63ms owntime).
By introducing a runtime cache the number of calls can be lowered to 162 for the same request, which brings the time metrics below 1ms.
- Status changed from Accepted to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42730
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42732
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42732
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42732
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42732
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF