[TYPO3-core] RFC #11410: Speed up BEgetRootLine by reusing parts of the rootline from the cache
Steffen Kamper
info at sk-typo3.de
Sat Jun 27 21:42:59 CEST 2009
Hi Rupi,
Rupert Germann schrieb:
> hi,
>
> I have a follow up suggestion for this patch.
>
> Problem:
> one cache was dropped, another one was introduced. That makes calls for many
> different rootlines way faster but it also slows down performance if many
> calls are requesting the same rootline. This is because function
> BEgetRootline does not cache its output anymore and so some evil and
> expensive while(list()=each()) code has to be executed.
>
> Solution: cache both functions (and replace the while loop).
>
snip
> Result:
> before Fabrizios patch: ~3200 ms
> with Fabrizios patch: ~1700 ms
> with 2-level cache: ~220 ms
>
> what do you think ? ;-)
>
that's why i asked for combine both caches, but was knocked over.
+1 for 2 level!
vg Steffen
More information about the TYPO3-team-core
mailing list