Hi Paul, I stand corrected, you pointed out a very valid reason for comparing execution times of "hello world" in plain-php and ZF. Reading Endijs' question again, I see that's exactly what he asked for.
It's just that I have also read mails on this ML from people who compared plain <?php echo "hello world"; ?> to ZF-"hello world" and then ranted that ZF is performing badly in comparison (do I have to mention those people didn't even have an opcode cache enabled? ;-)). So Endijs, sorry if you felt offended by my mail. Best regards, Tobias 2009/2/23 Paul M Jones <[email protected]>: > On Feb 23, 2009, at 06:20 , Tobias Gies wrote: > >> Benchmarking a plain-php "hello world" file against the same stuff >> implemented in ZF just doesn't make any sense. If you only want to >> display "hello world", you don't need ZF. > > This is a common misconception. You need to know the limits of ZF (or any > framework); only then will you know how far you can push it when trying to > optimize. > > >> The reason for this is that a simple "hello world" file does not >> require any routing, or decisions about which action to dispatch, or a >> plugin system, etc. > > Again, a common misconception: benchmarking the framework will reveal the > speed of the dynamic dispatch cycle (i.e., the bootstrap, front-controller, > page controller, action method, and view script). > > > -- > > Paul M. Jones > http://paul-m-jones.com/ > > > > >
