cvs: php4 /sapi/isapi/stresstest notes.txt stresstest.cpp

From: Date: Mon, 08 Jan 2001 00:10:06 +0000
Subject: cvs: php4 /sapi/isapi/stresstest notes.txt stresstest.cpp
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3428@lists.php.net to get a copy of this message
shane Sun Jan 7 16:10:06 2001 EDT Added files: /php4/sapi/isapi/stresstest notes.txt Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: add notes on this program Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.1 php4/sapi/isapi/stresstest/stresstest.cpp:1.2 --- php4/sapi/isapi/stresstest/stresstest.cpp:1.1 Sun Jan 7 15:52:18 2001 +++ php4/sapi/isapi/stresstest/stresstest.cpp Sun Jan 7 16:10:06 2001 @@ -57,7 +57,7 @@ char * GetEnv(char *); -#define NUM_THREADS 1 +#define NUM_THREADS 10 #define ITERATIONS 1 HANDLE terminate[NUM_THREADS]; HANDLE StartNow; Index: php4/sapi/isapi/stresstest/notes.txt +++ php4/sapi/isapi/stresstest/notes.txt This stress test program is for debugging threading issues with the isapi module. Create a file that contains a list of php script files, one per line. If you need to provide input, you can create an input file for each script file. File contents would look like: e:\inetpub\pages\index.php e:\inetpub\pages\info.php e:\inetpub\pages\posttest.php e:\inetpub\pages\postdata.txt If you need to set special environement variables, in addition to your regular environment, create a file that contains them, one setting per line: MY_ENV_VAR=XXXXXXXX This can be used to simulate isapi environment variables if need be. By default, stress test uses 10 threads. To change this, change the define NUM_THREADS in stresstest.cpp. This test program is a work in progress, no garauntees on it working right.

« previous php.cvs (#3428) next »