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
var range = document.createRange();
document.addEventListener('load', () => range.selectNode(document.body));
s = '<span>0</span><span>1</span><span>2</span><span>3</span><span>4</span><span>5</span><span>6</span><span>7</span><span>8</span><span>9</span>';
Ready to run.
Test | Ops/sec | |
---|---|---|
contextualFragment (childNodes) |
| ready |
contextualFragment |
| ready |
insertAdjacentHTML() |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.