使用Apache ab进行http性能测试

  This is ApacheBench, Version 2.3 <$Revision: 1663405 $>

  Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/

  Licensed to The Apache Software Foundation, http://www.apache.org/

  Benchmarking localhost (be patient)

  Completed 100 requests

  Completed 200 requests

  Completed 300 requests

  Completed 400 requests

  Completed 500 requests

  Completed 600 requests

  Completed 700 requests

  Completed 800 requests

  Completed 900 requests

  Completed 1000 requests

  Finished 1000 requests

  Server Software:

  Server Hostname: localhost

  Server Port: 3000

  Document Path: /

  Document Length: 14 bytes

  Concurrency Level: 10

  Time taken for tests: 0.323 seconds

  Complete requests: 1000

  Failed requests: 0

  Total transferred: 115000 bytes

  HTML transferred: 14000 bytes

  Requests per second: 3097.37 [#/sec] (mean)

  Time per request: 3.229 [ms] (mean)

  Time per request: 0.323 [ms] (mean, across all concurrent requests)

  Transfer rate: 347.85 [Kbytes/sec] received

  Connection Times (ms)

  min mean[+/-sd] median max

  Connect: 0 0 0.1 0 1

  Processing: 1 3 2.2 2 16

  Waiting: 1 3 2.2 2 16

  Total: 1 3 2.2 2 16

  Percentage of the requests served within a certain time (ms)

  50% 2

  66% 3

  75% 3

  80% 4

  90% 5

  95% 7

  98% 13

  99% 15

  100% 16 (longest request)