wrk測試nginx nodejs golang

來源:互聯網
上載者:User
這是一個建立於 的文章,其中的資訊可能已經有所發展或是發生改變。

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

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.