472,093 Members | 2,475 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,093 software developers and data experts.

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 1526

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.