DooPHP - fastest MVC based PHP framework

Learn More

The Official Blog of DooPHP

News, Updates, Tips & Tricks for DooPHP

Subscribe to Blog

Subscribe to the official blog of DooPHP framework.

Benchmark Update2009-07-23 01:47:09

Benchmark Update

The graph at the benchmark section has been updated. After a discussion in the forums, Qeephp is re-benchmark with its QCache_PHPDataFile switched on in bootstrap.

Basically it loads the converted Yaml settings of Qeephp to PHP config variables $config just like what DooPHP is doing. And of course this improves the performance.

Doophp is also re-benchmark in production mode with the deploy script. Only common & routes config are loaded. The index.php contains:

include './protected/config/common.conf.php';
include './protected/config/routes.conf.php';
include $config['BASE_PATH'].'deployment/deploy.php';

Doo::conf()->set($config);
Doo::app()->route = $route;
Doo::app()->run();

While the common.conf.php is changed to use absolute path. The previous benchmark is done with the app folder in the archive doo-1.0.zip. It only contains:

$config['SITE_PATH'] = '/var/www/app/';
$config['BASE_PATH'] = '/var/www/dooframework/';
$config['APP_MODE'] = 'prod';
$config['SUBFOLDER'] = '/app/';

The benchmark in production mode:

the new benchmark

Previous benchmark:

the new benchmark

Of course, you can gain more performance by merging all configs into index.php but it SACRIFICE maintainability. So please be wise when you try to optimize your code ;)


Published under: News & Updates Share/Save/Bookmark

3 Comments:

corrie said: Very beautiful...

Thu, 23 Jul 2009 10:03am

I think doophp will give everyone more surprises!


firzen said: simple is fast

Tue, 28 Jul 2009 10:58am

faster is important.

stronger and faster is more important!

hope u not losing in optimize


Leng said: Yup you're right

Tue, 28 Jul 2009 11:26am

Features can be added in easily, but if the core is complicated and bloated it will be hard to be improved in future versions, right? Besides you have a long list of components from Zend Framework which uses the same new BSD license. There's a reason why Doo choses the same license ;) We will have more in the future


Leave a Reply

About

Categories

Archives



Syndication