tests/benchmarks/run.js
/*
 * installs getrusage package
 * @return {Boolean}: true if installed, false otherwise
 */
installs getrusage package
@return {Boolean}: true if installed, false otherwise
installs getrusage package @return { Boolean } : true if installed false otherwise
function install_getrusage() {
    var install = spawn('npm', ['install', 'getrusage']);
    if(install.stderr.length) {
        return false;
    }
    else {
        return check_getrusage();
    }
}
function install_getrusage ( ) { var install = spawn ( 'npm' , [ 'install' , 'getrusage' ] ) ; if ( install . stderr . length ) { return false ; } else { return check_getrusage ( ) ; } }
installs getrusage package
 @return {Boolean}: true if installed, false otherwise
installs getrusage package @return { Boolean } : true if installed false otherwise