Over a million developers have joined DZone.

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

Download this free eBook to learn how to build robust JavaScript applications and ensure effective error monitoring is in place, brought to you in partnership with Raygun

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!

Download this free eBook to learn how to implement an effective ChatOps workflow to make issue management and resolution easy within software development teams, brought to you in partnership with Raygun.

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.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}