Update README.md
This commit is contained in:
parent
c844e9c76b
commit
98f1d6a84b
|
@ -19,7 +19,7 @@ Run `cmd` as administrator.
|
|||
## Run benchmarks
|
||||
PHPBench is used to run the benchmarks. Visit http://phpbench.readthedocs.io/en/latest/introduction.html to have an idea how the tool works.
|
||||
|
||||
### 1. Modify lib/connect.php with the test database credetials
|
||||
### 1. Modify lib/connect.php with the test database credentials
|
||||
### 2. Execute run-perf_tests.py.
|
||||
### Windows
|
||||
py.exe run-perf_tests.py -platform <PLATFORM> -iterations <ITERATIONS> -iterations-large <ITERATIONS_LARGE> -result-server <RESULT_SERVER> -result-db <RESULT_DB> -result-uid <RESULT_UID> -result-pwd <RESULT_PWD
|
||||
|
@ -28,7 +28,7 @@ On Linux and Mac, the script must be executed with `sudo python3` because to ena
|
|||
|
||||
python3 run-perf_tests.py -platform <PLATFORM> -iterations <ITERATIONS> -iterations-large <ITERATIONS_LARGE> -result-server <RESULT_SERVER> -result-db <RESULT_DB> -result-uid <RESULT_UID> -result-pwd <RESULT_PWD>
|
||||
|
||||
`-platform` - The platform that the tests are ran on. Must be one of the following: Windows10, WidnowsServer2016 WindowsServer2012 Ubuntu16 RedHat7 Sierra
|
||||
`-platform` - The platform that the tests are ran on. Must be one of the following: Windows10, WindowsServer2016 WindowsServer2012 Ubuntu16 RedHat7 Sierra
|
||||
`-iterations` - The number of iterations for regular tests.
|
||||
`-iterations-large` - The number of iterations for the tests that fetch large data. Usually set to 1.
|
||||
`-result-server` - The server of result database. It is assumed that, the result database already setup before running the tests.
|
||||
|
|
Loading…
Reference in a new issue