简体   繁体   中英

Benchmark tests for 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.

Thank 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM