Annotation of embedaddon/php/sapi/isapi/stresstest/notes.txt, revision 1.1.1.1

1.1       misho       1: This stress test program is for debugging threading issues with the ISAPI
                      2: module.
                      3: 
                      4: 2 ways to use it:
                      5: 
                      6: 1: test any php script file on multiple threads
                      7: 2: run the php test scripts bundled with the source code
                      8: 
                      9: 
                     10: 
                     11: GLOBAL SETTINGS
                     12: ===============
                     13: 
                     14: If you need to set special environement variables, in addition to your
                     15: regular environment, create a file that contains them, one setting per line:
                     16: 
                     17: MY_ENV_VAR=XXXXXXXX
                     18: 
                     19: This can be used to simulate ISAPI environment variables if need be.
                     20: 
                     21: By default, stress test uses 10 threads.  To change this, change the define
                     22: NUM_THREADS in stresstest.cpp.
                     23: 
                     24: 
                     25: 
                     26: 1: Test any php script file on multiple threads
                     27: ===============================================
                     28: 
                     29: Create a file that contains a list of php script files, one per line.  If
                     30: you need to provide input, place the GET data, or Query String, after the
                     31: filename.  File contents would look like:
                     32: 
                     33: e:\inetpub\pages\index.php
                     34: e:\inetpub\pages\info.php
                     35: e:\inetpub\pages\test.php a=1&b=2
                     36: 
                     37: Run: stresstest L files.txt
                     38: 
                     39: 
                     40: 
                     41: 2: Run the php test scripts bundled with the source code
                     42: ========================================================
                     43: 
                     44: supply the path to the parent of the "tests" directory (expect a couple
                     45: long pauses for a couple of the larger tests)
                     46: 
                     47: Run: stresstest T c:\php5-source
                     48: 
                     49: 
                     50: 
                     51: TODO:
                     52: 
                     53: * Make more options configurable: number of threads, iterations, etc.
                     54: * Improve stdout output to make it more useful
                     55: * Implement support for SKIPIF
                     56: * Improve speed of CompareFile function (too slow on big files).

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>