[TYPO3-dev] typolink generation high parsetime

Elmar Hinz elmar07 at googlemail.com
Fri Oct 26 11:08:13 CEST 2007


Popy wrote:

> 2007/10/25, Steffen Kamper <steffen at sk-typo3.de>:
>>
>>
>> "Bartosz Aninowski" <bart at REM-IT-sonik.pl> schrieb im Newsbeitrag
>> news:mailman.1.1193316883.6377.typo3-dev at lists.netfielders.de...
>> > Hi
>> > My extension shows 100 records. Each rows has 4 links.
>> > Everytime I call typolink, T3 sends lot of queries.
>> > Mysqld log shows 4 queries on each record.
>> > If I disable links total parsetime is 521ms, with link 15600.
>> > How can I disable it?
>> > This is user_int because of search results.
>> >
>>
>> Just an idea: Why not only once per page generation read the available
>> pages
>> in an array? This could be done with one query, following could read
>> direct
>> from array.
> 
> 
> I don't think it's the best way, this list can be very, very big...
> 
> 

Hi,

What is required? A list of the Id's of linkable pages. How big is such an
integer? A few bytes. Let's calculate.

Having a large page with 10.000 of accessible pages that what result in a
dimension of 100 MB. Having only 100 Pages the dimension would be 1 MB.

Is it high or low? 

What is the basical memory footprint of a T3 page without links?

Regards

Elmar




















More information about the TYPO3-dev mailing list