Yes, this is another post on benchmarking. It's in response to this post. Read it.
Essentially, we are testing whether "'doing multiple things at once' is faster than 'doing one thing at a time'". We are not testing whether one language is faster than another or the speed of the network. These tests are run locally using Apache benchmark. Feel free to add your own tests and issue a PULL request. Thanks.
Put simply, tests are broken into two categories - (1) ascynchronous (node) vs syncronous (all others) and (2) ascynchronous (node) vs ascynchronous (all others).
To recreate this on your end -
- Clone the repo:
git clone https://github.com/mattnull/benchmark.git your_project_name - Navigate to the directory:
cd your_project_name - Install dependencies:
npm install - Run
cake dev - Install Apache Benchmark if you don't already have it
-------- divider ----
The following command will watch and compile Coffeescript, Stylus, and Handlebars files. It also watches server.js for changes.
- run
cake dev
- run
cake build
- Go - http://golang.org/
- Node.js - http://nodejs.org