📄 notes.txt
字号:
This stress test program is for debugging threading issues with the ISAPImodule.2 ways to use it:1: test any php script file on multiple threads2: run the php test scripts bundled with the source codeGLOBAL SETTINGS===============If you need to set special environement variables, in addition to yourregular environment, create a file that contains them, one setting per line:MY_ENV_VAR=XXXXXXXXThis can be used to simulate ISAPI environment variables if need be.By default, stress test uses 10 threads. To change this, change the defineNUM_THREADS in stresstest.cpp.1: Test any php script file on multiple threads===============================================Create a file that contains a list of php script files, one per line. Ifyou need to provide input, place the GET data, or Query String, after thefilename. File contents would look like:e:\inetpub\pages\index.phpe:\inetpub\pages\info.phpe:\inetpub\pages\test.php a=1&b=2Run: stresstest L files.txt2: Run the php test scripts bundled with the source code========================================================supply the path to the parent of the "tests" directory (expect a couplelong pauses for a couple of the larger tests)Run: stresstest T c:\php5-sourceTODO:* Make more options configurable: number of threads, iterations, etc.* Improve stdout output to make it more useful* Implement support for SKIPIF* Improve speed of CompareFile function (too slow on big files).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -