[Solar-talk] Sub-controllers re-visited [long]
Paul M Jones
pmjones at ciaweb.net
Mon Nov 19 09:25:50 CST 2007
Rodrigo --
> The benchmark was done using ab:
>
> ab -c 10 -t 60 http://localhost/benchmark/hello
>
> Each test was executed 5 times and these are the average results:
>
> Solar_Controller_Front (no 'routing' defined)
> ------------------------------
> Requests per second: 128.48
>
> Lux_Controller_Router (Regex route, 1 route)
> ------------------------------
> Requests per second: 121.84
>
> Lux_Controller_Router (Regex route, 5 routes)
> ------------------------------
> Requests per second: 118.1
>
> Lux_Controller_Router (Default route, 1 route)
> ------------------------------
> Requests per second: 115.43
>
>
> And this is just the Hello app; for a normal app, the relative impact
> would certainly be smaller.
>
> Anyway, I'm happy that it is not bad as we always thought (I was
> *always* curious to run these benchmarks! :), however performance is
> just one factor to consider when moving to routes. There are others,
> as it is a different way of working and thinking. I understand that it
> doesn't appeal everybody, but it is a reasonable alternative available
> in several flavors - Horde_Routes, ZF's RewriteRouter,
> Lux_Controller_Router etc.
This is good information to have; you should blog it. :-)
(Hm, I don't recall now, do you have a blog site?)
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Join the Solar community wiki! <http://solarphp.org>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the Solar-talk
mailing list