notes.txt
来自「php-4.4.7学习linux时下载的源代码」· 文本 代码 · 共 57 行
TXT
57 行
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:\php4-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 + =
减小字号Ctrl + -
显示快捷键?