tests/benchmarks/run.js
/*
 * checks if getrusage package is installed
 * @return {Boolean}
 */
checks if getrusage package is installed
@return {Boolean}
checks if getrusage package is installed @return { Boolean }
function check_getrusage() {
    try {
        require('getrusage');
        return true;
    }
    catch(err) {
        return false;
    }
}
function check_getrusage ( ) { try { require ( 'getrusage' ) ; return true ; } catch ( err ) { return false ; } }
checks if getrusage package is installed
 @return {Boolean}
checks if getrusage package is installed @return { Boolean }