[TYPO3-core] Feature #9633: Implement autoloading for TYPO3

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri May 1 21:30:23 CEST 2009


Hi!

Oliver Hader wrote:
> I have to state that I was wrong here. I did a comparison of the
> core_autoload.php file as PHP file and a serialized equivalent.
> Using a the serialization was 100% faster in this case - the difference
> was 250 micro-seconds (0.25 ms).

Hm, a small difference. I expected much larger. Interesting to know :)

> Yes. A website without autoloading, your patch and the patch of this RFC
> have been compared in frontend disposal. All "require_once()" of files
> in t3lib/ have been removed from the core files for this test.
> 
> * without autoloading: 100% parsing time (base)
> * with autoloading of this RFC: 75,57%
> * with autoloading by Dmitry: 75,42%
> 
> So, the results of both autoloading approaches are almost the same and
> differed in 1-2 ms. eAccelerator was not used for this test...

May be I can test both patches some time. Could be hardware/extension dependent.

> You had a CLI script that could be used via cron job to update the
> registry periodically... Hm...

:) He-he, you now know it better than I do :) My patch is so old now :)

-- 
Dmitry Dulepov
In TYPO3 blog: http://dmitry-dulepov.com/article/when-do-you-need-chash-in-typo3.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs


More information about the TYPO3-team-core mailing list