V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
gihnius
V2EX  ›  问与答

ab 测试差别太大了...怎么破?

  •  
  •   gihnius · 2014-03-24 10:27:33 +08:00 · 3169 次点击
    这是一个创建于 3902 天前的主题,其中的信息可能已经有所发展或是发生改变。
    参数: ab -k -n 1000 -c 10 http://site...

    应用本地: (linode)
    Document Length: 56156 bytes

    Concurrency Level: 10
    Time taken for tests: 0.821 seconds
    Complete requests: 1000
    Failed requests: 0
    Write errors: 0
    Keep-Alive requests: 0
    Total transferred: 56696000 bytes
    HTML transferred: 56156000 bytes
    Requests per second: 1218.31 [#/sec] (mean)
    Time per request: 8.208 [ms] (mean)
    Time per request: 0.821 [ms] (mean, across all concurrent requests)
    Transfer rate: 67454.58 [Kbytes/sec] received

    Connection Times (ms)
    min mean[+/-sd] median max
    Connect: 0 0 0.1 0 3
    Processing: 3 8 2.3 8 18
    Waiting: 3 8 2.3 7 18
    Total: 3 8 2.3 8 18

    Percentage of the requests served within a certain time (ms)
    50% 8
    66% 9
    75% 9
    80% 10
    90% 11
    95% 12
    98% 14
    99% 15
    100% 18 (longest request)


    其它服务器:( ec2 )
    Document Length: 56156 bytes

    Concurrency Level: 10
    Time taken for tests: 31.256 seconds
    Complete requests: 1000
    Failed requests: 0
    Write errors: 0
    Keep-Alive requests: 0
    Total transferred: 56696000 bytes
    HTML transferred: 56156000 bytes
    Requests per second: 31.99 [#/sec] (mean)
    Time per request: 312.558 [ms] (mean)
    Time per request: 31.256 [ms] (mean, across all concurrent requests)
    Transfer rate: 1771.42 [Kbytes/sec] received

    Connection Times (ms)
    min mean[+/-sd] median max
    Connect: 75 76 1.5 76 93
    Processing: 229 235 3.5 235 257
    Waiting: 78 81 2.3 80 99
    Total: 305 312 3.9 311 337

    Percentage of the requests served within a certain time (ms)
    50% 311
    66% 312
    75% 313
    80% 314
    90% 316
    95% 320
    98% 323
    99% 325
    100% 337 (longest request)
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1033 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 21:16 · PVG 05:16 · LAX 13:16 · JFK 16:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.