View Full Version : Speed check
Is there a script to check for the retrieval speed of a page? I just want to know
the speed so I can optimize my code.
09-18-2005, 09:20 AM
You could do...
$startime = microtime();
at the start of your code
$endtime = microtime();
$totaltime = $endtime-$startime;
This will give you the time it took the script to run in microseconds.
Is that what you're looking for?
Looks promising. Does this includes the time taken to connect to a database, retrieve the result and back?
09-18-2005, 11:21 AM
yes, it does
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.