469,917 Members | 1,859 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

a question about zend framework's speed

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
0 1452

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
1 post views Thread by pjSoni | last post: by
reply views Thread by hzqij | last post: by
1 post views Thread by enkara | last post: by
reply views Thread by Sean Quinn | last post: by
reply views Thread by Mike Miller | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.