zoukankan      html  css  js  c++  java
  • apache ab性能测试实践

    E:developtoolsapache abhttpd-2.4.25-x86-vc14-r1Apache24in>ab -n 15000 -c 6
    00 "http://192.168.0.166:8080/eduhomeweb/login/login.do?username=xiaohanlin&pass
    word=xiao123456"
    This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/

    Benchmarking 192.168.0.166 (be patient)
    Completed 1500 requests
    Completed 3000 requests
    Completed 4500 requests
    Completed 6000 requests
    Completed 7500 requests
    Completed 9000 requests
    Completed 10500 requests
    Completed 12000 requests
    Completed 13500 requests
    Completed 15000 requests
    Finished 15000 requests


    Server Software:
    Server Hostname:        192.168.0.166
    Server Port:            8080

    Document Path:          /eduhomeweb/login/login.do?username=xiaohanlin&password=
    xiao123456
    Document Length:        355 bytes

    Concurrency Level:      600
    Time taken for tests:   185.923 seconds
    Complete requests:      15000
    Failed requests:        0
    Total transferred:      8970000 bytes
    HTML transferred:       5325000 bytes
    Requests per second:    80.68 [#/sec] (mean)
    Time per request:       7436.924 [ms] (mean)
    Time per request:       12.395 [ms] (mean, across all concurrent requests)
    Transfer rate:          47.11 [Kbytes/sec] received

    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:        0   12 183.0      1    3035
    Processing:    56 7409 2780.5   6731   12640
    Waiting:       29 4743 2557.0   3595    9713
    Total:         56 7421 2783.4   6733   12642

    Percentage of the requests served within a certain time (ms)
      50%   6733
      66%   9592
      75%   9613
      80%   9630
      90%   9686
      95%   9730
      98%  12576
      99%  12592
     100%  12642 (longest request)

  • 相关阅读:
    Flume配置
    HDU5312 Sequence
    CF(D. Fibonacci Sums)dp计数
    【算法拾遗】二分查找递归非递归实现
    ubuntu下怎么给普通用户赋予sudo权限
    在Oracle 11.2.0.1.0下dbms_stats.gather_table_stats收集直方图不准
    ZOJ3622 Magic Number(水题)
    小试ImageMagik——开发篇
    一起talk C栗子吧(第二十七回:C语言实例--插入排序)
    依据输入的内容打印出菱形
  • 原文地址:https://www.cnblogs.com/xiaohanlin/p/6919371.html
Copyright © 2011-2022 走看看