[TYPO3-core] RFC #9355: Add an error and exception handler (backported from FLOW3)
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Sep 22 17:31:26 CEST 2009
Karsten Dambekalns schrieb:
> Hi.
>
> On 22.09.2009, at 11:34, Ernesto Baschny [cron IT] wrote:
>> Well I just did some profiling why it has so much impact, even on a
>> cached page. It turns out that the problem comes from the fact that
>> until now we were supressing "PHP Notices", because TYPO3 core is really
>> full of "Undefined index".
>>
>> On a very simple cached page, I get more than 600 calls to
>> t3lib_error_Errorhandler->handleError() and those are basically all
>> "Notices" and "Runtime notices", like:
>
> Awesome, that explains why I measured next to no speedup in FLOW3 when
> changing the error handling earlier. So it seems the slowdown comes from
> calls to the error handling, not the fact that it *could* be called.
> Phew... ;)
Proving that FLOW3-code is "clean", meaning no more "Undefined index"
notices anymore. :) Congrats!
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list