[TYPO3-core] RFC #9355: Add an error and exception handler (backported from FLOW3)

Karsten Dambekalns karsten at typo3.org
Tue Sep 22 17:11:38 CEST 2009


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... ;)

Regards,
Karsten
-- 
Karsten Dambekalns
Gimme Five!
http://typo3.org/gimmefive




More information about the TYPO3-team-core mailing list