Skip to content

lupomontero/node-cppspeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Build Status

Download and build

# Install node-gyp globally if not installed yet
npm install -g node-gyp

# Clone, build and test
git clone git://github.com/lupomontero/node-cppspeed.git
cd node-cppspeed
node-gyp configure build

Run

npm test

You should see output like below:

foo 1 run in 100ms
foo 2 run in 59ms
cppfoo run in 5ms
c++ was 20.0 times faster (fooTime1)
c++ was 11.8 times faster (fooTime2)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published