ajout infos de perfs
This commit is contained in:
parent
57e92acef0
commit
11ca87b27e
27
HowtoPHP.md
27
HowtoPHP.md
|
@ -574,6 +574,33 @@ Fatal error: Maximum function nesting level of '100' reached, aborting! in [...]
|
|||
~~~
|
||||
|
||||
|
||||
## Performance
|
||||
|
||||
### mod_php VS Apache/FPM VS Nginx/FPM
|
||||
|
||||
Fin 2016, voici nos résultats d'un test sur un serveur physique « standard » avec une [application Symfony de test](https://github.com/acseo/symfony-perf).
|
||||
Nous avons utilisé `ab -n 1000 -c 100` (1000 requêtes dont 100 en parallèle) avec nos configurations système par défaut :
|
||||
|
||||
~~~
|
||||
* Apache prefork FPM :
|
||||
|
||||
Symfony hello ~105ms
|
||||
Symfony form ~168ms
|
||||
|
||||
|
||||
* Apache prefork mod_php :
|
||||
|
||||
Symfony hello ~106ms
|
||||
Symfony form ~170ms
|
||||
|
||||
|
||||
* Nginx FPM :
|
||||
|
||||
Symfony hello ~102ms
|
||||
Symfony form ~164ms
|
||||
~~~
|
||||
|
||||
|
||||
## HHVM
|
||||
|
||||
<https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-on-Debian-8>
|
||||
|
|
Loading…
Reference in a new issue