[TYPO3-core] RFC #12428: slow t3lib_TSparser::parseSub in 4.3
Christian Kuhn
lolli at schwarzbu.ch
Mon Nov 2 23:40:43 CET 2009
Hey,
Bernhard Kraft wrote:
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=12428
>
> Branches: 4.3 / trunk
>
> Problem:
> There was a report about slow parsing of TS Templates in the dev list containing a description of the problem:
> http://lists.typo3.org/pipermail/typo3-dev/2009-October/037545.html
> See bugtracker entry for more information about cause of problem.
-1 for now: I instantly get different fatals with this patch in current
trunk:
1. in FE and BE (with loaded ext: th_mailformplus):
Fatal error: Class 't3lib_div' not found in
/path/to/trunk/t3lib/class.t3lib_autoloader.php on line 107
Call Stack
# Time Memory Function Location
1 0.0000 103176 {main}( ) ../index.php:0
2 0.0001 106328 require(
'/path/to/trunk/typo3/sysext/cms/tslib/index_ts.php' ) ../index.php:76
3 0.0697 2840144 tslib_fe->getCompressedTCarray( ) ../index_ts.php:360
4 0.0700 2840368 tslib_fe->includeTCA( ) ../class.tslib_fe.php:2206
5 0.1000 4613880 include(
'/path/to/htdocs/typo3conf/temp_CACHED_FE_pse2c8_ext_tables.php' )
../class.tslib_fe.php:2254
6 0.1418 7032560 include_once(
'/path/to/htdocs/typo3conf/svn/th_mailformplus/class.tx_dynaflex.php' )
../temp_CACHED_FE_pse2c8_ext_tables.php:5253
7 0.1420 7075864 require_once(
'/path/to/trunk/t3lib/class.t3lib_tsparser_ext.php' )
../class.tx_dynaflex.php:4
8 0.1420 7076184 t3lib_autoloader::autoload( )
../class.t3lib_autoloader.php:0
9 0.1420 7076472 t3lib_div::requireFile( ) ../class.t3lib_autoloader.php:107
10 0.1424 7077768 t3lib_error_ErrorHandler->handleError( )
../class.t3lib_error_errorhandler.php:0
11 0.1424 7081200 t3lib_autoloader::autoload( )
../class.t3lib_autoloader.php:0
2. in BE (with loaded ext: tt_address):
Fatal error: require_once() [function.require]: Failed opening required
'/path/to/htdocs/t3lib/class.t3lib_tstemplate.php'
(include_path='/path/to/htdocs/typo3conf/ext/phpunit/PHPUnit-3.3.16/:.:/usr/share/php:/usr/share/pear')
in
/path/to/htdocs/typo3conf/ext/tt_address/class.tx_ttaddress_addfilestosel.php
on line 26
Call Stack
# Time Memory Function Location
1 0.0001 127072 {main}( ) ../backend.php:0
2 0.0001 128856 require_once( '/path/to/trunk/typo3/init.php' )
../backend.php:28
3 0.1116 3718392 include(
'/path/to/htdocs/typo3conf/temp_CACHED_pse2c8_ext_tables.php' )
../init.php:376
4 0.1190 5109640 include_once(
'/path/to/htdocs/typo3conf/ext/tt_address/class.tx_ttaddress_addfilestosel.php'
) ../temp_CACHED_pse2c8_ext_tables.php:2187
3. in FE (after uninstalling th_mailformplus and tt_address):
Fatal error: Class 't3lib_div' not found in
/path/to/trunk/t3lib/class.t3lib_autoloader.php on line 107
Call Stack
# Time Memory Function Location
1 0.0000 103176 {main}( ) ../index.php:0
2 0.0001 106328 require(
'/path/to/trunk/typo3/sysext/cms/tslib/index_ts.php' ) ../index.php:76
3 0.1531 3570736 tslib_fe->initTemplate( ) ../index_ts.php:367
4 0.1531 3570736 t3lib_div::makeInstance( ) ../class.tslib_fe.php:1828
5 0.1531 3570736 t3lib_div::getClassName( ) ../class.t3lib_div.php:4961
6 0.1531 3570736 class_exists ( ) ../class.t3lib_div.php:5011
7 0.1531 3570736 t3lib_autoloader::autoload( )
../class.t3lib_autoloader.php:0
8 0.1531 3570736 t3lib_div::requireFile( ) ../class.t3lib_autoloader.php:107
9 0.1534 3571320 t3lib_error_ErrorHandler->handleError( )
../class.t3lib_error_errorhandler.php:0
10 0.1534 3572272 t3lib_autoloader::autoload( )
../class.t3lib_autoloader.php:0
Regards
Christian
More information about the TYPO3-team-core
mailing list