Performance benchmark - show me yours

Hello

I'm wondering how fast is your index.php script exeuction time Cool

I have spend a few hours to get a better performance (still not finished).

Show me yours! Put on top of index.php:

$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$top = $time;

and on bottom:

$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$bottom = $time;

$loadtime = ($bottom-$top);
echo "This page generated in $loadtime seconds";

After execute a few times the index.php page without to be logged in and post your best execution time with a few information about your setup.

This page generated in 0.018769025802612 seconds

App: Dolphin 7.0.4 modded, use File Cache (APC at the moment don't work) , loaded 7 Extension, Page blocks on Homepage: Featured members, Site stats, spy, login, Quick Search
Server: 2x E5620, 24 GB Ram, 4xSSD Raid0 for www and db, RHEL6, Zend Server CE

What this time mean? It's the time your server need to execute the code of index.php and to send it to your browser (because echo is used).

To get a better idea of the performance of your application you can use ab to find out how much req/sec your server can handle.

Execute:

ab -n 1000 -c 100 http://your_domain/index.php

Requests per second:    312.16 [#/sec] (mean)
Time per request:       320.347 [ms] (mean)
Time per request:       3.203 [ms] (mean, across all concurrent requests)

My next goal is to put the  execution time of index.php down below 10 ms (0.010 sec) - my mods change the time of all pages.

Quote · 9 Dec 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.