Over a million developers have joined DZone.

Node.js 6.0.0 – Tested!

DZone's Guide to

Node.js 6.0.0 – Tested!

Gary Tuohy of Raygun provides the outcomes of a performance test on NodeJS... he stresses that this test only stress tests a very small portion of what can be tested.

· Web Dev Zone
Free Resource

Get the senior executive’s handbook of important trends, tips, and strategies to compete and win in the digital economy.

Node.js 6.0.0

As you may know, we’re pretty big fans of NodeJS here at Raygun – we run it in production and love talking about it!


NodeJS Testing

With the recent release of NodeJS 6.0, we decided to take a nosey and see how it performs compared to older versions of Node. As before, we’ve followed the same pattern–Ubuntu VM running AB pushing a large number of requests (100 concurrent connections) into the Raygun API to see how many requests per second it copes with–usual disclaimers apply–these numbers relate only to this one blog post, they don’t aim to be a complete overview of how well NodeJS performs.

This test only stress tests a very small portion of what can be tested.

Let’s Look at Some Numbers!

NodeJS Testing Raygun

"Huh-what," you’re probably thinking, "Is this the opposite of what is meant to happen?"

You’re quite right–but, and this is perhaps the most important part, this code was built again 0.10.* and has been optimized for it.

What Happens Then if We Compare a Basic Express App That I Just Created?

NodeJS Testing Raygun

Much better!

The slight slowdown that has been witnessed in Node over the last few versions is gone–we’re back to where we were, in terms of Express speed anyway.

NodeJS 6.0.0’s huge focus was on speed and it shows–it’s jumped up way past 5.0 in my basic testing–always nice to see any improvements that can mean real-world savings in hardware costs!

Read this guide to learn everything you need to know about RPA, and how it can help you manage and automate your processes.

node.js ,node js ,node.js developers

Published at DZone with permission of Gary Tuohy, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}