/node-rusage

getrusage bindings to node.js

Primary LanguageC++MIT LicenseMIT

##About Simple binding for getrusage which lets you measure performance of your application

##How to build: node-waf configure build

##Example: var rusage = require('../bin/rusage.js'), xx = []; console.log('usage data:', rusage.usage()); rusage.start("www"); for(var i = 0; i < 1000000; i++){ xx.push(Math.sin(Math.sin(i) * Math.cos(i) * Math.tan(i))); } console.log('took cycles:', rusage.stop("www"));