Skip to content

kuebk/node-rusage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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"));

About

getrusage bindings to node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published