[TYPO3-core] RFC: Performance enhancements in BE, part 1
michael at typo3.org
Fri Jul 6 22:54:11 CEST 2007
Dmitry Dulepov wrote:
> Problem: dummy BE module with no code at all takes 1 second to load. I
> started profiling and found that some functions do not process data
> effectively. One of the most time consuming is
> t3lib_extMgm::addToAllTCAtypes(). It loops over "types" array even if
> there is no need for it and calls trim() several times on the same
> variable. Though it all takes milliseconds, it is still 30% of all time
> in request. I do not think it is acceptable.
> Solution: optimize function to skip loop when it is not necessary and
> use shortcuts to TCA array. Patches are supplied separately.
This is almost a no-brainer, but still I've tested it quickly. Works well,
although I don't measure such a big boost like you did.
Anyway, you should just commit this as is...
Use a newsreader! Check out
More information about the TYPO3-team-core