[Typo3] Make Typo3 faster?

Bernhard Kraft kraftb at kraftb.at
Sat Nov 26 12:42:03 CET 2005


Patrick Gaumond wrote:

> http://wiki.typo3.org/index.php/Performance_tuning#Informal_Tests

Nice stats :)


If you are interested in experimenting to make T3 faster you could try
my patches for t3lib_parsehtml at:

http://bugs.typo3.org/view.php?id=1685
preg_t3lib_parsehtml.diff

It replaces all calls to the regular ereg and split(i) functions in t3lib
parsehtml by the far more faster preg_ equivalents.

If you download the testsuite and let the testprograms run you will notice
that some methods only need 8% (!!!) of the time required before !

This speeds up the rendering of uncached pages by about 8-15 % depending on
the size of your HTML-template and the amount of Markers/Subparts you use.

It does not speed up pages created with TemplaVoila as TV stores its Templates
already in a parsed form and just puts them together when rendered (That's the
reason why you need to update your TO when you changed something in the HTML
templates)


PS: If you really test it please write me a short personal mail (or cc me when
writing to the list) as I have to investigate if everything works as expected
and I don't have the time to test on many different installations.


greets,
Bernhard



More information about the TYPO3-english mailing list