logiciel performance
ab est un logiciel de mesure de performance (un benchmark, quoi) de serveur HTTP en ligne de commande. Il est édité par la fondation Apache, sous licence Apache V2.0, et permet d'effectuer des tests de stress d'un serveur web afin de déterminer le nombre maximal de connexion concurrentes qu'il peut supporter.
ab -kqn1000 -c10 -t 10 http://serveur.fr Benchmarking serveur.fr (be patient).....done Server Software: Apache/2.2.9 Server Hostname: serveur.fr Server Port: 80 Document Path: /index.php Document Length: 18816 bytes Concurrency Level: 10 Time taken for tests: 10.013 seconds Complete requests: 31 Failed requests: 0 Write errors: 0 Keep-Alive requests: 0 Total transferred: 643396 bytes HTML transferred: 622356 bytes Requests per second: 3.10 [#/sec] (mean) Time per request: 3230.075 [ms] (mean) Time per request: 323.007 [ms] (mean, across all concurrent requests) Transfer rate: 62.75 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.4 0 1 Processing: 2241 2635 203.6 2572 3046 Waiting: 908 1230 176.9 1194 1541 Total: 2242 2636 203.7 2572 3047 Percentage of the requests served within a certain time (ms) 50% 2572 66% 2741 75% 2833 80% 2842 90% 2888 95% 2999 98% 3047 99% 3047 100% 3047 (longest request)