[TYPO3-project-4-3] Status of autoloader

Rupert Germann rupi at gmx.li
Wed Jun 10 16:51:08 CEST 2009


Martin Kutschker wrote:
> An XLASS-File includes by definition only one class (or classes) but
> never code that has to be exectuted in the global space.
> 
> The current way to include a class file because it MIGHT include an
> XCLASS is wrong. All real XCLASS-Files are register in
> ext_localconf.php. This information has to (should) be used.

Full ACK.
I made a short speed test with a hacked autoload function. I added a
condition that checks if the classname starts with ux_ and if so if it is
registered in $GLOBALS['TYPO3_CONF_VARS']['BE']['XCLASS'] or in FE xclasses
If that is not the case further autoloading will be skipped.

results for siege requesting cached pages:
trunk: 220 req/sec
hacked: 240 req/sec

I see some optmizing potential here ;-)

btw: in the same scenario TYPO3 4.2.7 delivers 287 req/sec

greets
Rupert




More information about the TYPO3-project-4-3 mailing list