Re: how to test paralelly?

From: Date: Thu, 12 May 2005 02:53:21 +0000
Subject: Re: how to test paralelly?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-215009@lists.php.net to get a copy of this message
On Wed, May 11, 2005 12:26 am, Mario Lopez said: \> I would like to measure how much users per minute > can handle my php script, mysql db and apache server > > also, would like to determine how much users can be > served at the same time and how script execution time > changes in this case > > if i run a script like: > > $id = rand(1,70); > $file = http://mydomain/gallery.php?galpage=$id; > if (!($fp = @fopen ($file, "r"))){ > return ""; > } > > > $intext=""; > while(!feof($fp)){ > $intext .= fgetc($fp); > } > > @fclose($fp); > > it does not execute the script paralelly and gives apache > > any ideas how can i simulate paralel script execution? apache benchmark aka 'ab' which comes with Apache. man ab may very well tell you everything you need to know. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#215009) next »