RE: [PHP] execution time

From: Date: Fri, 04 Aug 2000 15:25:02 +0000
Subject: RE: [PHP] execution time
Groups: php.general 
Request: Send a blank email to php-general+get-10149@lists.php.net to get a copy of this message
> I'd like to know the execution times of my PHP scripts; for > example I'd like to launch 100 connections to a certain file > (by HTTP) at the same time or one after the other and getting > the 100 execution times needed to load completely the remote > file. Any idea? Thanks! $startTime = date( "U" ); // script code here $endTime = date( "U" ); echo "<br>Total Lapsed Time: " . (( $endTime - $startTime ) / 60 ) . " minutes<br>"; Divide the above value by 60 if you want seconds. Chris

« previous php.general (#10149) next »