jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
<div id='x'>
</div>
gtwyName = 'b', gtwyIP = 'http://0.0.0.0', gtwyPort = '8000'
x = document.getElementById('x');
x.innerHTML = "<table id='a'><tr><td>0</td><td>1</td></tr><tr><td>2</td><td>3</td></tr><tr><td>4</td><td>5</td></tr><tr><td>6</td><td>7</td></tr><tr><td>8</td><td>9</td></tr><tr><td>A</td><td>B</td></tr><tr><td>C</td><td>D</td></tr><tr><td>E</td><td>F</td></tr></table>";
t = document.getElementById('a');
r = t.rows;
ss = t.firstChild;
rr = ss.firstChild;
sss = t.firstElementChild;
rrr = sss.firstElementChild;
Ready to run.
Test | Ops/sec | |
---|---|---|
deleteRow |
| ready |
removeFirstChild |
| ready |
removeFirstElementChild |
| ready |
deleteRow (not hdr) |
| ready |
removeNextSibling |
| ready |
removeNextElementSibling |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.