Skip to content

Commit 86dbd0a

Browse files
committed
Set assertions turned off.
1 parent ba6de5b commit 86dbd0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/bench/minimalistic/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Transfer/sec: 8.49MB
122122
Initially, the built-in PHP server (aka development server) was used for testing which could be run with
123123

124124
```bash
125-
$ php -d zend.assertions=1 -d assert.exception=1 -S 0.0.0.0:8080 -t ./public/
125+
$ php -d zend.assertions=-1 -d assert.exception=1 -S 0.0.0.0:8080 -t ./public/
126126
```
127127

128128
However it provided very unstable results. For example it could give 3 000 RPS for the first run and a half of that for next one. For this reason, it looked to be a good idea to run multiple tests and select only the best result. From such testing `limoncello` had the best result, `slim` the second and `lumen` the third. As this performance test shows, PHP development server should not be used in performance testing as it can lead to inaccurate results and a dedicated server with production software stack should be used instead.

0 commit comments

Comments
 (0)