# Node.js modules speed test: C++ vs JavaScript
Pull request Compare This branch is 4 commits behind lupomontero:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
cppspeed.cpp
wscript

README.md

Node.js modules speed test: C++ vs JavaScript

Download, build and test instructions:

$ git clone git://github.com/lupomontero/node-cppspeed.git
...

$ cd node-cppspeed
$ node-waf configure build
...

$ node test/cppspeed.js

foo 1 run in 171ms
foo 2 run in 109ms
cppfoo run in 19ms
c++ was 9.0 times faster (fooTime1)
c++ was 5.7 times faster (fooTime2)