[TYPO3-core] RFC: #8515: Speed up tslib_cObj->getTreeList by caching its results

Dmitry Dulepov [typo3] dmitry at typo3.org
Sun Jul 13 19:51:26 CEST 2008


Hi!

Peter Niederlag wrote:
> This is a really tough one. ;(
> 
> I don't have any site running where tslib_piBase->pi_getPidList whould
> run one more than maximal five pages. So I don't expect any reasonable
> gain from this patch. in 99% percent of cases it just operates on a
> single(!) page, where the records are stored.
> 
> Instead I end up with a bunch of hooks running on a couple of BE-operations.
> 
> Are there really many setups that would benefit from a cache for
> ->getTreeList()? Is ->getTreeList() used anywhere else than for plugins?
> 
> I am not against it at all but would really like to see a thorough
> analysis of the performance-impacts for different situations.

I just had an idea... Could this feature be in extension? I also though not everyone needs it and it will enlarge database. So extension would be an ideal thing for such enhancements...

-- 
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml


More information about the TYPO3-team-core mailing list