By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,105 Members | 2,560 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,105 IT Pros & Developers. It's quick & easy.

a question about zend framework's speed

P: n/a
I am a newer of Zend Framework, i write a program to test the speed of
Zend Framework, code like this:

/var/www/htdocs/index.php
<?php
require_once 'Zend.php';
require_once 'Zend/Controller/Front.php';

Zend_Controller_Front::run('/var/www/app/controllers');
?>

/var/www/app/controllers/IndexController.php
<?php
require_once 'Zend/Controller/Action.php';

class IndexController extends Zend_Controller_Action
{
public function indexAction()
{
echo 'hello, world!';
}
}
?>

my .htaccess file is:
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
php_value include_path "/var/www/lib/ZendFramework/library"

i use "ab -c 5 -n 1000 http://localhost/", it show me 32.27
requests/sec, but if i write a php program direct echo 'hello, world',
it can handle 2004.32 requests/sec.

how can i Optimizate my program of zend framework version?

thanks

Mar 12 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.