Your very own internet speed test in NodeJS

A couple weeks ago I was needing a non-flash internet speed test and came across SpeedOf.Me which is pretty cool in that it’s only HTML and Javascript. Then this last week I needed to test some VPN speeds, but couldn’t find anything simple and easy to quickly run on a server. So I came up with my own NodeJS speed tester.

So far it seems fairly accurate despite the poor coding.

Grab the code on github or to try it out yourself.

4 Replies to “Your very own internet speed test in NodeJS”

    1. No problem. Newer fancier version have been in dev-limbo for a while. Lack of interest on my part I guess. I hope it’s helpful to your business though!

  1. Running on a Raspberry PI with the latest Jessie Patches :
    node ./bin/speed.js
    throw er; // Unhandled ‘error’ event

    Error: write after end
    at ServerResponse.OutgoingMessage.write (_http_outgoing.js:426:15)
    at ReadStream.ondata (_stream_readable.js:536:20)
    at emitOne (events.js:90:13)
    at ReadStream.emit (events.js:182:7)
    at (_stream_readable.js:368:10)
    at flow (_stream_readable.js:751:26)
    at ServerResponse. (_stream_readable.js:609:7)
    at emitNone (events.js:80:13)
    at ServerResponse.emit (events.js:179:7)
    at Socket.ondrain (_http_common.js:215:44)

    1. Evening hollari,

      I’ve used speedtest this past summer at work and I want to say it’s worked with v6.* releases. I’ll try to remember to check tomorrow when I’m able.

      For grins and giggles, what does “node -v” say?


Leave a Reply

Your email address will not be published. Required fields are marked *