um exemplo de uso:
killown@Thiago-Desktop:~$ ab -n 50 -c 5 http://google.com/index.html
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking google.com (be patient).....done
Server Software: gws
Server Hostname: google.com
Server Port: 80
Document Path: /index.html
Document Length: 229 bytes
Concurrency Level: 5
Time taken for tests: 6.225 seconds
Complete requests: 50
Failed requests: 0
Write errors: 0
Non-2xx responses: 50
Total transferred: 26550 bytes
HTML transferred: 11450 bytes
Requests per second: 8.03 [#/sec] (mean)
Time per request: 622.464 [ms] (mean)
Time per request: 124.493 [ms] (mean, across all concurrent requests)
Transfer rate: 4.17 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 182 298 114.9 220 459
Processing: 204 307 109.1 251 474
Waiting: 203 306 109.4 251 474
Total: 396 605 101.0 665 725
Percentage of the requests served within a certain time (ms)
50% 665
66% 671
75% 671
80% 673
90% 677
95% 687
98% 725
99% 725
100% 725 (longest request)
- -n número de requisições para realizar uma sessão de benchmark
- -c número de requisições por vez a ser enviado
Nenhum comentário:
Postar um comentário