utils/tune-hash.js
function dumpHistory(history, size, depth) {
    console.log("Hash table history, size="+size+", average depth="+depth);
    for (var n=0; n < history.length; n++) {
        console.log("  Depth=" + n + ", count=" + history[n] + ", percent=" + (history[n] / size));
    }
    console.log("");
}
function dumpHistory(history, size, depth) {
    console.log("Hash table history, size="+size+", average depth="+depth);
    for (var n=0; n < history.length; n++) {
        console.log("  Depth=" + n + ", count=" + history[n] + ", percent=" + (history[n] / size));
    }
    console.log("");
}
function dumpHistory ( history , size , depth ) { console . log ( "Hash table history, size=" + size + ", average depth=" + depth ) ; for ( var n = 0 ; n < history . length ; n ++ ) { console . log ( "  Depth=" + n + ", count=" + history [ n ] + ", percent=" + ( history [ n ] / size ) ) ; } console . log ( "" ) ; }
Write the hash table history to the console.

@param history Array.
@param size of the hash table.
@param depth fit estimate.
Write the hash table history to the console .