 Date() },
    measure: function(_t, s1, s2) { this.t = this[s2] - this[s1] },
    getEntriesByName: function() { return [ { duration: this.t } ] }
  };
}

var Module = { preRun: function() { performance.mark('bench_start') } };

function runTest(tname) {
    var xhr, expected, hn, idx = 0, passed = true;

    function outputReceived(e) {
        var found = e.data;
        var p = document.createElement('p');
        if (found !== expected[idx++]) {
            p.className = 'err';
            passed = fal