tests/benchmarks/run.js
/*
 * reports on the current line of stdout the progress of the running task
 * @param msg {String}: a descriptive message
 * @param done {Number}: the portion done of the task
 * @param size {Number}: task size
 */
reports on the current line of stdout the progress of the running task
@param msg {String}: a descriptive message
@param done {Number}: the portion done of the task
@param size {Number}: task size
reports on the current line of stdout the progress of the running task @param msg { String } : a descriptive message @param done { Number } : the portion done of the task @param size { Number } : task size
function report_progress(msg, done, size) {
    process.stdout.clearLine();
    process.stdout.cursorTo(0);
    process.stdout.write(msg + " " + done + "/" + size);
}
function report_progress ( msg , done , size ) { process . stdout . clearLine ( ) ; process . stdout . cursorTo ( 0 ) ; process . stdout . write ( msg + " " + done + "/" + size ) ; }
reports on the current line of stdout the progress of the running task
 @param msg {String}: a descriptive message
 @param done {Number}: the portion done of the task
 @param size {Number}: task size
reports on the current line of stdout the progress of the running task @param msg { String } : a descriptive message @param done { Number } : the portion done of the task @param size { Number } : task size