Page Generation Speed

Status
Not open for further replies.

magca

Active Member
236
2010
5
0
How fast are your pages generated?
To find out (PHP) you can use this example code from php.net:
PHP:
<?php
$time_start = microtime(true);

// Sleep for a while
usleep(100);

$time_end = microtime(true);
$time = $time_end - $time_start;

echo "Did nothing in $time seconds\n";
?>

My results vary depending on the page from 0.05s to 0.12s (cached) and up to 1.5s for rare pages. Need to find the bottleneck there...

What are your stats?
 
1 comment
Status
Not open for further replies.
Back
Top