开发者

Benchmark tests for node.js

开发者 https://www.devze.com 2023-02-25 11:18 出处:网络
I would like to do some comparison between different boards and architectures (arm/ia32) in terms of usage node.js.

I would like to do some comparison between different boards and architectures (arm/ia32) in terms of usage node.js. Can anyone point to me to a set of relevant benchmark tests that make usage of node.js, if there are any?

I am not looking for general JavaScript benchmarks tests, but something that is node.js related and specific.

Tha开发者_开发百科nk you.


I'm not too sure if this is what you're looking for, but you could always use ab (a part of the apache-utils package) to benchmark the file served by node and make concurrent requests.

$ ab http://example.com/client.html/ -n 10000 -c 1000

This would test with a 1000 concurrent connections and a total of 10000 connections.

Here are a couple of blog posts you may find interesting if you decide to go ahead with ab

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号