se;
        }
        p.appendChild(document.createTextNode(found));
        document.getElementById('test-res').appendChild(p);
        if (idx >= expected.length) {
            if (passed) {
                performance.mark('bench_end')
                performance.measure('bench', 'bench_start', 'bench_end');
                var duration = Math.round(performance.getEntriesByName('bench')[0].duration);
                hn.appendChild(document.createTextNode(' - PASSED (time: ' + duration + ' ms)'));
       