wrk测试nginx nodejs golang

编程技术  /  houtizong 发布于 3年前   54

http://www.cnblogs.com/chuqq/p/4003197.html

 

直接把内容贴过来:

sudo taskset -c 1 ./wrk -c1 -t1 -d30 http://localhost/hellowrk+nginx(helloworld module)    sudo taskset -c 0 sbin/nginx    nginx: cpu:76%    wrk: cpu:70%    Running 30s test @ http://localhost/hello      1 threads and 1 connections      Thread Stats   Avg      Stdev     Max   +/- Stdev        Latency    61.55us   27.57us   4.30ms   99.28%        Req/Sec    11.58k   682.50    14.44k    76.94%      325276 requests in 30.00s, 48.69MB read    Requests/sec:  10842.55    Transfer/sec:      1.62MBwrk+golang (77%)    nginx: cpu:70%    wrk: cpu:47%    Running 30s test @ http://localhost/hello      1 threads and 1 connections      Thread Stats   Avg      Stdev     Max   +/- Stdev        Latency    95.75us  122.18us  17.59ms   99.33%        Req/Sec     8.77k   665.39     9.78k    68.18%      247829 requests in 30.00s, 35.92MB read    Requests/sec:   8261.07    Transfer/sec:      1.20MBwrk+nodejs (79%)    sudo taskset -c 0 nodejs nodejs_httpserver.js    nodejs: cpu:99%    wrk: cpu:42%    Running 30s test @ http://localhost/hello      1 threads and 1 connections      Thread Stats   Avg      Stdev     Max   +/- Stdev        Latency    95.52us   56.77us   6.41ms   99.50%        Req/Sec     9.03k   632.66     9.78k    93.76%      255071 requests in 30.00s, 31.38MB read    Requests/sec:   8502.58    Transfer/sec:      1.05MB

 

上一篇:golang小结

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!

留言需要登陆哦

技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成

网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];

      订阅博客周刊 去订阅

文章归档

文章标签

友情链接

Auther ·HouTiZong
侯体宗的博客
© 2020 zongscan.com
版权所有ICP证 : 粤ICP备20027696号
PHP交流群 也可以扫右边的二维码
侯体宗的博客