[TYPO3-dev] timer for debugging

Sigfried Arnold s.arnold at rebell.at
Sun Mar 7 22:49:21 CET 2010


Ries van Twisk schrieb:
> you need to use a profiler if you are interested in time it takes for 
> specific functions/operations.

Thanks for your answer - i'm aware that a profiler like apd is probably 
the best method for benchmarking scripts since calling a custom 
stopwatch function takes time too and distorts the result if you really 
want to microoptimize your scripts.

But profilers are usualy not available on any host, so simply logging a 
few steps with t3lib_div::devLog() plus the elapsed time helps alot if 
you want to find real performance bottlenecks of a script.

Thats why i asked, if there is a function

regards
Sigfried Arnold




More information about the TYPO3-dev mailing list